Skip to content

Errors while trying validate the quantized MNIST model using the same protobuf inputs that come with the non quantized model #3

Description

@clairiky

Errors while trying validate the quantized MNIST model using the same protobuf inputs that come with the non quantized model

Traceback (most recent call last):
File "mnist_validate.py", line 62, in
session = onnxruntime.InferenceSession('quantized_model.onnx', None)
File "C:\Program Files\Python36\lib\site-packages\onnxruntime\capi\session.py", line 29, in init
self._sess.load_model(path_or_bytes)
RuntimeError: [ONNXRuntimeError] : 10 : INVALID_GRAPH : Load model from quantized_model.onnx failed:Node:sequential/reshape/strided_slice Node (sequential/reshape/strided_slice) has input size 1 not in range [min=3, max=5].

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions