Closed JernejHabjan closed 5 years ago
garbage collect and free ram when executing threaded "onBeginTraining" in get_action - tried gc.collect, del, = None, gc.autocollect, clear_session, sess.close... try these actions in "onJsonInput"
https://github.com/getnamo/tensorflow-ue4/issues/25
https://github.com/getnamo/tensorflow-ue4/releases/tag/0.10.0
Maybe add sys.exit(0) after code completion
Fixed used following code: https://github.com/keras-team/keras/issues/2397#issuecomment-385317242
garbage collect and free ram when executing threaded "onBeginTraining" in get_action - tried gc.collect, del, = None, gc.autocollect, clear_session, sess.close... try these actions in "onJsonInput"