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

Only square mask predictions are supported #6

Open
xllau opened this issue Jun 2, 2020 · 4 comments
Open

Only square mask predictions are supported #6

xllau opened this issue Jun 2, 2020 · 4 comments

Comments

@xllau
Copy link

xllau commented Jun 2, 2020

Hi buddy, when I evaluate with your new weight file, I met the problem as follows:
assert masks.shape[-1] == masks.shape[-2], "Only square mask predictions are supported"
AssertionError: Only square mask predictions are supported
I don't know why this occur and how to fix this?

@Epiphqny
Copy link
Owner

Epiphqny commented Jun 7, 2020

@xllau Have you modified the post-processing file based on the inference instruction in README?

@jianyeyuan
Copy link

请问一下,这个代码是直接可以跑起来吗?

@jianyeyuan
Copy link

我主要想复现一下,先谢过

@AndrewZhou924
Copy link

Hi, I met the same Error when evaluating.
I follow the instruction in README: replace the original detectron2 installed postprocessing.py with the file in this repository.
And then it works without error.

yuki-inaho added a commit to yuki-inaho/CondInst that referenced this issue Feb 1, 2021
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

4 participants