Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of instructions for using custom models in Yolov8 [README.md] #1590

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion yolov8/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ The tensorrt code is derived from [xiaocao-tian/yolov8_tensorrt](https://github.

- TensorRT 8.0+
- OpenCV 3.4.0+
- ultralytics<=8.2.103

## Different versions of yolov8

Currently, we support yolov8

- For yolov8 , download .pt from [https://github.com/ultralytics/assets/releases](https://github.com/ultralytics/assets/releases), then follow how-to-run in current page.

## Config

- Choose the model n/s/m/l/x/n2/s2/m2/l2/x2/n6/s6/m6/l6/x6 from command line arguments.
Expand Down Expand Up @@ -60,7 +62,6 @@ python gen_wts.py -w yolov5nu.pt -o yolov5nu.wts -t detect
### Detection
```
cd {tensorrtx}/yolov8/
// update kNumClass in config.h if your model is trained on custom dataset
mkdir build
cd build
cp {ultralytics}/ultralytics/yolov8.wts {tensorrtx}/yolov8/build
Expand Down
Loading