This repository aims to measure the zero-shot segmentation performance of Segment Anything Models (SAM) on Industrial defect data
- prompt type
- bounding box
- point
- data
- MVTec bottle
- MVTec screw
- MVTec wood data
- Get data using dvc
cd data
dvc pull mvtec.dvc
- Set MVTec's category in
main.py
# main.py line 11
category = "wood" # Change here
- Run Code
python main.py
Then the results
folder will be created and contain the inference result images.
- (Option) Load previously learned results
dvc pull results.dvc