ssd_keras icon indicating copy to clipboard operation
ssd_keras copied to clipboard

[question]I have changed the network from ssd+vgg to ssd+resnet, do you know how to generate prior_boxes_ssd300.pkl?

Open KevinYuk opened this issue 7 years ago • 4 comments

As title.

KevinYuk avatar Mar 08 '17 00:03 KevinYuk

If you have changed the initial convolutional stacks from a VGG to a residual type architecture, you simply need to ensure that the output convolved tensors are the same after each of these two stacks. If you do so, you needn't change anything in the prior boxes.

fferroni avatar Mar 08 '17 14:03 fferroni

@fferroni Thanks very much for your comments. As is known, the topology of VGG and resnet are different from each other, and their output convolution tensors are not the same. My understanding is that prior_boxes_ssd300.pkl is the weights of VGG network part in SSD. That means if we change the imagenet part of the SSD from VGG to resnet, we have to pre-train this new imagenet network(aka: resnet) in the new SSD topology. Am I right?

KevinYuk avatar Mar 09 '17 00:03 KevinYuk

@KevinYuk prior_boxes_ssd300.pkl are the default bounding boxes used by SSD, not the weights of the VGG part.

gcucurull avatar Mar 20 '17 10:03 gcucurull

Hi @gcucurull ,

Thanks for your comments. If prior_boxes_ssd300.pkl are the default bounding boxes used by SSD, could I set prior_boxes_ssd300.pkl any value if I want to train the SSD network?

Thanks a lot.

KevinYuk avatar Mar 21 '17 04:03 KevinYuk