Robert-JunWang / Pelee

Pelee: A Real-Time Object Detection System on Mobile Devices
Apache License 2.0
885 stars 254 forks source link

about mean_value and scale #64

Open JPBoost opened 5 years ago

JPBoost commented 5 years ago

Hi Robert, thanks for your paper and codes, great work!

I noticed that the in train_voc.py and train_coco.py, there are data transform_param: scale:0.017 mean_value:103.94,116.78,123.68

and in MobileNet_SSD, the transform_param seems to be: scale: 0.007843 mean_value: 127.5, 127.5, 127.5

both transform_params are ok for train and test as I have trained MobileNet_SSD and Pelee for my own data (to detect head and have only 1 class)

So I have two questions here:

  1. where these transform_params come from?
  2. how did they impact mAP and FPS?

looking forward for your reply, thank you!

zhwis commented 5 years ago

@vincent8877, How to use your own data to train the accuracy of the model in pelee?I also have only one class