yolov5 6.1 yolov5 6.2 yolov5 7.0 导出onnx
python export.py yolov5s.pt --include onnx
python video
import cv2
import time
import sys
import numpy as np
def build_model(is_cuda):
net = cv2.dnn.readNet("yolov5s.onnx")
yolov5 6.1 yolov5 6.2 yolov5 7.0 导出onnx
python export.py yolov5s.pt --include onnx
python video
import cv2
import time
import sys
import numpy as np
def build_model(is_cuda):
net = cv2.dnn.readNet("yolov5s.onnx")