microsoft / microsoft/onnxruntime

[Feature Request] Incomplete implementation of RoiAlign

Open
#14,265 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

### Describe the feature request

onnxruntime shows this message when `mode=="max"` for RoiAlign: `The existing summation for max mode and sampling ratios besides 1 is incorrect and will be fixed in the next ORT 1.13 release. Thus the results of RoiAlign will be different.`.

Is that expected?

### Describe scenario use case

See issue https://github.com/onnx/onnx/issues/4764.

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.

Research direction

Start by locating the RoiAlign implementation and review the linked ONNX issue for the expected behavior. Investigate the warning for max mode with sampling ratios besides 1, and define completion as matching the expected ONNX behavior without the reported discrepancy.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.