Closed ofirkris closed 10 months ago
I think the "recommended" way to serve TF models may be TF Serving: https://www.tensorflow.org/tfx/serving/serving_basic.
It's hard to tell what the issue comes from without more context, so I'm just guessing some sanity checks here...
I'm trying to keep the Python interpreter up as a web-service, and constantly get out of memory and increase in GPU usage after testing several images, only thing that helps is reseting the service and python.
How can I free the GPU after an anime conversion? Tried gc.collect() and sess.close() with no success.
Please advise