Rebase Python example from ioir123ju/tkDNN/master/
This commit is contained in:
@@ -208,6 +208,7 @@ Once you have succesfully created your rt file, run the demo:
|
||||
./demo yolo4_fp32.rt ../demo/yolo_test.mp4 y
|
||||
```
|
||||
In general the demo program takes 7 parameters:
|
||||
|
||||
```
|
||||
./demo <network-rt-file> <path-to-video> <kind-of-network> <number-of-classes> <n-batches> <show-flag>
|
||||
```
|
||||
@@ -225,6 +226,13 @@ N.b. By default it is used FP32 inference
|
||||
|
||||

|
||||
|
||||
## PYTHON
|
||||
To run the an object detection demo with python (example with yolov4):
|
||||
```
|
||||
python darknetTR.py build/yolo4_fp16.rt --video=demo/yolo_test.mp4
|
||||
```
|
||||
|
||||
|
||||
### FP16 inference
|
||||
|
||||
To run the an object detection demo with FP16 inference follow these steps (example with yolov3):
|
||||
|
||||
Reference in New Issue
Block a user