Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train the selected model structure for your dataset #12792

Open
1 task done
smallMantou opened this issue May 18, 2024 · 3 comments
Open
1 task done

Train the selected model structure for your dataset #12792

smallMantou opened this issue May 18, 2024 · 3 comments
Labels
question Further information is requested

Comments

@smallMantou
Copy link

Search before asking

Question

Hello, I have some questions about training my own dataset. I want to start training my dataset from scratch. How do I know if my model is based on n, s, m, or l? How can I make changes to train S? Does the following image indicate that I am based on n
n

Additional

No response

@smallMantou smallMantou added the question Further information is requested label May 18, 2024
@deepukr007
Copy link

I think AMP check always happens on yolov8n, I see the same thing everytime.. You can ignore it.
If your YAML file has name such as yolov8s_{....} .yaml your model will be based on yolov8s..
You can also cross check this by looking at the total model parameters .

@smallMantou
Copy link
Author

How can I change it to be based on YOLOv8S?

@glenn-jocher
Copy link
Member

Hello! To switch your model base to YOLOv8s, you'll need to use a YOLOv8s model configuration file. You can specify this in your training command by replacing the model argument with the path to a YOLOv8s YAML file. For example:

yolo detect train data=your_dataset.yaml model=yolov8s.yaml epochs=100 imgsz=640

Make sure you have the yolov8s.yaml file in your directory, or you can download it from the Ultralytics repository if it's not already included. This will set up your training to use the YOLOv8s architecture. Happy training! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants