objdet_fizyr_colab
objdet_fizyr_colab copied to clipboard
No bounding box showing while testing on custom data set
Here are the steps I followed:
- downloaded the pretrained model
resnet50_coco_best_v2.1.0.h5
- then I trained it on my dataset using
keras_retinanet/bin/train.py csv /path/to/csv/file/containing/annotations /path/to/csv/file/containing/classes
- then I converted the last model saved in snapshots for inference using
keras_retinanet/bin/convert_model.py snapshots/resnet50_csv_50.h5 /path/to/save/inference/model.h5
The thing is that I am not getting any bounding boxes on any image. Scores are an array of -1s and the boxes also have negative values. Did I have to mention something explicitly while training the resnet50_coco_best_v2.1.0.h5 on my dataset? `