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
When I convert a PyTorch model to onnx and then use TensorRT to parse it, I get this error.
[8] Assertion failed: (transformationMode == "asymmetric") && "This version of TensorRT only supports asymmetric resize!"
From this issue #273, I notice that tensorRt has an IResizeLayer with align_coerners and gives the same output as Pytorch when align_corners=True. I just wonder if it is possible to convert "interpolation with align_corners=True" from Pytorch to TensorRt
Environment
TensorRT Version: 7.0 GPU Type: T4 Nvidia Driver Version: CUDA Version: 10.2 CUDNN Version: 7.6.5 Operating System + Version: ubuntu 18.04 Python Version (if applicable): 3.6 TensorFlow Version (if applicable): PyTorch Version (if applicable): 1.4.0 Baremetal or Container (if container which image + tag): TensorRT Release 20.02
Description
When I convert a PyTorch model to onnx and then use TensorRT to parse it, I get this error.
From this issue #273, I notice that tensorRt has an IResizeLayer with align_coerners and gives the same output as Pytorch when align_corners=True. I just wonder if it is possible to convert "interpolation with align_corners=True" from Pytorch to TensorRt
Environment
TensorRT Version: 7.0
GPU Type: T4
Nvidia Driver Version:
CUDA Version: 10.2
CUDNN Version: 7.6.5
Operating System + Version: ubuntu 18.04
Python Version (if applicable): 3.6
TensorFlow Version (if applicable):
PyTorch Version (if applicable): 1.4.0
Baremetal or Container (if container which image + tag): TensorRT Release 20.02
Relevant Files
Steps To Reproduce
The code of the model
The text was updated successfully, but these errors were encountered: