ONNX export failed on ATen operator upsample_trilinear3d?
See original GitHub issueThanks for sharing it. I used it in my network and i got the error as follows
/home/john/anaconda3/lib/python3.6/site-packages/torch/onnx/utils.py:418: UserWarning: ONNX export failed on ATen operator upsample_trilinear3d because torch.onnx.symbolic.upsample_trilinear3d does not exist
.format(op_name, op_name))
I think I am using the layer likes (pytorch 0.5, python 3.6, Ubuntu 16.04)
x = F.upsample(x, None, 2, 'trilinear')
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
ONNX export failed on ATen operator mv #27723 - GitHub
Bug I run this code on Colab Running torch.onnx.export gives this error. /content/DeOldify/deoldify/unet.py:56: TracerWarning: Converting a ...
Read more >PyTorch Model Export to ONNX Failed Due to ATen - Lei Mao
One of the problems causing the failure of converting PyTorch models to ONNX models is ATen operators. ATen stands for “A Tensor Library...
Read more >RuntimeError: ONNX export failed: Couldn't export operator ...
Trying to export the PyTorch model into the ONNX and I'm getting 'RuntimeError: ONNX export failed: Couldn't export operator ...
Read more >torch.onnx — PyTorch master documentation
Here is a simple script which exports a pretrained AlexNet as defined in ... does not exist RuntimeError: ONNX export failed: Couldn't export...
Read more >how can I do for Aten operator torch.mv when convert pytprch ...
torch.mv is an ATen op and it is not currently supported by the ONNX exporter. I'll send a PR to support this op....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry. I was missing. I have run the old code. Now, it has not error but still not print the graph of model. Let wait. I will paste my model and example
I go through the code in https://github.com/pytorch/pytorch/blob/master/torch/onnx/symbolic.py There is
upsample_bilinear2d
, but noupsample_trilinear3d
. Can you test again withx = F.upsample(x, None, 2, 'bilinear')
? If the error goes away, then I think updating onnx will not help.