Relative Content

Tag Archive for multithreadingflaskkeras

Trying to use my Keras model in a Flask app which is stucked/hangs at predict, save, fit,

I have a Keras model and a Flask app. I am using my Keras model within the Flask app itself. When I try to use these well-known functions of Keras (ie. predict, save, fit), the program stucks at that point. However when I extract the related files from the Flask app and run the program standalone which is completely purified from Flask, it works fine.