-
Notifications
You must be signed in to change notification settings - Fork 130
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
Orthogonal weight init #1
Comments
@Kaixhin Thanks for the suggestions, I will take a look and have a try. |
You may also want to check out the pytorch superresolution example for info on weight init, if need be. |
They use orthogonal init there (but it was written before |
Hi, I have a question, why not implement the VGG loss in the original paper. |
@CasdDesnDR I updated the code for content loss support. |
@Kaixhin Hi,I don't know why it needs so much memory when test and the train is normal. Have you ever had this problem? |
@HPL123 There's not enough detail in your comment to determine what the issue is, but if you are talking about running out of GPU memory because of the orthogonal weight initialisation (if not, wrong issue) then you should initialise on CPU and then transfer the model to GPU. |
Shouldn't the repo be called pytorch-SRGAN instead of pytorch-SRResNet?
Anyway, the same group mention using orthogonal weight initialisation in the ESPCN paper released roughly at the same time period - even if they haven't specified it for SRGAN, it's definitely worth trying. The text is as follows:
So for all convolutional layers you'll want:
Also there is a v5 of the paper with I think more training details, so worth checking carefully to see if there's anything you missed.
The text was updated successfully, but these errors were encountered: