rykov8 / ssd_keras

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

implementing prior bounding boxes as keras layers? #71

Open BenMacKenzie opened 7 years ago

BenMacKenzie commented 7 years ago

is there any particular reason to implement the bounding box priors as a layer in the keras model? if i'm reading this correctly, it only ever gets used again during post-processing of the prediction. is it to 'auto-configure' the priors based on input size etc... by detecting input from previous layer?

j

rykov8 commented 7 years ago

@BenMacKenzie yep, it's for auto-configuring priors based on a layers' outputs.

SeaOfOcean commented 7 years ago

Make PriorBox a keras layer, will it compute input gradient in backward?