-
Notifications
You must be signed in to change notification settings - Fork 158
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
test error #1
Comments
Did you use one of the pre-trained models provided by us ? Usually this error comes when your model is unable to make any predictions on test image. Since the error log shows the problem in the detection file not the ground-truth. Additionally, if you can simply run the demo using one or two images using your model (in-case you are using your own model). |
Furthermore, we have resolved paths and added val_gt.json along with fixing of some minor bugs. We have tested our provided pre-trained model (on this repo for CityPersons) for demo and test_cityperson.py and we have managed to reproduce the numbers. Training of new model should also be fine, it should work on your side as well. I would suggest you to clone and update your local repo. |
I can now run the test_cityperson.py without hiccup on my machine |
thank u so much @hasanirtiza !!! |
@hasanirtiza could u share me how to choose setting for retinanet.py for cityperson? thank you |
@oujieww I suggest you to create a new issue with [feature request] (close this one). I believe we can provide support for RetinaNet as well. |
@hasanirtiza thank you! |
when runing for test, the code needs val_gt.json file, so i change the path in test_city_person.py to "val_gt_for mmdetection.json". and get following problem.
File "tools/test_city_person.py", line 225, in
main()
File "tools/test_city_person.py", line 219, in main
MRs = validate('Pedestron/datasets/CityPersons/val_gt_for_mmdetction.json', args.out)
File "Pedestron/tools/cityPerson/eval_demo.py", line 10, in validate
cocoDt = cocoGt.loadRes(dt_path)
File "Pedestron/tools/cityPerson/coco.py", line 313, in loadRes
if 'caption' in anns[0]:
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: