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

Long caption issue #79

Open
hyq217 opened this issue Apr 25, 2022 · 1 comment
Open

Long caption issue #79

hyq217 opened this issue Apr 25, 2022 · 1 comment

Comments

@hyq217
Copy link

hyq217 commented Apr 25, 2022

Hi,

I am so appreciated that you have done such a brilliant job. This really attracts me. When I generate segmentation based on a specific dataset. It works fine with those short caption.

But when I try a longer caption like 'the man in the red shirt carrying baseball bats in the corner'.

There is an issue:


assert len(scores) == len(boxes) == len(labels) == len(masks)

AssertionError


I checked the length of 'len(labels)' in function (main.py)plot_inference_segmentation,
len(scores) =5 len(boxes) = 5 len(labels) =0 len(masks)=5,

the 'positive_tokens' is not successfully handled.

Could you please help me with this issue?

Thanks a lot.

BR.
Could you please help me with this issue?

@Franklin905
Copy link

Got the same issue. Did you figure out how to 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

2 participants