mhjabreel / CharCNN

MIT License
234 stars 99 forks source link

Memory leak issue in Tensorflow #10

Closed jaswinder6991 closed 5 years ago

jaswinder6991 commented 6 years ago

My system slows down everytime I run the code, when I looked it online, I found an issue regarding memory leak in Tensorflow. https://github.com/tensorflow/tensorflow/issues/10408 , The least I could understand was that should you not use sess.close() and tf.reset_default_graph() in training.py after the training loop at the end.

mhjabreel commented 5 years ago

Hi @Unilord, Now, you can use the new implementation in the branch textify_bases. The problem is solved. I checked that and now it works.

Thanks.