Hi,
I try to convert my own network from pytorch to ONNX, but I get this error:
Traceback (most recent call last):
File “net_converter.py”, line 50, in 
main()
File “/usr/local/lib/python3.5/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.5/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.5/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.5/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/usr/lib/python3.5/contextlib.py”, line 77, in exit
self.gen.throw(type, value, traceback)
File “/usr/local/lib/python3.5/dist-packages/click/core.py”, line 87, in augment_usage_errors
yield
File “/usr/local/lib/python3.5/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “net_converter.py”, line 44, in main
torch_out = torch.onnx._export(net, var, “sample.onnx”, export_params=True)
File “/usr/local/lib/python3.5/dist-packages/torch/onnx/init.py”, line 137, in _export
proto = trace.export(list(model.state_dict().values()))
RuntimeError: ONNX export failed: Couldn’t export Python operator Scatter
May be anyone know how it can be fixed?
Thanks in advance!