juglab / napari-n2v

A self-supervised denoising algorithm.
https://juglab.github.io/napari-n2v/
BSD 3-Clause "New" or "Revised" License
24 stars 3 forks source link

ImportError: `save_weights` requires h5py when saving in hdf5 #54

Open ptlzon opened 6 months ago

ptlzon commented 6 months ago

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: https://github.com/tensorflow/tensorflow/issues/60464

Thanks

jdeschamps commented 6 months ago

Hi,

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