-
Why score = 0?
-
Why " Generating Predictions" has the variable ‘n’ in two for-cycles and “image_id”:n+1?
Mistakes?
Thanks for letting us know
I am looking into the notebook and will give you updates asap
Hi, it’s fixed now!
For the -
- Why score = 0 & Why " Generating Predictions" has the variable ‘n’ in two for-cycles ?
I looked into the issue and turns out there were few mistakes we made in our baselines such as -
-
Not loading the model weights after training it.
cfg.MODEL.WEIGHTS = os.path.join(cfg.OUTPUT_DIR, "model_final.pth") -
Bounding boxes were in the wrong format
The right format for bounding boxes is(x, y, w, h)instead of(x1, y1, x2, y2)( which detectron2 outputted )
As for the -
- and “image_id”:n+1?
The image_id helps the evaluator identify predictions for each image. So there are 1000 unique images ids because there are 1000 testing images.
To know what is the image_id of each image, it is simply the file number ( for ex. 345 in 345.jpg ) + 1 because the image_id starts from 1 in our ground truth file.
I hope this helps, the getting started notebook is also updated! let me know if you still had any doubts 
Shubhamai
Yes, it works. Thanks!