-
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
[TensorRT] ERROR: INVALID_ARGUMENT: Cannot find binding of given name: input_0 #322
Comments
I have an unsupported layer called: pixel_shuffle in my model, and I think it causes the problem: |
I think you need to write some converters for those unsupported layers. |
Thanks for the reply. I think you are right. I tried to use a custom plugin for this op but still does not work out. Do you know any easy way to create a custom plugin within torch2trt? |
@hive-cas Just look at the converters torch2trt implements and create a custom plugin your own. |
Hi hive-cas, have you successfully converted pixel_shuffle? |
Sadly. Still no. There are too many errors I cannot figure out. |
I am facing the same issue, i joined the comment ~ |
@hive-cas Hi! I have faced the same problem with pixel_shuffle layer in my network. Have you found the ready-to-use solution for this layer? Thank you! |
I implement a very simple network and try to convert it using torch2trt:
I only use two conv2d layers and nothing else.
The conversion code is like:
Simple, right?
When I use the model:
it gives me this fucking error. I check the dimensions of "out", and it shows:
torch.Size([1, 1, 1, 2160, 3840])
If I do not convert the model, it works just fine, by giving:
torch.Size([1, 1, 2160, 3840]), which is the target output I want.
I cannot just figure out why such simple code cannot be converted, and I do not know what this error means.
I use ubuntu18.04 cuda10.2, cudnn7.6.5 with trt 7.0.11, and the lateset torch2trt with plugin. ``
The text was updated successfully, but these errors were encountered: