When trying to use torch.onnx.export on my model, I get the following traceback of an error:
Traceback (most recent call last):
_  File “onnx.py”, line 100, in _
_    torch.onnx.export(net,inputs,‘blah.onnx’,export_params=True)_
_  File “/home/aseewald/anaconda3/lib/python3.5/site-packages/torch/onnx.py”, line 74, in export_
_    export(model, args, f, export_params, verbose, training)
_  File “/home/aseewald/anaconda3/lib/python3.5/site-packages/torch/onnx.py”, line 98, in export
_    torch._C.jit_pass_onnx(trace)
RuntimeError: untraced buffer
Does anybody reading this question know what an untraced buffer means in this context, and what if anything I can do to move forward? This error occurs across a wide variety of models I’m trying to export with onnx.