revert value of gs back to 32(from 64) (#1317)
This commit is contained in:
parent
dc06836968
commit
10dc08f91b
2
train.py
2
train.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue