Skip to content

ImportError: save_weights requires h5py when saving in hdf5 #54

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions