Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Winnie-Gong opened this issue Apr 21, 2024 · 4 comments
Open

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

Winnie-Gong opened this issue Apr 21, 2024 · 4 comments

Comments

@Winnie-Gong
Copy link

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!

@cfl-chenfangliang
Copy link

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

@Armadillooutfitter
Copy link

it was on my computer

@NocturnaLNox
Copy link

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

1 similar comment
@EucalyTang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants