By Roy Colglazier*, Jisoo Lee*, Haoyu Dong*, Hanxue Gu, Yaqian Chen, Zafer Yildiz, Zhonghao Liu, Nicholas Konz, Jichen Yang, Jikai Zhang, Yuwen Chen, Lin Li, Haoran Zhang, Joseph Cao, Adrian Camarena, Maciej Mazurowski.
Weights for fine-tuned SAM can be accessed here. It should be placed under checkpoints/ folder.
First, you need to define your input and output path in Line 27 and 28. The input folder is expected to contain volume inputs, i.e., XXX.nii.gz. Then, you can simply run the evaluation with
python3 evaluate.py
The output will be saved in numpy format (.npy) and nearly raw raster data format (.seg.nrrd).
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License.