-
Notifications
You must be signed in to change notification settings - Fork 64
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
Inappropriate implementation of Multi-head in IPT? (which only works on SR) #55
Comments
I met with the same problem. Did you solve it? |
Sorry for the unclear code. This implement is right since we only release the test code. Your implement is a right way to modify it into a training code. |
@JGyoung-UCAS Actually, i'm not working with this code right now.. @HantingChen Thank you for your response, |
Thank you for the reminder. This code is very incomplete. Maybe you can check this code in the version of Minspore: https://gitee.com/mindspore/models/tree/master/research/cv/IPT. It seems to be more clear. |
Hello, I'm interested in your work and try some simple things based on your work.
While i'm inspecting your code, I found some problem. I want to know whether it is real problem or misunderstanding
The passed argument to model in test time is degraded image and idx_scale as shown below
Pretrained-IPT/trainer.py
Line 42 in 675540e
I thought "idx_scale" stands for task id, which denote "i" in$f_H = H^i(x)$ you mentioned in the paper 3.1 Head.
However, I found that "idx_scale" only varies depending on scale level in SR(Super Resolution), and "idx_scale" is set at 0 on denoising and deraining task.
Also, the number of heads is decided with "args.scale" list, not number of tasks.
Pretrained-IPT/model/ipt.py
Lines 33 to 39 in 675540e
I want to make sure this is right to improve your code (or repo)
Thank you reading this issue and looking forward your reponse.
The text was updated successfully, but these errors were encountered: