onnx / onnx-caffe2

Caffe2 implementation of Open Neural Network Exchange (ONNX)
Other
165 stars 66 forks source link

Hello guys I keep bumping into this error #291

Closed problemsniper closed 6 years ago

problemsniper commented 6 years ago

File "/anaconda2/envs/pytorch/lib/python2.7/site-packages/onnx_caffe2/backend.py", line 439, in prepare super(Caffe2Backend, cls).prepare(model, device, **kwargs) File "/anaconda2/envs/pytorch/lib/python2.7/site-packages/onnx/backend/base.py", line 53, in prepare onnx.checker.check_model(model) File "/anaconda2/envs/pytorch/lib/python2.7/site-packages/onnx/checker.py", line 154, in check_model check_graph(model.graph) File "/anaconda2/envs/pytorch/lib/python2.7/site-packages/onnx/checker.py", line 127, in check_graph check_node(node) File "/anaconda2/envs/pytorch/lib/python2.7/site-packages/onnx/checker.py", line 40, in check_node 'NodeProto of type {} did not pass defs schema check.'.format(str(node.op_type))) ValueError: NodeProto of type BatchNormalization did not pass defs schema check.

problemsniper commented 6 years ago

Can someone help me with why I get this error when i am trying to load a onnx model using caffe2?

My ENV: MacOS Anaconda with python 3.6