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

instance_masks的大小每张图不一样,最后如何组batch的勒? #15

Open
mmxuan18 opened this issue May 19, 2021 · 0 comments

Comments

@mmxuan18
Copy link

instance_masks = np.zeros((num_objs if num_objs > 0 else 1, output_h, output_w), dtype=np.float32)

这里instance_masks的大小是和objs数相关的,那一个batch中每张图可能不一样,这个在组batch的时候如何处理?

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

1 participant