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

AttributeError: 'tensorrt.tensorrt.INetworkDefinition' object has no attribute 'add_padding'. Did you mean: 'add_padding_nd'? #21

Open
My12123 opened this issue Dec 23, 2024 · 0 comments

Comments

@My12123
Copy link
Contributor

My12123 commented Dec 23, 2024

Yes, when using TensorRT 10, the error is "AttributeError: 'tensorrt.tensorrt.INetworkDefinition' object has no attribute 'add_padding'. Did you mean: 'add_padding_nd?'" occurs due to improper use of the method.

In TensorRT 10, the INetworkDefinition.add_padding() method has been replaced by INetworkDefinition.add_padding_nd().

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

1 participant