microsoft / microsoft/onnxruntime
[RFC] Add torchvision/faster-rcnn inference example on cpp backend
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
**Is your feature request related to a problem? Please describe.**
[TorchVision](https://github.com/pytorch/vision) have supported `faster-rcnn` and `retinanet`, refer to [here](https://github.com/pytorch/vision/blob/7b9d30eb7c4d92490d9ac038a140398e0a690db6/test/test_onnx.py#L366), this two models can be export to `onnx` and infer with `onnxruntime` python backend. I wanne know whether there is a plan to add an inference example of this two models on cpp backend?
**System information**
- ONNX Runtime version (you are using): build from master branch
**Describe the solution you'd like**
Add an inference example of torchvision's `retinanet` or `faster-rcnn` on C++ backend
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked TorchVision test/test_onnx.py reference for faster-rcnn and retinanet, then review how ONNX Runtime represents C++ inference examples. Decide which model the example should cover and what the C++ backend entry point requires; done means the selected model has a working C++ inference example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, pytorch
- Domain
- backend, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100