ZoomNet icon indicating copy to clipboard operation
ZoomNet copied to clipboard

Extra scale

Open H33J1N opened this issue 3 years ago • 1 comments

Hi. I'm impressed by your awesome zoomnet method. And I have a question about the code. On sod_zoomnet config, there's a config name ms.exta_size. And the config is used on baseSODdataset. And the annotation explain the value as "extra-scale for multi-scale learning". But I can't find the usage of these extra-scale information. Because the model gets the data consist of only 1.5, 1.0, 0.5. Therefore, could you explain the details and usage of extra-scale size? Thank you.

H33J1N avatar Aug 23 '22 01:08 H33J1N

@H33J1N

Hi, please see the method collate_fn at: https://github.com/lartpang/ZoomNet/blob/1f329e80db5469eaf6a513ec384cd19bafdaece2/dataset/base_dataset.py#L90-L95

Here, a scale will be randomly sampled from the preset scale set to adjust the size of the entire batch.

lartpang avatar Aug 23 '22 03:08 lartpang