-
Notifications
You must be signed in to change notification settings - Fork 201
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
Cuda12.1+tensorrt10.0 运行C++yolov8工程报错,提示getBindingDimensions 不是 nvinfer1::IExecutionContext成员 代码C2039 #108
Comments
解决了,是版本的问题,修改为tensorrt8.6.1.6.版本就解决了 |
想问下你是修改了哪个文件 |
我是把tensorrt10.0卸载了,安装了安装教程中的tensorrt8.6.1.6版本,希望能对你有所帮助
…------------------ 原始邮件 ------------------
发件人: 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: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
感谢作者的工程分享,我这边使用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: