-
Notifications
You must be signed in to change notification settings - Fork 421
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
size_index is missing for preprocess_test function #51
Comments
I got the same problem |
Try
Then comment this line in preprocess_test
|
@CompilerBian thank you very much ,this problem had solved |
@CompilerBian I did it.(editing demo.py and utils/yolo.py) But I get this error. TypeError: 'numpy.int64' object is not iterable Same error occurs when removing comment sign on the line you mentioned |
Sorry for introduced this bug in the last PR. |
When trying the demo, I found that
preprocess_test
has two arguments(data, size_index)
while in the demo.py file, only one argument is passedyolo_utils.preprocess_test((image, None, cfg.inp_size))[0]
, how to fix this ?Thanks.
The text was updated successfully, but these errors were encountered: