MTLab / onnx2caffe

pytorch to caffe by onnx
MIT License
370 stars 102 forks source link

how to define and implement Tanh operator in onnx2caffe ? #45

Closed elhmadany closed 2 years ago

elhmadany commented 2 years ago

I am facing this mistake in converting onnx model based on pytorch into caffe model:

"ONNX node of type {} is not supported.\n".format(node.op_type,) TypeError: ONNX node of type Tanh is not supported.

elhmadany commented 2 years ago

I followed the steps here and successfully converted!

https://segmentfault.com/a/1190000040069481/en