Closed hammad93 closed 3 years ago
When running the command in the all_timesteps branch,
all_timesteps
python test.py --config data/config.json --test data/hurdat2_test.txt
Will use up an additional 20% of the 16GB RAM for each inference. This means that at 5 inferences, the script is using 100% of the RAM and the system crashes.
It's a common issue, please see
https://www.tensorflow.org/api_docs/python/tf/keras/backend/clear_session
matplotlib was also leaking memory but that wasn't an issue
Thanks @jbrant @apatel726 !
When running the command in the
all_timesteps
branch,Will use up an additional 20% of the 16GB RAM for each inference. This means that at 5 inferences, the script is using 100% of the RAM and the system crashes.