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

16G RAM is not enough? #35

Open
Avocado5818 opened this issue May 7, 2020 · 6 comments
Open

16G RAM is not enough? #35

Avocado5818 opened this issue May 7, 2020 · 6 comments

Comments

@Avocado5818
Copy link

as title, I use 16G RAM , monitor show my RAM using 100% memory,
Does anyone have the same problem? How many G RAM is enough?
Thanks~

@Justin-Tan
Copy link
Owner

The dataset is pretty large, you may want to subsample the data as an additional preprocessing step and modify the config file to the new input size. Try 256 x 512 or 128 x 256 if 512 x 1024 is too large.

@Avocado5818
Copy link
Author

Hello, thanks for your reply.
I executed your code, but the computer's memory would gradually increase to full, and finally the program will be terminated. Is it the problem of tensorflow saving the dataset? Because I changed to pytorch, it will not have this problem, but the performance is worse than the original.

@wsxtyrdd
Copy link

I met the same problem. The computer's memory would gradually increase to full.

@wsxtyrdd
Copy link

you can delete line dataset = dataset.cache() in data.py to avoid this problem.

@RandomCoins
Copy link

Thanks for your answer. It really helps me.

@WenBingo
Copy link

Hello, thanks for your reply. I executed your code, but the computer's memory would gradually increase to full, and finally the program will be terminated. Is it the problem of tensorflow saving the dataset? Because I changed to pytorch, it will not have this problem, but the performance is worse than the original.

Hello, I've been trying to use the code recently, but the current tensorflow 2.x version is not compatible with the 1.x version, I wonder if I can borrow your pytroch version of the code, thanks a lot!
it is my email [email protected]

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