Skip to content
This repository was archived by the owner on Aug 30, 2018. It is now read-only.
This repository was archived by the owner on Aug 30, 2018. It is now read-only.

Fail to convert caffe2 module to onnx module.  #177

@Lucasyc

Description

@Lucasyc

I can't convert a caffe2 module to onnx module.
I first tried the example on README and then write a MINST module myself, both of them generated the following error messages.
I am using x86_64 w/ Ubuntu 14.04 and no GPUs currently.
Thanks in advance for any suggestions!

Traceback (most recent call last):
File "caffe2toonnx.py", line 25, in
value_info,
File "/users/lucasyc/anaconda2/lib/python2.7/site-packages/onnx_caffe2/frontend.py", line 517, in caffe2_net_to_onnx_model
model = make_model(cls.caffe2_net_to_onnx_graph(*args, **kwargs))
File "/users/lucasyc/anaconda2/lib/python2.7/site-packages/onnx_caffe2/frontend.py", line 357, in caffe2_net_to_onnx_graph
cls._ssa_rewrite(predict_net, init_net, value_info)
File "/users/lucasyc/anaconda2/lib/python2.7/site-packages/onnx_caffe2/frontend.py", line 492, in _ssa_rewrite
assert re.match('GivenTensor.*Fill', op.type)
AssertionError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions