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

How to predict? #21

Closed antoniaaaaaaaa closed 2 months ago

antoniaaaaaaaa commented 2 months ago

Is there a predictive step?

jiayuanz3 commented 2 months ago

yes, you can validate/predict the results directly after loading the pretrained weight. you can find a function named 'validation_sam' in function.py contained inside func_2d and function_3d folder.