revert value of gs back to 32(from 64) (#1317)

This commit is contained in:
FuLin 2020-06-19 12:54:57 -04:00 committed by GitHub
parent dc06836968
commit 10dc08f91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def train(hyp):
imgsz_min, imgsz_max, imgsz_test = opt.img_size # img sizes (min, max, test) imgsz_min, imgsz_max, imgsz_test = opt.img_size # img sizes (min, max, test)
# Image Sizes # Image Sizes
gs = 64 # (pixels) grid size gs = 32 # (pixels) grid size
assert math.fmod(imgsz_min, gs) == 0, '--img-size %g must be a %g-multiple' % (imgsz_min, gs) assert math.fmod(imgsz_min, gs) == 0, '--img-size %g must be a %g-multiple' % (imgsz_min, gs)
opt.multi_scale |= imgsz_min != imgsz_max # multi if different (min, max) opt.multi_scale |= imgsz_min != imgsz_max # multi if different (min, max)
if opt.multi_scale: if opt.multi_scale: