rykov8 / ssd_keras

Port of Single Shot MultiBox Detector to Keras
MIT License
1.1k stars 553 forks source link

loss function define? #159

Open chenwenqin opened 3 years ago

chenwenqin commented 3 years ago

I want to know why the location loss function is divided by negative samples number(num_neg) but the all sample (num_neg + num_pos),I really know the location loss is producted by negative samples, but implement in the paper is the divided all sample (num_neg + num_pos).