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

yolov7,official,int8,onnx-> trt报错 #108

Closed
simplew2011 opened this issue Aug 30, 2023 · 3 comments
Closed

yolov7,official,int8,onnx-> trt报错 #108

simplew2011 opened this issue Aug 30, 2023 · 3 comments

Comments

@simplew2011
Copy link

image

@simplew2011 simplew2011 changed the title yolov7,int8,onnx-> trt报错 yolov7,official,int8,onnx-> trt报错 Aug 30, 2023
@simplew2011
Copy link
Author

wget https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7.pt
python export.py --weights ./yolov7.pt --grid --end2end --simplify --topk-all 100 --iou-thres 0.65 --conf-thres 0.35 --img-size 640 640
git clone https://github.com/Linaom1214/tensorrt-python.git
python ./tensorrt-python/export.py -o yolov7.onnx -e yolov7-nms.trt -p fp16  ---> ok
python ./tensorrt-python/export.py -o yolov7.onnx -e yolov7-nms-int8.trt -p int8 --calib_input /home/vastai/nvbenchmark/data/detection/det_coco_calib --end2end --conf_thres 0.25 --iou_thres 0.45  ---> error

@simplew2011
Copy link
Author

Affected by --end2end ?

@Linaom1214
Copy link
Owner

请参考本项目最新的文档

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