edgetpu-yolo
edgetpu-yolo copied to clipboard
option error
Hello,
I trying to detection test with *.mp4
python detect.py -m yolov5s-int8_edgetpu_416.tflite --stream test_1min.mp4
I got this error
usage: EdgeTPU test runner [-h] --model MODEL [--bench_speed] [--bench_image] [--conf_thresh CONF_THRESH] [--iou_thresh IOU_THRESH] [--names NAMES] [--image IMAGE] [--device DEVICE] [--stream] [--bench_coco] [--coco_path COCO_PATH] [--quiet] EdgeTPU test runner: error: unrecognized arguments: test_1min.mp4
and I tried image
python detect.py --model yolov5s-int8_edgetpu_416.tflite --image bus.jpg
INFO:EdgeTPUModel:Confidence threshold: 0.25
INFO:EdgeTPUModel:IOU threshold: 0.45
INFO:EdgeTPUModel:Loaded 80 classes
INFO:EdgeTPUModel:Successfully loaded E:\AI\model\yolov5s-int8_edgetpu_416.tflite
INFO:__main__:Testing on user image: bus.jpg
INFO:EdgeTPUModel:Attempting to load bus.jpg
I can't find detected image. I think there is no saving code
I modified some part for testing.
python detect.py -m yolov5s-int8_edgetpu_416.tflite --stream
and I could execute detect.py . (CPU load was about 50%) but the detected box could not be found.
How to fix?