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
EOD/eod/models/heads/utils/bbox_helper.py", line 341, in clip_bbox dw, dh = img_size[6], img_size[7] IndexError: list index out of range #2
Comments
https://github.com/ModelTC/EOD/blob/a45b74430070d82d9248a10fb5e1116bb7ababe1/eod/data/datasets/coco_dataset.py#L297. This is a bug for yolov5 (center pad) inference, we will fix it later |
@jinfagang The bug has been fixed. |
@Joker-co can we have a demo.py sinply read a image as input and show result? Don't involve with any dataloader so that it can easily use and quickly vis final result. |
We think the demo now seems to be able to meet the demand. Config is necessary in order to parse the test configuration, and we don't build dataloader. @jinfagang |
@yqyao something like this could be better, whole code easy to modification rather than deeply wrapped inside EOD package. And this demo gives wrong result: Also doesn't preduce any result after postprocess |
I found in Inferece.py the prepare are:
which
image_info
max size is 7, so that above index [7] is out of indices. How to resolve?The text was updated successfully, but these errors were encountered: