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
博主您好,我在onnx转engine哪一步遇到问题Network has dynamic or shape inputs, but no optimization profile has been defined. 我尝试通过将exportOnxx中的torch.onnx.export中的参数dynamic_axes={'input': {0: 'batch_size'}, 'output': {0: 'batch_size'}}删除后,发现可以生成engine并且能跑通整个流程,但是在运行./yolosort时报错Parameter check failed at: engine.cpp::setBindingDimensions::1044......(使用摄像头能运行就是会报错) 我尝试查阅tensortrt的官方文档发现有部分人存在这个问题,官方文档确实提供了一些说明,我查阅了您的代码后发现您写的代码和官方提供的代码sampleDynamicReshape.cpp都是通过定义profile的方式来实现动态推理,但是我这边仍报Error,请问您方便回复下吗
The text was updated successfully, but these errors were encountered:
博主您好,我在onnx转engine哪一步遇到问题Network has dynamic or shape inputs, but no optimization profile has been defined. 我尝试通过将exportOnxx中的torch.onnx.export中的参数dynamic_axes={'input': {0: 'batch_size'}, 'output': {0: 'batch_size'}}删除后,发现可以生成engine并且能跑通整个流程,但是在运行./yolosort时报错Parameter check failed at: engine.cpp::setBindingDimensions::1044......(使用摄像头能运行就是会报错) 我尝试查阅tensortrt的官方文档发现有部分人存在这个问题,官方文档确实提供了一些说明,我查阅了您的代码后发现您写的代码和官方提供的代码sampleDynamicReshape.cpp都是通过定义profile的方式来实现动态推理,但是我这边仍报Error,请问您方便回复下吗
The text was updated successfully, but these errors were encountered: