Skip to content
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

TensorRT Support in FBOCC? #44

Open
maueki opened this issue Aug 19, 2024 · 0 comments
Open

TensorRT Support in FBOCC? #44

maueki opened this issue Aug 19, 2024 · 0 comments

Comments

@maueki
Copy link

maueki commented Aug 19, 2024

Hi,

Does FBOCC support execution with TensorRT? When I try to run benchmark_trt.py, I encounter the following error:

$ python3 tools/analysis_tools/benchmark_trt.py ./occupancy_configs/fb_occ/fbocc-r50-cbgs_depth_16f_16x4_20e.py ckpts/fbocc-r50-cbgs_depth_16f_16x4_20e.pth
08/08 16:10:48 - mmengine - INFO - Successfully loaded tensorrt plugins from /home/blaize/work/fb-bev/fb-bev-venv/lib/python3.8/site-packages/mmdeploy/lib/libmmdeploy_tensorrt_ops.so
Traceback (most recent call last):
  File "tools/analysis_tools/benchmark_trt.py", line 190, in <module>
    fps = main()
  File "tools/analysis_tools/benchmark_trt.py", line 133, in main
    model = build_model(cfg.model, test_cfg=cfg.get('test_cfg'))
  File "/home/blaize/work/fb-bev/FB-BEV/mmdet3d/models/builder.py", line 122, in build_model
    return build_detector(cfg, train_cfg=train_cfg, test_cfg=test_cfg)
  File "/home/blaize/work/fb-bev/FB-BEV/mmdet3d/models/builder.py", line 95, in build_detector
    return MMDET_DETECTORS.build(
  File "/home/blaize/work/fb-bev/mmcv/mmcv/utils/registry.py", line 234, in build
    return self.build_func(*args, **kwargs, registry=self)
  File "/home/blaize/work/fb-bev/mmcv/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
    return build_from_cfg(cfg, registry, default_args)
  File "/home/blaize/work/fb-bev/mmcv/mmcv/utils/registry.py", line 58, in build_from_cfg
    raise KeyError(
KeyError: 'FBOCCTRT is not in the models registry'

thank you.

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

No branches or pull requests

1 participant