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

prompt type for video issue #28

Open
ZhangT-tech opened this issue Aug 21, 2024 · 3 comments
Open

prompt type for video issue #28

ZhangT-tech opened this issue Aug 21, 2024 · 3 comments

Comments

@ZhangT-tech
Copy link

Hi, thanks for the great work!

I am trying to obtain the point tracking results instead of segmentation masks, even though I substitute the PROMPT_TYPE_FOR_VIDEO to "point", the output video and tracking results are still segmentation masks. Is there any way to obtain the points instead of masks?

Thank you in advance!

@rentainhe
Copy link
Collaborator

rentainhe commented Aug 22, 2024

Hi @ZhangT-tech

the hyperparam PROMPT_TYPE_FOR_VIDEO="point" means we're using point prompts to segment objects instead of mask and box prompts, it doesn't return the point tracking results. If you want to track any point in video, you can try our TAPTR model.

@ZhangT-tech
Copy link
Author

Thank you very much, also I checked that the point is uniformly sampled from the mask, is there any way we can obtain the sampled data point on the mask?

@rentainhe
Copy link
Collaborator

rentainhe commented Aug 22, 2024

Thank you very much, also I checked that the point is uniformly sampled from the mask, is there any way we can obtain the sampled data point on the mask?

The sampled point is in (x, y) format, I think you can directly save it, but we only sample points on the first frame, and the points are just used as prompts for promptable segmentation, so we can not get the tracking results of each point in the following frames.

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