Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: save_weights requires h5py when saving in hdf5 #54

Open
ptlzon opened this issue Feb 26, 2024 · 1 comment
Open

ImportError: save_weights requires h5py when saving in hdf5 #54

ptlzon opened this issue Feb 26, 2024 · 1 comment

Comments

@ptlzon
Copy link

ptlzon commented Feb 26, 2024

When running training the demo image, after epoch 1 is completed, the following error appeared.

ImportError: save_weights requires h5py when saving in hdf5.

However, h5py is already installed with pip.

I fixed it by
pip uninstall h5py
conda install h5py -c conda-forge

reference:
tensorflow/tensorflow#60464

Thanks

@jdeschamps
Copy link
Member

Hi,

Sorry for the late reply, we will have a look!

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

No branches or pull requests

2 participants