microsoft / microsoft/MoGe

[Official] ONNX Export Support with Dynamic Shapes

Open
#83 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

As previously discussed in #20, many users have encountered challenges when exporting models to ONNX, particularly when handling dynamic input shapes. The main difficulties include:

  • Untraceable dynamic shape induction: ONNX export requires all dynamic reshaping operations to be driven by explicit shape tensors passed as inputs. This is often non-trivial to restructure.

  • On-the-fly UV encoding: Some modules generate UV encodings based on the input aspect ratio and spatial dimensions. These often introduce large constant tensors into the exported graph, which bloats the model and complicates correct export.

We are working on resolving these issues.
Feel free to leave a comment here if you’ve run into similar problems or have ideas on how to improve the export process.

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 reading the prior discussion in #20 and the examples of dynamic-shape and UV-encoding export problems described here. The issue does not name files, tests, or a specific entry point; clarify the target export cases and acceptance criteria before implementation. Done should mean dynamic-shape exports work without bloated constant tensors.

Written by the indexing model from the issue text.

Assessment

Domain
computer-vision, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.