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

add TensorFlow option for GPU has smaller memory #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NaotakaKawata
Copy link

Hi.
I tried train.py on a GPU with smaller memory. This GPU is RTX 2070 SUPER (8GB).

I got a memory error on line 274 of AnimeGanv2.py even though I set the batch size small.

After investigating, it seems that there is a bug in the memory allocation of Tensorflow.
https://www.reddit.com/r/MachineLearning/comments/ea083i/d_tensorflow_gpu_memory_management_tf_force_gpu/

Therefore, I fixed.

I think it's difficult to reproduce the bug, but I hope it helps someone.Thanks!

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

Successfully merging this pull request may close these issues.

1 participant