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 mask in image and ref_img #144

Open
XiaokunFeng opened this issue May 27, 2024 · 0 comments
Open

the mask in image and ref_img #144

XiaokunFeng opened this issue May 27, 2024 · 0 comments

Comments

@XiaokunFeng
Copy link

XiaokunFeng commented May 27, 2024

Thank you for your response. I also noticed this infer function. In this function, the input image and refimg are dictionaries that contain two keys: "image" and "mask". What confuses me is the data format of the mask. Could you please explain this based on the following example?

Suppose I want to perform a video object segmentation task, and the length and width of the test video frames are 224, while the length and width of the reference image are 112 (the entire image is used as a prompt). In this case, how should the "mask" for both image and refimg be set? Thank you.
image

Originally posted by @XiaokunFeng in #143 (comment)

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

1 participant