Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test a image #29

Open
luckysyj opened this issue Feb 22, 2024 · 4 comments
Open

test a image #29

luckysyj opened this issue Feb 22, 2024 · 4 comments

Comments

@luckysyj
Copy link

Hi, How should I open the URL address
The output is
(DA-clip) root@autodl-container-4d6411b93c-2cb1d3b0:~/autodl-tmp/daclip-uir-main/daclip-uir-main/universal-image-restoration/config/daclip-sde# python app.py
export CUDA_VISIBLE_DEVICES=0
OrderedDict([('name', 'Test'), ('mode', 'LQGT'), ('dataroot_GT', 'datasets/universal/deg_type/GT'), ('dataroot_LQ', 'datasets/universal/deg_type/LQ')])
Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch().

@Algolzw
Copy link
Owner

Algolzw commented Feb 23, 2024

Hi, if you want to run it on a remote server you probably can login with:
ssh -L 7860:127.0.0.1:786 username@serveraddress.
Then you can open your local computer's webpage to access the URL (http://127.0.0.1:7860/)

@luckysyj
Copy link
Author

Thank you for your reply
I have another question for you to answer. Can grayscale image with noise be restored?

@Algolzw
Copy link
Owner

Algolzw commented Feb 28, 2024

Hi, I'm not sure if the current model can restore grayscale images since we haven't used them in training. But thanks for your comment, next month we will release another weight that focuses on real-world image degradations (including restoring grayscale images).

@luckysyj
Copy link
Author

luckysyj commented Mar 2, 2024

OK! Thank you for your prompt response and kind explanation. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants