I have created my model on one machine and then sent the zipped folder 'model' by email to myself so I would be able to use this model on my second PC.
As I understood, to reuse a model I need to make 'fit' 1-3 steps. (This fact I found here in TF issues)
classifier.fit(x_train, y_train, steps=3)
Then when I call predicted = classifier.predict(x_test) , it throws an exception:
tensorflow.python.framework.errors.NotFoundError: Tensor name "hiddenlayer_2/biases" not found in checkpoint files model/model.ckpt-30015-?????-of-00001
This model is working well on the machine where it has been created.
How can I make it work on any PC?
I have created my model on one machine and then sent the zipped folder 'model' by email to myself so I would be able to use this model on my second PC.
Here is the code how I'm recreating a model:
As I understood, to reuse a model I need to make 'fit' 1-3 steps. (This fact I found here in TF issues)
classifier.fit(x_train, y_train, steps=3)
Then when I call
predicted = classifier.predict(x_test)
, it throws an exception:tensorflow.python.framework.errors.NotFoundError: Tensor name "hiddenlayer_2/biases" not found in checkpoint files model/model.ckpt-30015-?????-of-00001
This model is working well on the machine where it has been created. How can I make it work on any PC?
Thanks!