Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to convert pt to onnx? #19

Open
sssssshf opened this issue Aug 15, 2023 · 1 comment
Open

how to convert pt to onnx? #19

sssssshf opened this issue Aug 15, 2023 · 1 comment

Comments

@sssssshf
Copy link

how to convert pt to onnx? what about the shell codes?
python export.py --weights yolov7.pt --grid --end2end --simplify
--topk-all 100 --iou-thres 0.65 --conf-thres 0.35 --img-size 640 640 --max-wh 640

@ibaiGorordo
Copy link
Owner

If you convert it like that make sure to modify the script to be like yolov7_detector = YOLOv7(model_path, conf_thres=0.3, iou_thres=0.5, official_nms=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants