FastSAM icon indicating copy to clipboard operation
FastSAM copied to clipboard

object proposal cocoeval - how did you get your SAM result?

Open Winnie-Gong opened this issue 1 year ago • 4 comments

Amazing work, I'm trying to reproduce some results. How did you produce your /home/zhaoxu/yolo_sa/sam_h_20_coco_17val.json results? For cocoeval it requires a dict with keys: image_id, category_id, bbox, score I assume bbox and score are direct output of SAM (score being stability_score), and image_id would be the image ID of input image. How do you obtain category_id? What were the exact parameters when you set upSamAutomaticMaskGenerator? If you could release the code or even snippets on how you produced those results it would be amazing.

Thank you!

Winnie-Gong avatar Apr 21 '24 00:04 Winnie-Gong

you can call the function: FastSAM -> fastsam -> prompt#_format_results

cfl-chenfangliang avatar Apr 22 '24 07:04 cfl-chenfangliang

it was on my computer

Armadillooutfitter avatar Apr 22 '24 22:04 Armadillooutfitter

Got the same problem here, how did you fix it?

NocturnaLNox avatar Jul 26 '24 10:07 NocturnaLNox

Got the same problem here, how did you fix it?

EucalyTang avatar Sep 08 '24 15:09 EucalyTang