-
Notifications
You must be signed in to change notification settings - Fork 157
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
why does the implementation not use data normalization / zero-center? #12
Comments
@pzz2011 the train patches are 0-1 normalized in https://github.com/twtygqyy/pytorch-vdsr/blob/master/data/generate_train.m |
@twtygqyy I didn't find any info about 0-1 normalized in the code.... :-) |
@twtygqyy another question here, the size of the generated .h5 file for 291 png(13M) is about 14G. If I want to use 800 pngs(1000x800) to generate .h5 file => It will cause OOM。 any advice? thanks. |
@pzz2011 image = im2double(image(:, :, 1)); will do the trick. Regarding OOM issue, it is better to split the training set into multiple h5 file and modify the dataloader to load them one by one. |
No description provided.
The text was updated successfully, but these errors were encountered: