ShuangXieIrene / ssds.pytorch

Repository for Single Shot MultiBox Detector and its variants, implemented with pytorch, python3.
MIT License
571 stars 166 forks source link

[Question] What is "Free Image Size" ? #28

Open gachiemchiep opened 5 years ago

gachiemchiep commented 5 years ago

Hello @ShuangXieIrene and @foreverYoungGitHub .

Thank you for your great contribution.

As the title said, what is "Free Image Size" ?

In the .cfg file, there are several settings as below. If i want to change the IMAGE_SIZE: [300, 300] to IMAGE_SIZE: [512, 512], then do i have to change the other parameters as well ? If that's so, how can i change those ?

MODEL:
  SSDS: ssd
  NETS: resnet_50
  IMAGE_SIZE: [300, 300]
  NUM_CLASSES: 21
  FEATURE_LAYER: [[10, 16, 'S', 'S', '', ''], [512, 1024, 512, 256, 256, 256]]
  STEPS: [[8, 8], [16, 16], [32, 32], [64, 64], [100, 100], [300, 300]]
  SIZES: [[30, 30], [60, 60], [111, 111], [162, 162], [213, 213], [264, 264], [315, 315]]
  ASPECT_RATIOS: [[1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2], [1, 2]]

Thank you for your time

ZLeopard commented 5 years ago

Firstly thank you for this, but there's something wrong with your description, it's feature "Free Image Size" definitely can't work. hope to fix earlier......

gachiemchiep commented 5 years ago

@ZLeopard

So did you mean that currently "Free Image Size" feature does not work as the description ???

ZLeopard commented 5 years ago

i think so , the parameter of "STEPS" and "SIZE" is related to the input size of 300, so you know what i mean~~~

gachiemchiep commented 5 years ago

@ZLeopard

I will go deeper into the source and look for further information

Damon2019 commented 4 years ago

你好@ShuangXieIrene和@foreverYoungGitHub 。

谢谢你的贡献。

正如标题所说,什么是“免费图像尺寸”?

在.cfg文件中,有以下几种设置。如果我想将IMAGE_SIZE:[300,300]更改为IMAGE_SIZE:[512,512],那么我是否还必须更改其他参数?如果是这样,我怎么能改变那些?

MODEL:
  SSDS: ssd
  NETS: resnet_50
  IMAGE_SIZE: [300, 300]
  NUM_CLASSES: 21
  FEATURE_LAYER: [[10, 16, 'S', 'S', '', ''], [512, 1024, 512, 256, 256, 256]]
  STEPS: [[8, 8], [16, 16], [32, 32], [64, 64], [100, 100], [300, 300]]
  SIZES: [[30, 30], [60, 60], [111, 111], [162, 162], [213, 213], [264, 264], [315, 315]]
  ASPECT_RATIOS: [[1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2], [1, 2]]

感谢您的时间

@foreverYoungGitHub hi,Have you succeeded? can you tell me how to do? thanks very much