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
{{ message }}
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.
RuntimeError: The Session graph is empty. Add operations to the graph before calling run()
in the below files.
File "/home/test/dist-keras-021/distkeras/predictors.py", line 23, in __init__ self.model = serialize_keras_model(keras_model) File "/home/test/dist-keras-021/distkeras/utils.py", line 82, in serialize_keras_model print("model.get_weights()=",model.get_weights())
I tried to print the weights but interestingly it is giving exception at the same statement. It does print the weights where we created the model. I am trying an example of yours for machine learning production pipeline with spark streaming.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
I am facing the below error .
RuntimeError: The Session graph is empty. Add operations to the graph before calling run()
in the below files.
File "/home/test/dist-keras-021/distkeras/predictors.py", line 23, in __init__ self.model = serialize_keras_model(keras_model) File "/home/test/dist-keras-021/distkeras/utils.py", line 82, in serialize_keras_model print("model.get_weights()=",model.get_weights())
I tried to print the weights but interestingly it is giving exception at the same statement. It does print the weights where we created the model. I am trying an example of yours for machine learning production pipeline with spark streaming.
The text was updated successfully, but these errors were encountered: