We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
温馨提示:根据社区不完全统计,按照模板提问,可以加快回复和解决问题的速度
模型转换参数 ~/tensorrt/TensorRT-8.6.1.6/bin/trtexec --onnx=fusionmodel_final_inNHWC-float32-255_outNHWC-float32-1.onnx --saveEngine=x86/fusionmodel_final_inNHWC-float32-255_outNHWC-float32-1.trt --sparsity=enable --noTF32 --fp16 --int8 --skipInference --minShapes=img_vis:1x100x100x3,img_ir:1x100x100x1 --optShapes=img_vis:1x480x640x3,img_ir:1x480x640x1 --maxShapes=img_vis:1x480x640x3,img_ir:1x480x640x1 --builderOptimizationLevel=0
加载tensorrt模型时报错:
The text was updated successfully, but these errors were encountered:
juncaipeng
No branches or pull requests
温馨提示:根据社区不完全统计,按照模板提问,可以加快回复和解决问题的速度
环境
-DENABLE_PADDLE_BACKEND=OFF
-DENABLE_OPENVINO_BACKEND=OFF
-DENABLE_TRT_BACKEND=ON
-DCMAKE_BUILD_TYPE=DEBUG
-DWITH_GPU=ON
-DCUDA_DIRECTORY=/usr/local/cuda
-DCMAKE_INSTALL_PREFIX=/usr/local/
-DENABLE_VISION=ON
-DENABLE_TEXT=ON
-DBUILD_EXAMPLES=ON
-DTRT_DIRECTORY=${PWD}/../../thirdlibs-x86/tensorrt/TensorRT-8.6.1.6
-DOPENCV_DIRECTORY=/usr/local/share/OpenCV/
-DOPENVINO_DIRECTORY=${PWD}/../../thirdlibs-x86/openvino
问题日志及出现问题的操作流程
模型转换参数
~/tensorrt/TensorRT-8.6.1.6/bin/trtexec
--onnx=fusionmodel_final_inNHWC-float32-255_outNHWC-float32-1.onnx
--saveEngine=x86/fusionmodel_final_inNHWC-float32-255_outNHWC-float32-1.trt
--sparsity=enable
--noTF32
--fp16
--int8
--skipInference
--minShapes=img_vis:1x100x100x3,img_ir:1x100x100x1
--optShapes=img_vis:1x480x640x3,img_ir:1x480x640x1
--maxShapes=img_vis:1x480x640x3,img_ir:1x480x640x1
--builderOptimizationLevel=0
加载tensorrt模型时报错:
The text was updated successfully, but these errors were encountered: