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
-
I set the imgsz parameter to [1280,720] before training the yolov8 model, and WARNING |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
👋 Hello @charming1202, thank you for reaching out and sharing your experience with the Ultralytics 🚀! This is an automated response, and an Ultralytics engineer will assist you soon. It seems like you're encountering a warning related to the For immediate guidance, I recommend reviewing the Python and CLI examples in our Docs 📚. If you'd like real-time interaction, feel free to join our Discord 🎧. For more in-depth discussions, check out our Discourse or our Subreddit. UpgradeMake sure you are using the latest version of pip install -U ultralytics Recommended EnvironmentsYOLOv8 can be used in the following environments with all dependencies preinstalled:
StatusThe green status of our CI tests indicates that all YOLOv8 functionalities are working correctly across various platforms. Stay tuned for further assistance from our team! 😊 |
Beta Was this translation helpful? Give feedback.
-
@charming1202 the warning occurs because 'train' and 'val' require a single integer for |
Beta Was this translation helpful? Give feedback.
@charming1202 the warning occurs because 'train' and 'val' require a single integer for
imgsz
. To train at a specific size, setimgsz=1280
or another integer that fits your needs.