Replies: 2 comments
-
👋 Hello @mark4653, thank you for your interest in Ultralytics 🚀! We recommend checking out our Docs for detailed information on custom training and dataset handling, as many questions like this may already be addressed there. If this is a ❓ Question related to custom training or dataset order, please provide additional context if possible, including your dataset details, the framework version you are using, and any relevant code snippets to help us better understand your requirements. Additionally, ensure you’re following our Tips for Best Training Results. If you aim to modify how batches are ordered, custom changes might be necessary in the source code. For reference, the For any 🐛 Bug Reports related to dataset loading or custom configurations, we kindly ask for a minimum reproducible example that demonstrates the behavior. Join the Ultralytics community to discuss ideas or ask questions directly:
UpgradeTo ensure the latest features and bug fixes are applied, upgrade your environment to the latest pip install -U ultralytics Verified EnvironmentsYOLO can be trained in the following verified environments. These come with all necessary dependencies pre-installed:
StatusIf this badge is green, all Ultralytics CI tests are passing. CI tests verify correct operation of YOLO Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit. This is an automated response, but don’t worry, an Ultralytics engineer will assist you further soon 🚀! |
Beta Was this translation helpful? Give feedback.
-
@mark4653 to customize the batch order during training, you would need to modify the data loading logic. The relevant code is in the |
Beta Was this translation helpful? Give feedback.
-
I understand that if you set the batch size to 16 for 64 images, the total images are learned by dividing them into 4 times, 16 each.
At this time, can I decide what image will be in each batch? (For example, when there are images from 1 to 64, I wonder if I can type from 17 to 32 in the first batch and from 1 to 16 in the second batch.)
If I have to modify the source because that feature is not supported, which part should I modify?
Beta Was this translation helpful? Give feedback.
All reactions