Closed Tsao666 closed 1 year ago
NonMaxSuppression is a dynamic operator, and maybe not suitable for tflite. You should not add "--include-nms" in export yolov7 onnx, remove it and try again.
I export onnx by this command:
python export.py --weights weights/yolov7-tiny.pt --grid --end2end --simplify --topk-all 100 --iou-thres 0.65 --conf-thres 0.35 --img-size 320 320 --max-wh 320
but still not work. any suggestion?
I'm run this command, and successed.
python export.py --weights ./yolov7-tiny.pt --grid --simplify
My yolov7 version is latest, maybe you should check cafefully. The convert command:
python converter.py --weights "./models/yolov7-tiny.onnx" --formats "keras"
I found that NMS operator would added when parameter --end2end
was set, remove it will be ok, thanks!
Hi,
I'm trying to convert YoloV7-tiny.onnx to keras by using cli command below
python converter.py --weights "yolov7-tiny.onnx" --formats "keras"
but raise exception:
anyone know how to fix it?