yolor icon indicating copy to clipboard operation
yolor copied to clipboard

How to train with Image size 416 416?

Open Minseokkim-0124 opened this issue 2 years ago • 0 comments

I want to test with image size 416 but, because of max stride the img size stretch to 448. WARNING: --img-size 416 must be multiple of max stride 64, updating to 448 (In colab I can see these Warning words)

If I edit the code in the train.py # Image sizes gs = 52 #int(max(model.stride)) # grid size (max stride) imgsz, imgsz_test = [check_img_size(x, gs) for x in opt.img_size] # verify imgsz are gs-multiples If the error occurs what can I do?

Minseokkim-0124 avatar May 12 '22 11:05 Minseokkim-0124