Skip to content

Remove File mismatch for YOLO #480

Description

@1abhishekpandey2

For training a yolo model we label the images. Each labeled image has its corresponding text file with same name as the image containing coordinated of th bounding box in the image. But during the process either some text files or images are missing which hinders the training making the model think that the object is not in the image resulting in low accuracy. This script deletes any image with out label or any text file without image. In short it cleans the data, a part of data preprocessing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions