Skip to content

roi_align and roi_pool cannot be scripted due to type annotation issue #3737

@neginraoof

Description

@neginraoof

🚀 Feature

roi_align anf roi_pool cannot be scripted due to type annotation issue

boxes: Tensor,

boxes: Tensor,

The input "boxes" can be either a tensor or list, however the type annotation does not cover the list case.
Once JIT support Union types the annotation should be updated to Union of Tensor and List.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions