image-segmentation-keras icon indicating copy to clipboard operation
image-segmentation-keras copied to clipboard

Installation requirement of h5py<=2.10.0?

Open eyildiz-ugoe opened this issue 3 years ago • 0 comments
trafficstars

If you go ahead and install the package pip install keras-segmentation, it installs the package regardless, like I have h5py-3.7.0 and keras-segmentation is installed.

However, to get the latest updates of this package on git, I'd like to use pip install --upgrade git+https://github.com/divamgupta/image-segmentation-keras as recommended. Unfortunately, that dictates h5py<=2.10.0 since you have the following in setup.py:

install_requires=[
            "h5py<=2.10.0",

Is there a particular reason for this? Could you just update it perhaps? Why is it that the pip version is installed with a newer version of h5py, while the updated repo -that is supposed to be better- requires a lower version of h5py?

The reason why I am bringing this up is simple. If you install the package via pip install keras-segmentation, you keep getting the infamous checkpoint not found error. You avoid this you install the package with pip install --upgrade git+https://github.com/divamgupta/image-segmentation-keras. That, however, for some reason, forces the system to downgrade h5py to an older version.

eyildiz-ugoe avatar Aug 18 '22 07:08 eyildiz-ugoe