Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

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

Open
KevinYuk opened this issue Mar 8, 2017 · 4 comments

Comments

@KevinYuk
Copy link

KevinYuk commented Mar 8, 2017

As title.

@KevinYuk KevinYuk changed the title [question]I have change the network from ssd+vgg to ssd+resnet, do you know how to generate prior_boxes_ssd300.pkl? [question]I have changed the network from ssd+vgg to ssd+resnet, do you know how to generate prior_boxes_ssd300.pkl? Mar 8, 2017
@fferroni
Copy link

fferroni commented Mar 8, 2017

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.

@KevinYuk
Copy link
Author

KevinYuk commented Mar 9, 2017

@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?

@gcucurull
Copy link

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

@KevinYuk
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants