zudi-lin / pytorch_connectomics

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

Added missing bracket #105

Open Lauenburg opened 2 years ago

Lauenburg commented 2 years ago

In file connectomics/data/utils/data_segmentation.py:

Indexing requires int or boolean. But the mask used for indexing where of format float without decimal ( like 124432.) since originally being of type float32.