GithubHelp home page GithubHelp logo

yolov9mit's Introduction

YOLO: Official Implementation of YOLOv{7, 9}

WIP

Important

This project is currently a Work In Progress and may undergo significant changes. It is not recommended for use in production environments until further notice. Please check back regularly for updates.

Use of this code is at your own risk and discretion. It is advisable to consult with the project owner before deploying or integrating into any critical systems.

Welcome to the official implementation of YOLOv7 and YOLOv9. This repository will contains the complete codebase, pre-trained models, and detailed instructions for training and deploying YOLOv9.

TL;DR

  • This is the official YOLO model implementation with an MIT License.
  • For quick deployment: you can enter directly in the terminal:
pip install [email protected]:WongKinYiu/YOLO.git
yolo task=inference task.source=0 # source could be a single file, video, image folder, webcam ID

Introduction

Installation

To get started with YOLOv9, clone this repository and install the required dependencies:

git clone [email protected]:WongKinYiu/YOLO.git
cd YOLO
pip install -r requirements.txt

Features

  • Autodownload weights/datasets
  • Pip installable
  • Support for devices:
    • CUDA
    • MPS (PyTorch 2.3+)
    • CPU
  • Task:
    • Training
    • Inference
    • Validation

Task

These are simple examples. For more customization details, please refer to Notebooks and lower-level modifications HOWTO.

Training

To train YOLOv9 on your dataset:

  1. Modify the configuration file data/config.yaml to point to your dataset.
  2. Run the training script:
python yolo/lazy.py task=train task.data.batch_size=8 model=v9-c

Transfer Learning

To perform transfer learning with YOLOv9:

python yolo/lazy.py task=train task.data.batch_size=8 model=v9-c dataset={dataset_config} device={cpu, mps, cuda}

Inference

To evaluate the model performance, use:

python yolo/lazy.py task=inference weight=weights/v9-c-deploy.pt model=v9-c-deploy # use deploy weight
python python yolo/lazy.py task=inference # if cloned from GitHub
yolo task=inference task.data.source={Any} # if pip installed

Validation [WIP]

To validate the model performance, use:

# Work In Progress...

Contributing

Contributions to the YOLOv9 project are welcome! See CONTRIBUTING for guidelines on how to contribute.

Star History

Star History Chart

Citations

@misc{wang2024yolov9,
      title={YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information},
      author={Chien-Yao Wang and I-Hau Yeh and Hong-Yuan Mark Liao},
      year={2024},
      eprint={2402.13616},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

yolov9mit's People

Contributors

henrytsui000 avatar lucytuan avatar wongkinyiu avatar laiethanlai avatar chilin0525 avatar iurisilvio avatar samwang0807 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.