convert onnx/modelzoo/shuffnet.onnx failed
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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