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

The problem of extracting masks for deformable dynamic target objects #80

Open
litchisea opened this issue Apr 7, 2024 · 3 comments
Open

Comments

@litchisea
Copy link

Hello! I want to use Segment Anything Model to extract masks for cats or other animals. How should I change the code? I made some attempts myself and used SAM to extract the masks after video framing, but the masks I extracted were black and white. I don’t know how to add them to the data preprocessing of the project, or how to change the code. In the visualization results, the background of the mask extracted by your data preprocessing is black and the foreground is blue. Why is it blue? Do I need to change my foreground to blue to achieve this? Looking forward to your reply, thank you very much!
00033
00032

@gengshan-y
Copy link
Contributor

Hi, you might want to look at this file that computes masks, and these lines assigns color to the foreground.

@litchisea
Copy link
Author

Thank you very much for your prompt reply! The issue has been resolved. May I also ask how the specific ablation experiment was conducted and which part of the code needs to be modified to achieve two ablation experiments?

@gengshan-y
Copy link
Contributor

Hi, could you explain which ablation were you referring to?

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

2 participants