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

Issue with RRDN weight hdf5 file #46

Closed
sebastianheinz opened this issue Jul 17, 2019 · 4 comments
Closed

Issue with RRDN weight hdf5 file #46

sebastianheinz opened this issue Jul 17, 2019 · 4 comments

Comments

@sebastianheinz
Copy link

Hi,

there seems to be an issue with the RRDN weight hdf5 file. When loading it into the RRDN model, it throws an error. File might be corrupted.

Tested it on Colab.

Can you re-upload it?

Thank you.

@cfrancesco
Copy link
Collaborator

cfrancesco commented Jul 18, 2019

Hi,
I just tested it and it works for me.
Did you have issues with the other weights?
Also, did you download the weights directly from github and/or run git lfs pull after cloning the repo as described in the main README here and in the weights README here?

@sebastianheinz
Copy link
Author

Hi Francesco,

I've downloaded the file corresponding to your Colab tutorial using wget:

!wget https://github.com/idealo/image-super-resolution/blob/master/weights/sample_weights/rrdn-C4-D3-G32-G032-T10-x4/Perceptual/rrdn-C4-D3-G32-G032-T10-x4_epoch299.hdf5

Interestingly, while downloading the RRDN weight file the length (file size) seems to be unknown: See here

For the other weight files, it looks like this:
See here

Best,
Sebastian

@cfrancesco
Copy link
Collaborator

Hi,

so the other files point at the raw folder, like so
https://github.com/idealo/image-super-resolution/raw/master/weights/sample_weights/rrdn-C4-D3-G32-G032-T10-x4/Perceptual/rrdn-C4-D3-G32-G032-T10-x4_epoch299.hdf5, but apparently this also does not work any longer.
Use this instead:
!wget https://media.githubusercontent.com/media/idealo/image-super-resolution/master/weights/sample_weights/rrdn-C4-D3-G32-G032-T10-x4/Perceptual/rrdn-C4-D3-G32-G032-T10-x4_epoch299.hdf5.

I'll be updating the notebook.
Thank for notifying.

@talvasconcelos
Copy link

@sebastianheinz do you still have the .hdf5 files, could you share them?

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

3 participants