Coder Social home page Coder Social logo

identify_box_error's Introduction

identify_box_error

Identifying Object Detection Errors for YOLO model

Motivation

Inspired by the paper,

@inproceedings{tide-eccv2020,
  author    = {Daniel Bolya and Sean Foley and James Hays and Judy Hoffman},
  title     = {TIDE: A General Toolbox for Identifying Object Detection Errors},
  booktitle = {ECCV},
  year      = {2020},
}

And this reference https://medium.com/data-science-at-microsoft/error-analysis-for-object-detection-models-338cb6534051

Features

  • Support YOLO txt format
  • Support OBB(oriented bounding box) format defined by YOLOv8
  • A summary plot for your model’s errors
    • Error Proportion

      Error Proportion Result
    • Delta-mAP

      Error Proportion Result
    • Histogram

      Error Proportion Result
    • Error annotation

      Error Proportion Result

Documentation

Install

Create your conda environment and install the dependencies.

$ conda create --name box_analyze python=3.12
$ conda activate box_analyze
$ pip install poetry
$ cd <this_repo>
$ poetry install
Verify the installation

Unit test

$ python -m pytest test
Usage
python main.py 
--yaml_path <the data.yaml used by yolov8> 
--data_subset <train, val or test> 
--predict_folder_path <the output folder used by yolov8>
--analysis_folder_path <the output folder used by this project>
--is_obb
  • Ex.

    yaml_path = "datasets/cfg/coco128.yaml"

    data_subset = "tarin"

    predict_folder_path = "/run/detect/"

    analysis_folder_path = "predictions/analyzed_train"

    is_obb is for telling this project to handle an oriented bounding box dataset

Limitation
  • Currently, this project reads the cache file generated by yolov8.

    The path of dataset is defined in the yaml file you provide.

identify_box_error's People

Contributors

annsonic avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

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.