Ssd_keras: How to generate prior_boxes_ssd300.pkl

Created on 18 Dec 2016  路  4Comments  路  Source: rykov8/ssd_keras

Hi, your implementation is really great!
But I have a question. If I want to detect some small objects and I want to detect from conv3, should I change prior_boxes_ssd300.pkl? I think this pkl is in the same format with the class PriorBox, but I don't know how to generate the pkl, can you give me some advices?
Thank you in advance.

Most helpful comment

@xyq676419 I write some code to regenerate prior_boxes_ssd300.pkl. Prior boxes are directly related to the network structure. New prior boxes can be created by setting "box_configs" variable in the script according to the structure of your new network.

All 4 comments

@xyq676419 you dont need to generate them. look up issue #19

@primebuilder Sorry, I think i need to generate them, because I change the structure of the network. I predict the model once and get prior_boxes_ssd300.pkl from the outputs and save it. But the outputs from the model are a little different form the pkl file, the outputs boxes is a little smaller.

@xyq676419 I write some code to regenerate prior_boxes_ssd300.pkl. Prior boxes are directly related to the network structure. New prior boxes can be created by setting "box_configs" variable in the script according to the structure of your new network.

@xyq676419
Hi xyq676419,

Could you please tell me how to get the prior_boxes_ssd300.pkl file? Because I have changed the network topology.

Thanks a lot.

Was this page helpful?
0 / 5 - 0 ratings