abhi4ssj / few-shot-segmentation

PyTorch implementation of 'Squeeze and Excite' Guided Few Shot Segmentation of Volumetric Scans
MIT License
103 stars 15 forks source link

SyntaxError: unmatched ']' #20

Open al3ms opened 1 year ago

al3ms commented 1 year ago

Hi,

I am trying to the code on Google Colab but I get this error:

Traceback (most recent call last): File "/content/drive/MyDrive/sofa/few-shot-segmentation/run.py", line 7, in import few_shot_segmentor as fs File "/content/drive/MyDrive/sofa/few-shot-segmentation/few_shot_segmentor.py", line 6, in from nn_common_modules import modules as sm File "/usr/local/lib/python3.9/dist-packages/nn_common_modules/modules.py", line 526 else:abdominal_segmentation_2] - 1) / 2) ^ SyntaxError: unmatched ']'