Ssd.pytorch: in config.py, did min_sizes and max_sizes mean scale?

Created on 24 Nov 2017  路  5Comments  路  Source: amdegroot/ssd.pytorch

Nice work, thanks very much. But I have a little question:

    'min_sizes' : [30, 60, 111, 162, 213, 264],

    'max_sizes' : [60, 111, 162, 213, 264, 315],

Did this mean the scale of default boxes in ssd? Why did you set in this way?why is it different with 0.2-0.95 in the original caffe implementation?

Most helpful comment

the size of default box in caffe is also different from paper. min_size means the minimum object size in the current layer. you can change the sizes in order to fit your object size.

All 5 comments

the size of default box in caffe is also different from paper. min_size means the minimum object size in the current layer. you can change the sizes in order to fit your object size.

Actually, the paper and the origin caffe implement have some differences, so if you want to match this, you need read the origin caffe code

@AndrewZhao could you elaborate a bit on that? What does the "minimum object size in the current layer" means? For instance, the last layer, which is 1x1, is for finding big objects, that would occupy the whole input image. What do the min_size=264 and max_size=315 mean in such a case? And also in the first layer, which is 38x38, what do the min_size=30 and max_size=60 mean?

Who should I set them for a new dataset? Should I measure the objects in their original dimensions and compute some statistics?

Many thanks.

@chi0tzp This size is relative to origin image size(such as 300x300). A helpful tutorial to understand this repo. Learning Note Single Shot MultiBox Detector with Pytorch

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isalirezag picture isalirezag  路  4Comments

oarriaga picture oarriaga  路  4Comments

xinyu1214 picture xinyu1214  路  5Comments

Elyorcv picture Elyorcv  路  4Comments

DHZS picture DHZS  路  5Comments