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

Incompatible keras and h5py versions #37

Open
funkey opened this issue Oct 13, 2021 · 0 comments
Open

Incompatible keras and h5py versions #37

funkey opened this issue Oct 13, 2021 · 0 comments

Comments

@funkey
Copy link
Contributor

funkey commented Oct 13, 2021

DenoiSeg requires keras 2.2.5 (as per README instructions, but also during pip install denoiseg). This version of keras contains a workaround for a specific h5py version, where dataset attributes are returned as bytes instead of str (see h5py/h5py#379).

Newer versions of h5py have this bug fixed, which breaks loading of model weights with keras 2.2.5 (attempts to decode a str).

Just conda installing keras 2.2.5 and h5py results in an incompatible combination of those two. I tried to conda install an older version of h5py (2.2.1) but gave up after one hour of conda sitting at "Solving environment"...

Could you maybe provide a conda yaml of an environment that is known to work?

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

1 participant