Open MichaelMonashev opened 2 hours ago
Command to genarate yolov7x.onnx:
python3 export.py --weights yolov7x.pt --grid --end2end --simplify --topk-all 100 --iou-thres 0.65 --conf-thres 0.35 --img-size 640 640 --max-wh 640 --dynamic-batch
Error occur with --dynamic-batch
argument only. With fixed batch size onnx2tf works without errors.
export.py
from https://github.com/WongKinYiu/yolov7/
yolov7x.pt
from https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7x.pt
Issue Type
Others
OS
Linux
onnx2tf version number
1.25.12
onnx version number
1.16.2
onnxruntime version number
1.19.2
onnxsim (onnx_simplifier) version number
0.4.36
tensorflow version number
2.17.0
Download URL for ONNX
https://drive.google.com/file/d/1PlXNBPGgNLyy-MKJJRe-yzakSZtJCtT6/view?usp=sharing
Parameter Replacement JSON
Description