You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_make_predict_function() is called only after a call to predict(). I believe this is a flaw in Keras design - this code is not synchronous and not thread ready. Thats why I need to call this function before threading.
It goes in conjunction with: self.default_graph.finalize() # avoid modifications
I don't want to modify the model when running the computation.
I am also working on multi-thread prediction on RL model. I've been stuck on this issue for about a week until I saw this line of your code:
So can you tell me what does this function do and why we need to add this line of code? I can't find any documentation about this.
The text was updated successfully, but these errors were encountered: