Skip to content

yuyoujiang/Run-YOLOv8-in-One-Line-on-Jetson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Run-YOLOv8-in-One-Line-on-Jetson

Do you want to deploy Yolo on Jetson using a single line command?This repo can help you achieve. Considering that red error messages during the environment setup process can potentially affect everyone's mood, we have decided to hide most of the warnings and error messages.

Getting Start

Before deploying YOLOv8, please ensure that you have a hardware device with an installed operating system.

The only command you need to execute is:

git clone https://github.com/yuyoujiang/Run-YOLOv8-in-One-Line-on-Jetson && python Run-YOLOv8-in-One-Line-on-Jetson/run.py

Arguments Introduction

You can choose between different CV tasks, models, and deployment options like official documents. Please view the details using the following command:

python <path to this script>/run.py -h
  • --task : The CV task what you want to test. Supported "detect", "classify", "segment" and "pose". Default to detect. Refer to here for more information.
  • --model : The model name. You can find the name of the model you want to use here. Default to yolov8n.
  • --use_trt : Use tensorTR for inference. If can't find a tensorRT model, create one.
  • --use_half : FP16 quantization when export a tensorRT model.
  • --source : path to input video or camera id. Default to 0(camera id). Refer to here.

Another Option

In fact, the most troublesome process is the configuration process of the running environment. Therefore, the repository provides a one-line option to configure the running environment.

git clone https://github.com/yuyoujiang/Run-YOLOv8-in-One-Line-on-Jetson && python Run-YOLOv8-in-One-Line-on-Jetson/setup_env.py

And then, you can run yolov8 follow this link.

References

https://github.com/ultralytics/
https://wiki.seeedstudio.com
https://wiki.seeedstudio.com/YOLOv8-TRT-Jetson/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages