onnx / onnx/models

How to export the insightface mxnet model to onnx model which is same as the onnx model given to download.

Open
#240 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I exported the insightface mxnet model with mxnet 1.5 and onnx 1.3(comment spatial=1) and I cannot build the tensor RT engine with tensorRT 6, the error is:
[TensorRT] ERROR: (Unnamed Layer* 7) [Parametric ReLU]: slope tensor must be unidirectional broadcastable to input tensor
[TensorRT] ERROR: Network must have at least one output

and I found the onnx net structure is different from the onnx model given to download.

How to export the arcface mxnet model that can be converted to tensorRT engine?

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 comparing the exported insightface MXNet ONNX structure with the downloadable ONNX model, using the reported MXNet 1.5 and ONNX 1.3 settings. Investigate the TensorRT 6 errors about PReLU broadcasting and missing outputs. Done means documenting or reproducing an export path that produces a TensorRT-compatible model.

Written by the indexing model from the issue text.

Assessment

Domain
machine-learning
Issue type
Bug
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.