Closed blinkbink closed 4 years ago
Hello @blinkbink, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook , Docker Image, and Google Cloud Quickstart Guide for example environments.
If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.
If this is a custom model or data training question, please note Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com.
You don’t need to resize them manually. It just works which is great.
I don’t know if there’s a “perfect” image size to use. It should be up to your experiment.
i took a dataset with 4k and trained with 640, however, it seems like I need to use --img-size=3840 with detect.py to detect correctly, anyway to get the best performance for any size?
@luvwinnie train and detect at the same --img-size for best results.
@glenn-jocher how about the size on training data but with base width is 640, i mean the base width is 640 but have various height like 320x640, 480x640, 221x640, so just can resize by width, not both height and width, because if i resize with same size 640x640 got strecth image
@blinkbink train and detect at the same --img-size for best results, such as the default --img 640.
yes sorry, i don't understand, i mean --image-size 640 is for 640x640 right ? how about various like 480x640, 320x640, 211x640 ?
@blinkbink you only supply the longest dimension, --img 640. The rest is handled automatically.
I have some few questions. Since I am a beginner to this bear with my innocence in this;
@kabilan-2001 for fastest results run at lower imgsz, for more accurate results run at higher imgsz.
For large objects use YOLOv5n6 rather than YOLOv5n.
@glenn-jocher Thanks for your inputs. I saw somewhere like to know the exact training image size we should be resizing the image and check whether the custom object to be trained on is visible to our eye. Is that way crct to analyze and pick a particular image size for training?
And also training on lower image size will reduce training time. But will it reduce inference times while testing ?
@oguzaktas inference sizes are independent of image sizes, with larger inference sizes produce better mAP at slower speeds. The compromise is your choice based on your priorities, I can't choose for you. See Tips for Best Training Results tutorial for more details.
Good luck 🍀 and let us know if you have any other questions!
❔Question
Thank you