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

want to get image mask, for use in bundlesdf project, just run demo line, #11

Closed
wang-shuaikang opened this issue Aug 12, 2023 · 3 comments

Comments

@wang-shuaikang
Copy link

No description provided.

@m43
Copy link
Collaborator

m43 commented Aug 16, 2023

Hej, if you're looking to extract the mask logits from our demo, you can find the relevant line of code below. Is this what you were searching for?

logits_list = outputs['logits']

@2min77
Copy link

2min77 commented May 11, 2024

@m43 Hello Sir, after normal operation, should there be a mask in the form of pictures in the output folder? There is no mask picture in my output folder, thank you for your answer

@m43
Copy link
Collaborator

m43 commented May 14, 2024

For the demo unfortunately no, just the visualizations are created, but you can access the logits here. When running SAM-PT on VOS as documented here, the masks will automatically be saved to disk in the form of pictures as they are later needed for computing the VOS performance. You can see how in that case we process the logits here and save them to disk here.

@m43 m43 closed this as completed May 14, 2024
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

3 participants