onnx / onnx-caffe2

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

Onnx 'helper' and 'checker' attribute are not defined #204

Closed anirudhacharya closed 6 years ago

anirudhacharya commented 6 years ago

I have onnx 0.2.1 installed on my conda virtual environment

conda list | grep onnx

packages in environment at /Users/aanirud/anaconda2/envs/onnx:

onnx 0.2.1 py27_1 ezyang onnx-caffe2 0.2.1 py27hbe716ef_1 ezyang onnx-mxnet 0.4.1

But I am not able to use the onnx.checker or onnx.helper attributes -

import onnx onnx.checker.check_model("toy_model.onnx") Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'checker'

Get the same error when I try to use onnx.helper.