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
I was trying to run the generator on some test images, but it seems that loading the model is not possible from the .h5 file.
I tried to change line 19 in useGenerator.py to model = load_model(model_path)
where
load_model is from keras.models
yet it still does not load the model ... getting the same error
Traceback (most recent call last):
File "useGenerator.py", line 32, in <module>
main()
File "useGenerator.py", line 19, in main
model = load_model(os.path.join("./model/","generator.h5"))
File "/home/sabdulaziz/anaconda3/envs/monet/lib/python3.8/site-packages/tensorflow/python/keras/saving/save.py", line 211, in load_model
loader_impl.parse_saved_model(filepath)
File "/home/sabdulaziz/anaconda3/envs/monet/lib/python3.8/site-packages/tensorflow/python/saved_model/loader_impl.py", line 111, in parse_saved_model
raise IOError("SavedModel file does not exist at: %s/{%s|%s}" %
OSError: SavedModel file does not exist at: ./model/generator.h5/{saved_model.pbtxt|saved_model.pb}
Would you please upload the complete model files somewhere?
The text was updated successfully, but these errors were encountered:
Hi,
I was trying to run the generator on some test images, but it seems that loading the model is not possible from the .h5 file.
I tried to change line 19 in useGenerator.py to
model = load_model(model_path)
where
load_model is from keras.models
yet it still does not load the model ... getting the same error
Would you please upload the complete model files somewhere?
The text was updated successfully, but these errors were encountered: