Medical-SAM2 icon indicating copy to clipboard operation
Medical-SAM2 copied to clipboard

predict

Open lucky-asia opened this issue 1 year ago • 5 comments

How do you make a direct prediction?

lucky-asia avatar Sep 09 '24 06:09 lucky-asia

Hi @lucky-asia, you can use image_predictor_2d.ipynb as an example: https://github.com/MedicineToken/Medical-SAM2/pull/38

rabiaedayilmaz avatar Sep 14 '24 12:09 rabiaedayilmaz

Hi @rabiaedayilmaz, there is no image_predictor_2d.ipynb file. Did you forget to upload this file?

dragonlee258079 avatar Oct 12 '24 11:10 dragonlee258079

Hi @dragonlee258079, actually it is there in that PR#38?

https://github.com/MedicineToken/Medical-SAM2/blob/c90a7a7bb182d2382afe4fc9afcfc87ad80643cf/notebooks/image_predictor_2d.ipynb

rabiaedayilmaz avatar Oct 12 '24 20:10 rabiaedayilmaz

@rabiaedayilmaz, Thank you

dragonlee258079 avatar Oct 13 '24 07:10 dragonlee258079

How do you make a 3d direct prediction?I encountered some problems when I was reasoning.The program error shows that I made an error when calling image _ encoder, memory _ attention and memory _ encoder. The network I loaded is missing these three parameters.

seasams avatar Oct 23 '24 03:10 seasams