-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError: bev_pool_v2 is not in the plugin list of tensorrt #38
Comments
There appears to be an issue with the installation of mmdeploy ([email protected]:drilistbox/mmdeploy.git). We kindly recommend following the https://github.com/Yzichen/FlashOCC/blob/master/doc/install.md meticulously to ensure the proper setup of the environment. |
There's a small bug in the linked tutorial https://github.com/Yzichen/FlashOCC/blob/master/doc/install.md in"step 6. (Optional) Install mmdeploy for tensorrt testing"
should be
Also, one may have trouble installing "onnxruntime-gpu==1.8.1"(it's a very old version that might no longer be available in the source), a possible alternative is version 1.10.0( "pip onnxruntime-gpu==1.10.0" and download from https://github.com/microsoft/onnxruntime/releases/download/v1.10.0/onnxruntime-linux-x64-1.10.0.tgz), which worked for me. |
Thanks for your suggestion |
I also encountered the same problem, have you solved it? |
(FlashOcc) (base) zyx@zyx: |
Hi, I have already installed mmdeploy from git clone [email protected]:drilistbox/mmdeploy.git, but there is an error when I used the command: python tools/convert_bevdet_to_TRT.py $config $checkpoint $work_dir --fuse-conv-bn --fp16
Could you please give me some instructions? Thank you.
(FlashOcc) 3@1:~/FlashOCC-master-V2$ python tools/convert_bevdet_to_TRT.py $config $checkpoint $work_dir --fuse-conv-bn --int8 --calib_num 256
2024-05-09 18:00:45,267 - mmdeploy - INFO - Successfully loaded tensorrt plugins from /home/xinjishu-workstation3/FY/FlashOCC-master-V2/mmdeploy/build/lib/libmmdeploy_tensorrt_ops.so
Traceback (most recent call last):
File "tools/convert_bevdet_to_TRT.py", line 560, in
main()
File "tools/convert_bevdet_to_TRT.py", line 311, in main
assert 'bev_pool_v2' in get_plugin_names(),
AssertionError: bev_pool_v2 is not in the plugin list of tensorrt, please install mmdeploy from https://github.com/HuangJunJie2017/mmdeploy.git
The text was updated successfully, but these errors were encountered: