microsoft / microsoft/onnxruntime

ONNX Runtime on Nvidia Jetson only 2FPS

Open
#6,637 1 comment 0 reactions 1 assignee View on GitHub

@jywu-mysoft is already working on this.

Since Feb 16, 2021.

Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

The Inference of custom trained SSD_MobileNetv2 on Nvidia Jetson Nano is too slow.

Workflow:
Trained Model:
[frozen_graph_infer.zip](https://github.com/microsoft/onnxruntime/files/5956619/frozen_graph_infer.zip)
Convert it to ONNX-Format with tf2onnx tool:
[inference.zip](https://github.com/microsoft/onnxruntime/files/5956621/inference.zip)
Run Inference Script:
[solectrix_inference.zip](https://github.com/microsoft/onnxruntime/files/5956628/solectrix_inference.zip)

Expected Behaviour:
at least 10 FPS (onnxRT call should take >100ms)

Real Behaviour:
![grafik](https://user-images.githubusercontent.com/76259573/107482714-5c181480-6b80-11eb-953a-0332d8433e48.png)
Runtime of function call session.run() takes ~ 500ms

**System information**
Inference on Nvidia Jetson Nano
- ONNX Runtime version: onnxruntime_gpu-1.4.0
- Python version: 3.6
- JetPack 4.4: (based on Ubuntu 18)
- TensorRT 7.1.3
- CUDA 10.2
- cuDNN 8.0

Thank you guy and have a great day!

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.