This commit is contained in:
Glenn Jocher 2019-10-13 13:11:40 +02:00
parent 811b3b693f
commit 0985dc91d5
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@ def train():
multi_scale = opt.multi_scale multi_scale = opt.multi_scale
if multi_scale: if multi_scale:
img_sz_min = round(img_size / 32 / 1.5) + 1 img_sz_min = 7 # round(img_size / 32 / 1.5) + 1
img_sz_max = round(img_size / 32 * 1.5) - 1 img_sz_max = 27 # round(img_size / 32 * 1.5) - 1
img_size = img_sz_max * 32 # initiate with maximum multi_scale size img_size = img_sz_max * 32 # initiate with maximum multi_scale size
print('Using multi-scale %g - %g' % (img_sz_min * 32, img_size)) print('Using multi-scale %g - %g' % (img_sz_min * 32, img_size))