uni-medical / SAM-Med3D

SAM-Med3D: An Efficient General-purpose Promptable Segmentation Model for 3D Volumetric Medical Image
Apache License 2.0
528 stars 70 forks source link

How to install required libraries? #57

Closed YingChen7 closed 3 months ago

YingChen7 commented 7 months ago

I can not install the required libraries by simply running 'pip install -r requirements.txt.' In the requirements text file, line 170 and 171 caused an issue when I ran the commend. Besides, anaconda-client doesn't have a 1.11.0 version.

adrianzzk commented 7 months ago

maybe this issues can help u :) https://github.com/uni-medical/SAM-Med3D/issues/53

blueyo0 commented 3 months ago

Tested with Py3.10 + Torch 2.4, this command works for me:

pip install light-the-torch && ltt install torch
pip install torchio opencv-python-headless matplotlib prefetch_generator monai edt