You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 Hello @ternaus, thank you for your interest in Ultralytics YOLOv8 🚀! We recommend a visit to the Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered.
If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results.
Join the vibrant Ultralytics Discord 🎧 community for real-time conversations and collaborations. This platform offers a perfect space to inquire, showcase your work, and connect with fellow Ultralytics users.
YOLOv8 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLOv8 Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit.
@ternaus it looks like the issue is related to the data argument not being set in your args dictionary, which is required by the DetectionValidator to locate the dataset configuration. You can fix this by specifying the data argument with the path to your dataset configuration file in the args dictionary. Here's how you can adjust your code:
Make sure to replace "path/to/your/dataset_config.yaml" with the actual path to your dataset configuration file. This file should specify details about your dataset such as path, classes, etc.
If you don't have a dataset configuration file, you'll need to create one according to the YOLOv8 dataset format. This typically includes paths to your training and validation images and annotations, as well as class names and other metadata.
After making this adjustment, your custom validator should be able to locate and load the dataset correctly.
Search before asking
Question
Code:
Error:
Additional
No response
The text was updated successfully, but these errors were encountered: