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

Where can I find your training code? #10

Open
johnnylu305 opened this issue Oct 21, 2020 · 11 comments
Open

Where can I find your training code? #10

johnnylu305 opened this issue Oct 21, 2020 · 11 comments

Comments

@johnnylu305
Copy link

Hi, nice to meet you. I am reading your paper and in your paper you mentioned that you will release the code here. However, I cannot find the training code. Where can I find your training code?

@yuqian2019
Copy link

Do u got the train code?

@johnnylu305
Copy link
Author

@yuqian2019 No, I do not. I tried to write it by myself. But, the performance is not good. Perhaps, something wrong in my code. I hope the authors can share it, but I got no response from them.

@johnnylu305
Copy link
Author

@yuqian2019 You can find my personal training code in my repo. But, the performance is not good. Again, probably something wrong in my code.

@yuqian2019
Copy link

@yuqian2019 You can find my personal training code in my repo. But, the performance is not good. Again, probably something wrong in my code.

ok, thank u very much. I will view ur code, and if i find any error, I will mention u.

@vardenppp
Copy link

@yuqian2019 No, I do not. I tried to write it by myself. But, the performance is not good. Perhaps, something wrong in my code. I hope the authors can share it, but I got no response from them.

hello,i tried to use your training code, but i met some mistakes.
"img, kernels, offsets_h, offsets_v, = ctx.saved_tensors
ValueError: not enough values to unpack (expected 4, got 0)"
So how to solve it.
thank you!

@vardenppp
Copy link

@yuqian2019 No, I do not. I tried to write it by myself. But, the performance is not good. Perhaps, something wrong in my code. I hope the authors can share it, but I got no response from them.

hello,i tried to use your training code, but i met some mistakes.
"img, kernels, offsets_h, offsets_v, = ctx.saved_tensors
ValueError: not enough values to unpack (expected 4, got 0)"
So how to solve it.
thank you!

Oh!, i found it, i have solved it, thank u.

@yuqian2019
Copy link

yuqian2019 commented Jun 5, 2021

@yuqian2019 No, I do not. I tried to write it by myself. But, the performance is not good. Perhaps, something wrong in my code. I hope the authors can share it, but I got no response from them.

hello,i tried to use your training code, but i met some mistakes.
"img, kernels, offsets_h, offsets_v, = ctx.saved_tensors
ValueError: not enough values to unpack (expected 4, got 0)"
So how to solve it.
thank you!

Oh!, i found it, i have solved it, thank u.

ok! Have u recovery the result? @vardenppp

@jacedang
Copy link

@johnnylu305 May I ask a question, in your train code, where did you define the dataset dir (both train and val). I couldn't figure it out. Would appreciate if you can shed some light on it.

@johnnylu305
Copy link
Author

@jacedang You can check this, I think it is in data/DIV2K_dataset.py or data/init.py or others.

@jacedang
Copy link

@johnnylu305 I know it should be somewhere in DIV2K_dataset.py But I'm not quite sure what are LQ_root and GT_root. and where is the correct way to put data dir? Could you be more elaborate? Thank you.

@brighteast
Copy link

@johnnylu305 hi, really thank you for your code, but i have question. You just use L1 loss in train code. However, in a paper there are 3 loss including TV loss, offset constraint loss. So... i wonder if the results using your code are same with the paper.

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

5 participants