MedicineToken / Medical-SAM2

Medical SAM 2: Segment Medical Images As Video Via Segment Anything Model 2
Apache License 2.0
453 stars 57 forks source link

training error #25

Closed gogochen07 closed 2 months ago

gogochen07 commented 2 months ago

Hi, I have encountered the following error when running train_3d.py, could I know if you have any suggestions on it?

File "/data/humanBodyProject/repository_YC/Medical-SAM2/sam2_train/utils/misc.py", line 61, in get_connected_components from sam2_train import _C ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /data/humanBodyProject/repository_YC/Medical-SAM2/sam2_train/_C.so)

ShanZard commented 2 months ago

I also meet this error.

ShanZard commented 2 months ago

I have fixed this bug. It should update your GLIBC.

jiayuanz3 commented 2 months ago

thanks for providing the solution and I'll close the issue