Edwardwaw / ttfnet

9 stars 0 forks source link

What is the purpose of multi_scale keyword? #2

Open gasharper opened 1 year ago

gasharper commented 1 year ago

I noticed that a keyword _multiscale defined in centernet.yaml, and it is used in line126~128:

if len(self.hyper_params['multi_scale']) > 2:
    target_size = np.random.choice(self.hyper_params['multi_scale'])
    img_tensor = interpolate(img_tensor, mode='bilinear', size=target_size, align_corners=False)

what happens when _hyper_params['multiscale'] is a list with more than 2 elements, and why design this keyword?