Closed jscott-gauss closed 2 months ago
hi, are you using medsam1 or medsam2. i wonder whether mac(M1) can run the medsam2? best wish for your reply.
@jscott-gauss The second and third issue are not disruptive when it comes to the functionality. The third problem is extremely important tho. would you please enter the following line in the slicer python console and share the output? from medsam_interface import MedSAM_Interface
@yijiyangshoudechugou AFAIK we need cuda-12 installed so i'm not sure if macbooks are supoorted. if you could find a cuda variant for M1, sam2 should work fine
Hi there! I'm looking into trying this out and running into a few issues. Are the previous versions more stable? It looks like development is pretty active. If so, please let me know which to use.
System Info
Send Image Error After clicking send image I get the following:
Looks like you're in the middle of some changes here: https://github.com/bowang-lab/MedSAMSlicer/blob/3f0abf61becfb8958fb33fa4896dd0ce8a4fb4af/MedSAM/MedSAMLite/MedSAMLite.py#L35
since if the import fails, the interface is still accessed: https://github.com/bowang-lab/MedSAMSlicer/blob/3f0abf61becfb8958fb33fa4896dd0ce8a4fb4af/MedSAM/MedSAMLite/MedSAMLite.py#L605
I saw in a previous version that you need to spin up a server that images get sent to, is this something that still needs to be done? I see all the documentation for it is no longer in the readme.
Hardcoded Files
When I try the
Reload and Test
functionality, it uses a hardcoded filepath on your comp unit/home/rasakereh/Desktop/wanglab/MedSam/slicer-plugin/MedSAM-Slicer/HCC_004_0000.nii.gz
Replacing the filepath and trying again yields:
Maybe include a default test image that gets downloaded on initialization from somewhere outside the repo?