grimoire / mmdetection-to-tensorrt

convert mmdetection model to tensorrt, support fp16, int8, batch input, dynamic shape etc.
Apache License 2.0
581 stars 84 forks source link

Run “mmdet2trt -h”,it shows "ImportError: cannot import name 'create_meshgrid_plugin' from 'torch2trt_dynamic.plugins' (/home/jac/wmj/grid/torch2trt_dynamic/torch2trt_dynamic/plugins/__init__.py)". How can I fix it? I have installed torch2trt_dynamic. #130

Open superprogrammai opened 1 month ago

superprogrammai commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Code snippet about how to reproduce the bug.

environment: Please provide your environment by:

python tools/collect_env.py

Please paste the result here.

Additional context Add any other context about the problem here.

grimoire commented 1 month ago

https://github.com/grimoire/torch2trt_dynamic/tree/master/torch2trt_dynamic/plugins

create_meshgrid_plugin has been deprecated in latest version.