pierluigiferrari / ssd_keras

A Keras port of Single Shot MultiBox Detector
Apache License 2.0
1.86k stars 938 forks source link

How to set the param seems like intensity_mean、min_scale 、 aspect_ratios and scales? #369

Open liguilan1227 opened 3 years ago

liguilan1227 commented 3 years ago

Thank you for your code. After your work I trained the SSD succesfully. While when I trained my own dataset rang in [480,600] by rectify the ssd7.py, I am confused by the param set. I choose 3 pre box, and could you tell me how to set the data set param? I had tried the Kmeans to find the aspect_ratio and boxes (k=9) and it concluded the [0.29, 0.29, 0.3, 0.31, 0.32, 0.32, 0.32, 0.33, 0.33]、 [[0.015625 0.04791667] [0.0171875 0.05833333] [0.0109375 0.03541667] [0.021875 0.06875 ] [0.009375 0.03125 ] [0.01875 0.05625 ] [0.0125 0.03958333] [0.0171875 0.05833333] [0.0140625 0.04375 ]] So, how should I set this param,could you help me please?