Comments (3)
@AntyRia hi there! 😊
Thank you for your kind words and for using our project!
Regarding your question about incremental training, it's crucial to maintain consistency in class labels between your initial and subsequent training sessions. Specifically:
-
Class Order Consistency: The order of the classes in your
train_classes.txt
should remain the same as in your initial training. This ensures that the model correctly interprets the class indices. -
YAML File Alignment: Ensure that the
train_classes.txt
aligns with the class definitions in your corresponding YAML file. The indices (0, 1, 2, etc.) should consistently map to the same classes (person, head, car, etc.).
Here's a quick example to illustrate:
Initial Training:
train_classes.txt
:person head car
- YAML file:
names: [person, head, car]
Incremental Training:
train_classes.txt
:person head car
- YAML file:
names: [person, head, car]
Maintaining this consistency ensures that the model continues to learn correctly without any misinterpretation of class labels.
If you encounter any issues or have further questions, please feel free to share a minimum reproducible code example. This will help us better understand and address your problem. You can refer to our guide on creating a minimum reproducible example here.
Lastly, please ensure you are using the latest versions of torch
and ultralytics
to avoid any compatibility issues.
Happy training! 🚀
from ultralytics.
Thank you for your reply, this is very important to me!
from ultralytics.
@AntyRia you're welcome! 😊
To ensure we can assist you effectively, could you please provide a minimum reproducible code example? This will help us understand the issue better and work towards a solution. You can find guidance on creating one here.
Additionally, please make sure you're using the latest versions of torch
and ultralytics
. If not, upgrading might resolve the issue.
Looking forward to your response! 🚀
from ultralytics.
Related Issues (20)
- Error Code 2: Internal Error (Assertion cublasStatus == CUBLAS_STATUS_SUCCESS failed. ) HOT 4
- Yolov10 Can't get attribute 'SCDown' on <module 'ultralytics.nn.modules.block' from 'C:\\Users\\ZHANG\\miniconda3\\lib\\site-packages\\ultralytics\\nn\\modules\\block.py'> HOT 20
- yolov8 -- After the cache is turned on, the memory occupied by reading val data is too large HOT 5
- YOLOv10 Performance Issue: Version 3.12 Fast, But 3.11 and Below Very Slow HOT 8
- yolo8 onnx in opencv HOT 2
- Is OBB available for yolov9 and v10 ? HOT 1
- Clamping in bbox2dist HOT 1
- Question about code of position embedding in rt-detr HOT 5
- Process group init fails when training YOLOv8 after successful tunning [Databricks] [single node GPU] HOT 4
- Train with single gpu HOT 3
- Yolo8-OnnxRuntime-CPP-Inference awful output HOT 6
- confusion matrix single HOT 3
- How to add the bounding box values to the labels text files during prediction with a trained YOLO-V8 instance segmentation model? HOT 4
- Class imabalance dataloader HOT 1
- Replace confidence score for forward pass for. yolov8. Default is 0.25 HOT 5
- The Yolov8 model is wrong in predicting probability HOT 9
- Superfluous line in Model HOT 2
- Re train yolov8n.pt to detect more objects from a custom dataset? HOT 12
- image 1/1 D:\yolov8\ultralytics-main\ultralytics\assets\bus.jpg: 640x480 (no detections), 510.2ms Speed: 15.5ms preprocess, 510.2ms inference, 18.0ms postprocess per image at shape (1, 3, 640, 480) HOT 4
- How to Shut Down Wandb HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ultralytics.