Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

The Session graph is empty in machine learning pipeline example #60

Open
anishsharma opened this issue Mar 12, 2018 · 0 comments
Open

Comments

@anishsharma
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant