Skip to content

🐛 [Bug] EfficientDet conversion failed #660

Closed
@vinhngx

Description

@vinhngx

Bug Description

EfficientDet conversion failed with:

RuntimeError: [Error thrown at core/conversion/conversion.cpp:118] Expected converter to be true but got false
Unable to convert node: %25577 : int = aten::Int(%25576), scope: __module.backbone/__module.backbone.conv_stem (conversion.AddLayer)
Schema: aten::Int.Tensor(Tensor a) -> (int)
Converter for aten::Int requested, but no such converter was found.

To Reproduce

A prototype notebook is available at:
https://github.com/vinhngx/TRTorch/blob/efficientdet/notebooks/efficientdet-object-detection-demo.ipynb

Steps to reproduce the behavior:

  1. Docker image: ./docker/Dockerfile.21.06

Expected behavior

Environment

Build information about the TRTorch compiler can be found by turning on debug messages

  • TRTorch Version (e.g. 0.2.0):
  • PyTorch Version (e.g. 1.0):
  • CPU Architecture:
  • OS (e.g., Linux):
  • How you installed PyTorch (conda, pip, libtorch, source):
  • Build command you used (if compiling from source):
  • Are you using local sources or building from archives:
  • Python version:
  • CUDA version:
  • GPU models and configuration:
  • Any other relevant information:

Additional context

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions