Closed cyrilzakka closed 4 years ago
I've just realized this might be because when training, the number of classes was never specified. Is there a way of specifying the number of classes for the training script?
Alright so this officially worked! Unfortunately runninginference.py
still returns the image with no bounding boxes at all.
Alright so this officially worked! Unfortunately running
inference.py
still returns the image with no bounding boxes at all.
Hi, I'm having the same problem. How did you solve this? Thank you.
I tried running inference.py but ran into the following error:
Any ideas?
I've checked, the classes match! Here is the excerpt from the JSON:
{"licenses": [{"name": "", "id": 0, "url": ""}], "info": {"contributor": "", "date_created": "", "description": "", "url": "", "version": "", "year": ""}, "categories": [{"id": 1, "name": "Class1", "supercategory": ""}, {"id": 2, "name": "Class2", "supercategory": ""}, {"id": 3, "name": "Class3", "supercategory": ""}, {"id": 4, "name": "Class4", "supercategory": ""}, {"id": 5, "name": "Class5", "supercategory": ""}, {"id": 6, "name": "Class6", "supercategory": ""}, {"id": 7, "name": "Class7", "supercategory": ""}, {"id": 8, "name": "Class8", "supercategory": ""}, {"id": 9, "name": "Class9", "supercategory": ""}, {"id": 10, "name": "Class10", "supercategory": ""}, {"id": 11, "name": "Class11", "supercategory": ""}]