-
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
Does torch2trt support conversion on torch.nn.functional.avg_pool2d
?
#457
Comments
torch.nn.functional.avg_pool2d
?
Hmm, okay I managed to fixed this issue. It's due to the default With that, I did the following changes in
Hope it help! Cheers. |
Hello, my TensorRT version is 6.0.1.5 and i encountered the same problem.
I have changed:
but it still not working... |
@Cheahom @oliviawindsir i tried your steps but did not solve it , but i am getting new error |
check padding or what else may cause error:
I fixed it by changing padding codes in |
Hi guys, I need help to find out more about the error of unsupported argument types invoked by IPoolingLayer.
I was trying to convert a model which consist of resnet50 + Deepmar by this repo and save the serialized engine:
However, torch2trt is throwing error below when converting
torch.nn.functional.avg_pool2d
. I checked the codebase and seems like torch2trt do indeed support the conversion for this layer.I would like to seek for guidance/help on pinpointing what is the problem with converting
torch.nn.functional.avg_pool2d
. Perhaps someone can point me on where to start to debug this problem? Thanks a bunch!Extra info:
Snippet of code that calls the conversion:
The text was updated successfully, but these errors were encountered: