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

a problem #9

Open
john-yyb opened this issue Mar 30, 2023 · 4 comments
Open

a problem #9

john-yyb opened this issue Mar 30, 2023 · 4 comments

Comments

@john-yyb
Copy link

Hello author, I am very interested in your work. I tried to reproduce it but ran into a problem, can you tell me how you solved it.
/home/student/student9/miniconda3/lib/python3.10/site-packages/torch/optim/lr_scheduler.py:131: UserWarning: Detected call of lr_scheduler.step() before optimizer.step(). In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step() before lr_scheduler.step(). Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
warnings.warn("Detected call of lr_scheduler.step() before optimizer.step(). "
/home/student/student9/miniconda3/lib/python3.10/site-packages/torch/optim/lr_scheduler.py:418: UserWarning: To get the last learning rate computed by the scheduler, please use get_last_lr().

@kalpeshjp89
Copy link
Owner

kalpeshjp89 commented Mar 30, 2023 via email

@john-yyb
Copy link
Author

Thank you very much for your prompt response. For your work, can I try swapping the dataset. I tried using a dataset of black and white images. For this data set, I intend to downsample one part as LR and the other part as HR. Then the two form an LR-HR unpaired dataset for training. Am I doing the right thing? Because I am new to super-resolution of unsupervised learning, there may be incorrectly understood. I hope I can get your answer, then I will be very grateful.

@kalpeshjp89
Copy link
Owner

kalpeshjp89 commented Mar 31, 2023 via email

@john-yyb
Copy link
Author

Thank you very much for your reply, I understand now.

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