cnr-isti-vclab / TagLab

A CNN based image segmentation tool oriented to marine data analysis
https://taglab.isti.cnr.it/
GNU General Public License v3.0
84 stars 33 forks source link

TagLab cannot operate with the latest skimage (0.19.0) #23

Closed cappelletto closed 2 years ago

cappelletto commented 2 years ago

When launching TagLab from a conda enviroment right after the installation, it fails asskimage.util no longer provides pad

 File "/home/cappelletto/github/3rdparty/TagLab/source/Blob.py", line 25, in <module>
    from skimage.util import pad
ImportError: cannot import name 'pad' from 'skimage.util' (/home/cappelletto/.local/lib/python3.8/site-packages/skimage/util/__init__.py)

This can be fixed by forcing skimage=0.18.0 in installation.py

alemuntoni commented 2 years ago

Thanks for reporting!!