-
Notifications
You must be signed in to change notification settings - Fork 53
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
how to generate LR in detail #8
Comments
Hi, which model are you using? |
tks for your reply. so i think there must something wrong of my test_img. my email is: [email protected] |
I have tried to use the HR data you given to generate the LR imgs, but there is a difference between yours and mine LR img, which leads to a bad results. |
I think the difference comes from different frameworks we use. You can use torch to generate the LR image and see if the results are good or not. |
hi @tyshiwo i have tried to generate the LR image with the celeba_HR data you given.
there is still a difference between your LR img. mine resutls: there is almost 6db bader. @tyshiwo would you take some time to help? thks! |
@nmber5 hello , can i ask you some question about the environment? i meet some error when i run the code. what is the version of your lua , torch ,cuda and cudnn? |
my env: when i try my own lr img, the results is bad。 |
thanks, i will try it later. |
@nmber5 Hi, I am facing the same issue here (the LR face generated by my code is different from the LR faces provided in the author's repo. Did you find the solution? Would really appreciate it if you could share it! Thanks |
@nmber5 hello,i meet some error when i run the FSRNet code.Which packages have you installed for lua. This picture describe the error, do you know how to fix it? thanks a lot. |
Hi @tyshiwo , I'm facing the same issue here. My own bicubic (PIL) image gets way worse results than yours. Could you please provide the code that generates LR images? |
Hi guys, look here! You can create LR by using PIL(Image) like this: from PIL import Image
img = Image.open(HR_IMAGE)
img_cubic = img.resize((16, 16), Image.BICUBIC)
img_cubic = img_cubic.resize((128, 128), Image.BICUBIC)
img_cubic.save(IMAGE_NAME, 'png') Here are two points:
|
@kabutohui I have one question. |
hi @tyshiwo thanks for your work.
when i run the model using my own img, i found the performance was not good.
the img i use is a result of resize the face img to (128, 128).
can you help me how to generate lr img in more detail?
thanks a lot
The text was updated successfully, but these errors were encountered: