Open HuKai97 opened 2 weeks ago
👋 Hello @HuKai97, 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 🐛 Bug Report, please provide a minimum reproducible example to help us debug it.
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.
Pip install the ultralytics
package including all requirements in a Python>=3.8 environment with PyTorch>=1.8.
pip install ultralytics
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.
Hello! 👋
For the YOLOv8n model pre-trained on the COCO dataset, you can find the training parameter configuration in the coco.yaml
file. Here's a quick example of how you might load and train the model using this configuration:
from ultralytics import YOLO
# Load a pretrained YOLOv8n model
model = YOLO('yolov8n.pt')
# Train the model with COCO dataset configuration
results = model.train(data='coco.yaml', epochs=100, imgsz=640)
This will train the model for 100 epochs with an image size of 640. You can adjust the epochs
and imgsz
as needed for your specific requirements.
If you need the exact configuration file, it's typically located in the data
directory of the repository or can be specified directly in your training script as shown above.
Hope this helps! Let me know if you have any more questions. 😊
Search before asking
Question
Can you send me a copy of the training parameter configuration of yolov8n's coco pre-training?
Additional
No response