zudi-lin / pytorch_connectomics

PyTorch Connectomics: segmentation toolbox for EM connectomics
http://connectomics.readthedocs.io/
MIT License
169 stars 77 forks source link

Unable to import connectomics.data.utils.relabel #140

Closed PG-Gu closed 4 months ago

PG-Gu commented 5 months ago

Dear developers,

Hello! I was trying a quick run of this tutorial notebook pytorch_connectomics/notebooks/seg2affinity.ipynb I encountered a problem that ImportError: cannot import name 'relabel' from 'connectomics.data.utils' I wonder how could I add this function. Thanks in advance.

donglaiw commented 4 months ago

The function name is changed to reduce_label. just updated the notebook.