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

I find some mistake in your code #5

Closed
yokiqust opened this issue Jul 31, 2018 · 1 comment
Closed

I find some mistake in your code #5

yokiqust opened this issue Jul 31, 2018 · 1 comment

Comments

@yokiqust
Copy link

mask = imresize(255 * mask, (self.mask_size, self.mask_size), mode='constant')
in the coco.py line 281, in there should use 255.0, when use a integer, the following mask will be a 0 matrix.

@jcjohnson
Copy link
Collaborator

Thanks for pointing this out! Fixed in 2638373

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