KeyError: '475' mobilenet imagenet inference notebook
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 9.8k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Traceback (most recent call last):
File "app.py", line 20, in
sym, arg_params, aux_params = import_model('mobilenetv2-7.onnx')
File "/home/user/.local/lib/python3.8/site-packages/mxnet/contrib/onnx/onnx2mx/import_model.py", line 60, in import_model
sym, arg_params, aux_params = graph.from_onnx(model_proto.graph, opset_version=model_opset_version)
File "/home/user/.local/lib/python3.8/site-packages/mxnet/contrib/onnx/onnx2mx/import_onnx.py", line 116, in from_onnx
inputs = [self._nodes[i] for i in node.input]
File "/home/user/.local/lib/python3.8/site-packages/mxnet/contrib/onnx/onnx2mx/import_onnx.py", line 116, in
inputs = [self._nodes[i] for i in node.input]
KeyError: '475'
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 reproducing the traceback from app.py line 20 with mobilenetv2-7.onnx, then inspect mxnet/contrib/onnx/onnx2mx/import_model.py and import_onnx.py around the reported line 116. Done means the model imports without the KeyError and the ImageNet inference notebook completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, 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