bytedance / FreeSeg

Apache License 2.0
123 stars 15 forks source link

Error in proposal generation. #6

Open yahooo-m opened 1 year ago

yahooo-m commented 1 year ago

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 commented 8 months ago

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.