yolor
yolor copied to clipboard
How to train with Image size 416 416?
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?