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

When I tried to evaluate, I meet an assertion error #103

Open
chang0977 opened this issue Aug 15, 2018 · 0 comments
Open

When I tried to evaluate, I meet an assertion error #103

chang0977 opened this issue Aug 15, 2018 · 0 comments

Comments

@chang0977
Copy link

Traceback (most recent call last):
File "test.py", line 137, in
test_net(net, imdb, max_per_image, thresh, vis)
File "test.py", line 71, in test_net
size_index
File "/home/hyunbae/yolo2-pytorch/utils/yolo.py", line 119, in postprocess
assert bbox_pred.shape[0] == 1, 'postprocess only support one image per batch' # noqa
AssertionError: postprocess only support one image per batch

it says I have to prove one image per batch but I am not sure how to handle this

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