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 when i test #40

Open
baohaooo opened this issue Feb 15, 2023 · 1 comment
Open

Error when i test #40

baohaooo opened this issue Feb 15, 2023 · 1 comment

Comments

@baohaooo
Copy link

hi sir
when i test my own 620*420 jpg,the flowing error occur,do you know how can i resolve the error?
image

@AaronCheung524
Copy link

This is probably because x and v have different sizes during decoding. Before taking x or v as input to the function window_partition, we usually need to pad them. But the process of padding x or v is based on the size of x, the size of v may get wrong after padding. U can change the padding process(it's in the Class CRFBlock) so that the size of padded v get the same size of the padded x.

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