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

Memory Error when training the model #35

Open
mustaeenqazi opened this issue Jul 5, 2020 · 7 comments
Open

Memory Error when training the model #35

mustaeenqazi opened this issue Jul 5, 2020 · 7 comments

Comments

@mustaeenqazi
Copy link

Hi Deepak, Thanks for the amazing code, a small issue, when i start training the model with your simplified version of code, the Ram gets exhausted. although i have 12GB ram on my google colab, I tried reducing the size of images but no results

@hongyanghu
Copy link

have you solve the problem?pls

@rcbrigg
Copy link

rcbrigg commented Aug 24, 2020

I had the same problem. What batch size are you using? Reducing that should help. I also halved the number of neurons in the dense layers and number of filters in the conv layers, which of course will impact performance.

@mustaeenqazi
Copy link
Author

The problem is solved by using small batch size and lower number of images. but you can also try to upgrade your memory.

@BassantTolba1234
Copy link

Dear Sir,
Brilliant work , thank you for sharing your code..
Please, according to your GPU version what the time did you take to finish training your network ??
I'm waiting for your fast reply..

1 similar comment
@BassantTolba1234
Copy link

Dear Sir,
Brilliant work , thank you for sharing your code..
Please, according to your GPU version what the time did you take to finish training your network ??
I'm waiting for your fast reply..

@BassantTolba1234
Copy link

Please all,
I need the code of implementation this part
the part is

{The SRResNet networks
were trained with a learning rate of 10−4 and 106 update
iterations. We employed the trained MSE-based SRResNet
network as initialization for the generator when training
the actual GAN to avoid undesired local optima.{

@MuterDear
Copy link

Could you please tell me which size of your image before super resolution?

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