Skip to content

Conversation

@electriclilies
Copy link
Contributor

@electriclilies electriclilies commented Feb 10, 2021

This PR adds max mode to ROI align.

The ONNX version of max mode in ROI align is incorrect (see microsoft/onnxruntime#6146), so I'm not testing ROI align with max mode against onnx's ROI align with max mode, even though I added max mode to the onnx importer.

I also add inf and -inf to hybridscript in this PR.
@jwfromm @mbrookhart @CircleSpin please take a look!

Copy link
Contributor

@jwfromm jwfromm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's a little code duplication that could be removed but otherwise this LGTM. Thanks Lily!

@electriclilies
Copy link
Contributor Author

@junrushao1994 in case you want to take a look at adding inf, and ninf to hybridscript!

@junrushao
Copy link
Member

thanks @electriclilies! That part looks pretty good to me

Copy link
Contributor

@mbrookhart mbrookhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@masahi masahi merged commit 564aae0 into apache:main Feb 17, 2021
@electriclilies electriclilies deleted the roi_align branch February 17, 2021 00:03
Lokiiiiii pushed a commit to Lokiiiiii/tvm that referenced this pull request Mar 2, 2021
* ROI align with max on cpu passes

* onnx test file was not running gpu testsgit status!

* all passing

* fix lint

* lint again

* lint

* lint

* typo

* remove import

* fix import

* add inf, -inf to hybridscript and respond to comments

* shorten code

* make atol lower
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Mar 2, 2021
* ROI align with max on cpu passes

* onnx test file was not running gpu testsgit status!

* all passing

* fix lint

* lint again

* lint

* lint

* typo

* remove import

* fix import

* add inf, -inf to hybridscript and respond to comments

* shorten code

* make atol lower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants