赞
踩
torch 1.12.1
torchaudio 0.12.1
torchvision 0.13.1
onnx 1.12.0
onnxconverter-common 1.12.2
onnxmltools 1.11.1
onnxruntime 1.12.1
python3 export.py --weights yolov7.pt --grid --simplify --topk-all 100 --img-size 640 640 --max-wh 640
atc \
--model=./yolov7.onnx \
--framework=5 \
--output=./yolov7_bs1 \
--input_format=NCHW \
--input_shape="images:1,3,640,640" \
--soc_version=Ascend310P3 \
--log=info
python3 detect.py --weights yolov7.pt --conf 0.25 --img-size 640 --device cpu --source inference/images/horses.jpg
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。