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

Error in proposal generation. #6

Open
yahooo-m opened this issue Jun 27, 2023 · 1 comment
Open

Error in proposal generation. #6

yahooo-m opened this issue Jun 27, 2023 · 1 comment

Comments

@yahooo-m
Copy link

When I use mask2former_learn_prompt_bs16_10k.yaml to get proposal classification, i got an error "RuntimeError: The size of tensor a (211) must match the size of tensor b (197) at non-singleton dimension 1". I checked the size is (224, 244), but the position embedding is (197, n_dim). Is the predefined size wrong?

@JayQine
Copy link

JayQine commented Dec 24, 2023

Logically, there will be no problem of predefined size errors. You can provide the specific code location where the error is reported to facilitate locating the problem.

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