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

How to deal with gt_boxes zero sample?> #125

Open
lucasjinreal opened this issue Aug 13, 2019 · 0 comments
Open

How to deal with gt_boxes zero sample?> #125

lucasjinreal opened this issue Aug 13, 2019 · 0 comments

Comments

@lucasjinreal
Copy link

It will got error if image has no box inside it:

im_size: (800.0, 1066.0)
scale: 1.665624976158142
height, width: (50, 67)
rpn: gt_boxes.shape (0, 5, 1, 1)
rpn: gt_boxes []
total_anchors 40200
inds_inside 22400
anchors.shape (22400, 4)
Traceback (most recent call last):
  File "tools/train_net.py", line 112, in <module>
    max_iters=args.max_iters)

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