onnx / onnx/models

Error using ONNX Model zoo pb tests files

Open
#543 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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?

Any Onnx Model Zoo model inside classification/vision path

Describe the bug

I'm trying to use test data files with protobuf TensorProtos, according with Model Zoo Readme (https://github.com/onnx/models#usage-). Has anyone use them with onnx runtime? I got an error related with the output/input size.

Reproduction instructions

System Information

  • OS Platform and Distribution: Ubuntu 20.04.4 LTS
  • ONNX Runtime installed from pip: 1.9.0
  • Python version: 3.8.10
  • Visual Studio version (if applicable): 1.69.0
  • GCC/Compiler version (if compiling from source): 9.4.0
  • CUDA/cuDNN version: NO NEED, CPU use only, Python and Jupyter notebooks
  • GPU model and memory: NONE
  • gluoncv version: 0.10.5
  • matplotlib version: 3.4.3
  • numpy version: 1.23.0
  • mxnet version: 1.9.0.
  • onnx version: 1.12.0
  • protobuf version: 3.16.0
    outputfail
    test

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 with the Model Zoo README usage section and the classification/vision test data referenced there. Reproduce the reported input/output-size error using the listed Python, ONNX Runtime, protobuf, and notebook environment, then determine whether the TensorProto files are supported and what usage or compatibility change is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
machine-learning, testing
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.