microsoft / microsoft/onnxruntime-inference-examples

Find input shape from onnx file in onnxruntime-node

Open
#127 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.7k
Forks
414
Avg merge
1d 6h
Merged PRs (30d)
14

Description

I'm trying to use onnxruntime-node, but I don't know how the inputs type and shape, all I know is inputNames and outputNames...

I would like to know if it is possible to get the inputs shape and type from the models!

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 by reviewing the onnxruntime-node usage that exposes inputNames and outputNames, then determine how model metadata is accessed. Done means documenting or exposing each model input's type and shape, with an example showing how to retrieve them.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.