I get an error everytime I try to run the prediction on several images through a jupyter notebook.
Do you know how I can fix this?
I think it's better if you define a function load_model in predict.py to create model and load weights from the checkpoint and returns the model that could be passed later to the run function.
I'm trying to implement that but the tf.Session() seems to make it a bit complicated.
I get an error everytime I try to run the prediction on several images through a jupyter notebook.
Do you know how I can fix this?
I think it's better if you define a function load_model in predict.py to create model and load weights from the checkpoint and returns the model that could be passed later to the run function.
I'm trying to implement that but the tf.Session() seems to make it a bit complicated.