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

size mismatch in gen_labels procedure #5

Closed
xh-zh opened this issue May 24, 2022 · 1 comment
Closed

size mismatch in gen_labels procedure #5

xh-zh opened this issue May 24, 2022 · 1 comment

Comments

@xh-zh
Copy link

xh-zh commented May 24, 2022

Hi, thanks for disclosing such excellent work!

I am repeating your experiment. What confusing me is the size mismatch in gen_labels procedure.
The function crf_inference requires img and probs of the same size. But I fond the size of attention map generated here is smaller than that of the origin image. Have you resized the attention map to the origin size befor gen_labels procedure?

@tfzhou
Copy link
Collaborator

tfzhou commented Jun 2, 2022

Hi @xh-zh, please try to upsample the attention map.

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