-
Notifications
You must be signed in to change notification settings - Fork 681
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
Encountered known unsupported method torch.bmm #367
Comments
Hi Water2style, Thanks for reaching out! Currently, there is not a registered converter for the Please let me know if this helps, or you run into any issues. I'm curious if you're able to get this to work. Best, |
Thank you john! |
Hi John, it works! Thank you @tensorrt_converter('torch.bmm') Other code use your README, And the results: check the output against Pytorch: |
Great to hear! Let me know how it works with your image data. Best, |
It works well with my image data ! |
@jaybdub hi John, I am a first learner of tensorrt, now I want to define and use a custom layer by tensorrt_converter, is there any tutorials or demos, especially how to implement a layer such as layer = ctx.network.add_pooling ? I need to transfer x[x == 0] = e-3 from pytorch model to trt model. Thanks. |
@Water2style |
@Water2style I add this converter to "torch2trt/torch2trt/converters/ ” in this git,but it cann't work. |
begin to convert:
Warning: Encountered known unsupported method torch.bmm
[TensorRT] ERROR: INVALID_ARGUMENT: Cannot find binding of given name: input_0
tensor(2.24113e-05, device='cuda:0', grad_fn=)
The text was updated successfully, but these errors were encountered: