onnx / onnx/models

convert onnx/modelzoo/shuffnet.onnx failed

Open
#109 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
9.8k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

I want to convert onnx model zoo shufflenet model.onnx to caffe2 init.pb and predict.pb, but it show error as follows:

File "demo.py", line 30, in
init_net, predict_net = c2.onnx_graph_to_caffe2_net(model)
File "/home/parker/anaconda2/envs/demo/lib/python3.6/site-packages/caffe2/python/onnx/backend.py", line 940, in onnx_graph_to_caffe2_net
return cls._onnx_model_to_caffe2_net(model, device=device, opset_version=opset_version, include_initializers=True)
File "/home/parker/anaconda2/envs/demo/lib/python3.6/site-packages/caffe2/python/onnx/backend.py", line 933, in _onnx_model_to_caffe2_net
raise RuntimeError('ONNX conversion failed')
RuntimeError: ONNX conversion failed

anyone help?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the conversion shown in demo.py for onnx/modelzoo/shuffnet.onnx and inspect the failure in caffe2/python/onnx/backend.py. Compare the model and environment details with the conversion requirements; done means the model converts successfully into init.pb and predict.pb.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.