YOLOv9

YOLOv9 marks a significant advancement in real-time object detection, introducing groundbreaking techniques such as Programmable Gradient Information (PGI) and the Generalized Efficient Layer Aggregation Network (GELAN). This model demonstrates remarkable improvements in efficiency, accuracy, and adaptability, setting new benchmarks on the MS COCO dataset.

Model

Test Size

APval

AP50val

AP75val

Param.

FLOPs

640

38.3%

53.1%

41.3%

2.0M

7.7G

640

46.8%

63.4%

50.7%

7.1M

26.4G

640

51.4%

68.1%

56.1%

20.0M

76.3G

640

53.0%

70.2%

57.8%

25.3M

102.1G

640

55.6%

72.8%

60.6%

57.3M

189.0G

Install YOLOv9

git clone https://github.com/SkalskiP/yolov9.git
cd yolov9
pip3 install -r requirements.txt -q

Let’s set a HOME directory with which to work:

import os
HOME = os.getcwd()
print(HOME)

Next, you need to download the model weights. Only the v9-C and v9-E weights are available at the moment. You can download them using the following commands:

!mkdir -p {HOME}/weights
!wget -P {HOME}/weights -q https://github.com/WongKinYiu/yolov9/releases/download/v0.1/yolov9-c.pt
!wget -P {HOME}/weights -q https://github.com/WongKinYiu/yolov9/releases/download/v0.1/yolov9-e.pt
!wget -P {HOME}/weights -q https://github.com/WongKinYiu/yolov9/releases/download/v0.1/gelan-c.pt
!wget -P {HOME}/weights -q https://github.com/WongKinYiu/yolov9/releases/download/v0.1/gelan-e.pt

Last updated