onnx / onnx/models

Deprecated old models may need to be updated

Open
#439 2 comments 0 reactions 1 assignee View on GitHub

@wenbingl is already working on this.

Since Apr 28, 2021.

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

Description

Bug Report

Which model does this pertain to?

A bunch of models can't be run by ONNX Runtime. Some ops are not supported by ONNX runtime for now.

As this repo is strongly connected with ONNX, I think it may be necessary to upgrade the models here.

Describe the bug

All error begin with:

[ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node XXXX

I will list the models and their corresponding error, with format:

error:
model:
# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Block386:Div(1)
# model: models/vision/classification/mnist/model/mnist-1.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Gemm(6)
# model: models/vision/classification/rcnn_ilsvrc13/model/rcnn-ilsvrc13-6.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Relu(1)
# models/vision/classification/squeezenet/model/squeezenet1.0-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node BatchNormalization(1)
# models/vision/classification/resnet/model/resnet50-caffe2-v1-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node BatchNormalization(6)
# models/vision/classification/resnet/model/resnet50-caffe2-v1-6.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Relu(1)
# models/vision/classification/vgg/model/vgg19-caffe2-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Gemm(6)
# models/vision/classification/vgg/model/vgg19-caffe2-6.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node BatchNormalization(1)
# models/vision/classification/densenet-121/model/densenet-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node BatchNormalization(6)
# models/vision/classification/shufflenet/model/shufflenet-8.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node BatchNormalization(1)
# models/vision/classification/shufflenet/model/shufflenet-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Relu(1)
# models/vision/classification/alexnet/model/bvlcalexnet-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Gemm(6)
# models/vision/classification/alexnet/model/bvlcalexnet-6.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Relu(1)
# models/vision/classification/caffenet/model/caffenet-6.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Gemm(6)
# models/vision/classification/caffenet/model/caffenet-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Gemm(6)
# models/vision/classification/zfnet-512/model/zfnet512-6.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Relu(1)
# models/vision/classification/zfnet-512/model/zfnet512-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node AveragePool(1)
# models/vision/classification/inception_and_googlenet/inception_v1/model/inception-v1-6.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node Relu(1)
# models/vision/classification/inception_and_googlenet/inception_v1/model/inception-v1-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node BatchNormalization(1)
# models/vision/classification/inception_and_googlenet/inception_v2/model/inception-v2-3.onnx

# [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for the node BatchNormalization(6)
# models/vision/classification/inception_and_googlenet/inception_v2/model/inception-v2-6.onnx

Reproduction instructions

Use model path mentioned above

import onnxruntime as rt
sess = rt.InferenceSession(model_path)

System Information

OS Platform and Distribution : Linux Ubuntu 20.04
ONNX version: 1.8.1
Backend/Runtime version: onnxruntime 1.7.0

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.