Update of instructions for using custom models in Yolov8 [README.md] (#1590)
* Update of instructions for using custom models in Yolov8 [README.md] * Update README.md Fix ultralytics<=8.2.103
This commit is contained in:
parent
4ce6f20693
commit
0f75fd75f8
3
yolov8/README.md
Normal file → Executable file
3
yolov8/README.md
Normal file → Executable file
@ -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.
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user