blei-lab / edward

A probabilistic programming language in TensorFlow. Deep generative models, variational inference.
http://edwardlib.org
Other
4.83k stars 761 forks source link

Question: how to solve memory leakage of Edward inference within iterations #926

Open MYusha opened 5 years ago

MYusha commented 5 years ago

Hi, I am running edward inference in a loop(like several restarts) within one script, and although I reset the default graph and open session in every iteration, the issue of memory leakage over loops still exits. Just wondering has anyone seen this problem before and how to solve it?

Thanks a lot!