You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: Yi-hash1 ***@***.***>
发送时间: 2024年4月9日 14:47
收件人: FeiYull/TensorRT-Alpha ***@***.***>
抄送: yyyyyycui ***@***.***>, Author ***@***.***>
主题: Re: [FeiYull/TensorRT-Alpha] Cuda12.1+tensorrt10.0 运行C++yolov8工程报错,提示getBindingDimensions 不是 nvinfer1::IExecutionContext成员 代码C2039 (Issue #108)
解决了,是版本的问题,修改为tensorrt8.6.1.6.版本就解决了
想问下你是修改了哪个文件
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
感谢作者的工程分享,我这边使用Cuda12.1+tensorrt10.0+pytroch2.2的配置。来尝试在win10环境下,运行yolov8 C++推理。
出现报错“getBindingDimensions 不是 nvinfer1::IExecutionContext成员 代码C2039”。
这是否是因为tensorrt版本不是教程中的8.x导致的呢?
此外我这边在编译ONNX的时候也提示没有buildOnly这个参数,去掉后编译成功, tensorrt10.0也没有nvparsers.lib 这个文件
../../../../TensorRT-10.0/bin/trtexec.exe --onnx=yolov8s.onnx --saveEngine=yolov8s.trt --buildOnly --minShapes=images:1x3x640x640 --optShapes=images:4x3x640x640 --maxShapes=images:8x3x640x640
The text was updated successfully, but these errors were encountered: