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

Problem with loading data #5

Open
zyaqin opened this issue Jul 24, 2021 · 4 comments
Open

Problem with loading data #5

zyaqin opened this issue Jul 24, 2021 · 4 comments

Comments

@zyaqin
Copy link

zyaqin commented Jul 24, 2021

Thank you for sharing codes to us. While reproducing the code, I came across some minor issues that I would like to ask you for advice on, as follows:
KE0_L@XDKXGJW@(6P4X1AP1
I carefully checked the code and found that the output of the data loader had only three parts, namely hr, lr and filename, and I was puzzled as to why there were four parts (lr,hr,_,idx_scale) of output in the code.
Looking forward to your reply, thanks!

@zyaqin
Copy link
Author

zyaqin commented Jul 24, 2021

Please u provide the versions of cuda, cuddn, torch, and torchvision. Thanks

@haoyuc
Copy link
Owner

haoyuc commented Jul 26, 2021

Please u provide the versions of cuda, cuddn, torch, and torchvision. Thanks

torch==0.4.1
torchvision==0.2.1

As for cuda and cuddn, since the ECS I used has been deleted, I'm not sure what version it is.

why there were four parts (lr,hr,_,idx_scale) of output in the code

The training part of the code is from RCAN. Actually, idx_scale is not necessary, you can use only three outputs.

@haoyuc
Copy link
Owner

haoyuc commented Jul 26, 2021

In fact, you can simply use the training code from EDSR, it supports PyTorch > 1.0, you only need to add our model code A2N/code/model/aan.py to EDSR EDSR-PyTorch/src/model/ folder

@zyaqin
Copy link
Author

zyaqin commented Jul 26, 2021

Thank you for your reply.

In fact, you can simply use the training code from EDSR, it supports PyTorch > 1.0, you only need to add our model code A2N/code/model/aan.py to EDSR EDSR-PyTorch/src/model/ folder

Thank you for your reply. I will try to reproduce the code as suggested, thanks.

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