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
Hi! I'm would like to say thank you, This proyect helps my a lot.
Mi computer in not good at all, so I decided to use google colab and it works. I install the requeriments with a txt file and my training was perfect. But when I dowload the .hdf5 files and use it in my Pycharm proyect the files doesn't work. This is my error:
File "C:\Users\Usuario\anaconda3\envs\ic_gpu\lib\site-packages\keras\engine\saving.py", line 419, in load_model
model = _deserialize_model(f, custom_objects, compile)
File "C:\Users\Usuario\anaconda3\envs\ic_gpu\lib\site-packages\keras\engine\saving.py", line 251, in _deserialize_model
if weight_names:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
I don't know how fix it.
The text was updated successfully, but these errors were encountered:
Hi @GabbyLiz
In this particular case, it seems like there might be an issue with the version of Keras you are using, or possibly with the model you are trying to load.
Try these options:
Update Keras.
Make sure that the model you are trying to load was saved with a compatible version of Keras. If you are trying to load a model that was saved with a different version of Keras, you might run into compatibility issues.
If you're still experiencing problems, you may want to try using the Keras library packaged with TensorFlow, as this can sometimes resolve compatibility issues.
Hi! I'm would like to say thank you, This proyect helps my a lot.
Mi computer in not good at all, so I decided to use google colab and it works. I install the requeriments with a txt file and my training was perfect. But when I dowload the .hdf5 files and use it in my Pycharm proyect the files doesn't work. This is my error:
File "C:\Users\Usuario\anaconda3\envs\ic_gpu\lib\site-packages\keras\engine\saving.py", line 419, in load_model
model = _deserialize_model(f, custom_objects, compile)
File "C:\Users\Usuario\anaconda3\envs\ic_gpu\lib\site-packages\keras\engine\saving.py", line 251, in _deserialize_model
if weight_names:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
I don't know how fix it.
The text was updated successfully, but these errors were encountered: