Skip to content

When training the model, there is a warning that the size is incorrectWARNING ⚠️ updating to 'imgsz=1280'. 'train' and 'val' imgsz must be an integer, while 'predict' and 'export' imgsz may be a [h, w] list or an integer, i.e. 'yolo export imgsz=640,480' or 'yolo export imgsz=640' #16354

Answered by glenn-jocher
charming1202 asked this question in Q&A
Discussion options

You must be logged in to vote

@charming1202 the warning occurs because 'train' and 'val' require a single integer for imgsz. To train at a specific size, set imgsz=1280 or another integer that fits your needs.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@charming1202
Comment options

@glenn-jocher
Comment options

Answer selected by glenn-jocher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested detect Object Detection issues, PR's
3 participants