Giter VIP home page Giter VIP logo

Comments (3)

glenn-jocher avatar glenn-jocher commented on July 3, 2024

@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:

  1. 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.

  2. 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.

AntyRia avatar AntyRia commented on July 3, 2024

Thank you for your reply, this is very important to me!

from ultralytics.

glenn-jocher avatar glenn-jocher commented on July 3, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.