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

Be able to create dataset from annotated images only #2466

Merged
merged 2 commits into from
Mar 15, 2021

Commits on Mar 14, 2021

  1. Be able to create dataset from annotated images only

    Add the ability to create a dataset/splits only with images that have an annotation file, i.e a .txt file, associated to it. As we talked about this, the absence of a txt file could mean two things:
    
    * either the image wasn't yet labelled by someone,
    * either there is no object to detect.
    
    When it's easy to create small datasets, when you have to create datasets with thousands of images (and more coming), it's hard to track where you at and you don't want to wait to have all of them annotated before starting to train. Which means some images would lack txt files and annotations, resulting in label inconsistency as you say in ultralytics#2313. By adding the annotated_only argument to the function, people could create, if they want to, datasets/splits only with images that were labelled, for sure.
    kinoute committed Mar 14, 2021
    Configuration menu
    Copy the full SHA
    3424a3c View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Configuration menu
    Copy the full SHA
    500e749 View commit details
    Browse the repository at this point in the history