mmdetection3d icon indicating copy to clipboard operation
mmdetection3d copied to clipboard

[Bug] mmengine - WARNING - Display device not found. `--show` is forced to False

Open ohm-zx opened this issue 7 months ago • 6 comments

Prerequisite

Task

I'm using the official example scripts/configs for the officially supported tasks/models/datasets.

Branch

main branch https://github.com/open-mmlab/mmdetection3d

Environment

cuda113 open3d 0.18.0 pytorch 1.11.0 windows10 gpu nvidia geforce rtx 3080

Reproduces the problem - code sample

Reproduces the problem - command or script

运行推理demo:python demo/pcd_demo.py demo/data/kitti/000008.bin pointpillars_hv_secfpn_8xb6-160e_kitti-3d-car.py hv_pointpillars_secfpn_6x8_160e_kitti-3d-car_20220331_134606-d42d15ed.pth --show

Reproduces the problem - error message

mmengine - WARNING - Display device not found. --show is forced to False c:\users\pc\desktop\mmdetection3d\mmdet3d\models\dense_heads\anchor3d_head.py:94: UserWarning: dir_offset and dir_limit_offset will be depressed and be incorporated into box coder in the future warnings.warn( Loads checkpoint by local backend from path: hv_pointpillars_secfpn_6x8_160e_kitti-3d-car_20220331_134606-d42d15ed.pth 06/27 18:04:48 - mmengine - WARNING - Failed to search registry with scope "mmdet3d" in the "function" registry tree. As a workaround, the current "function" registry in "mmengine" is used to build instance. This may cause unexpected failure when running the built modules. Please check whether "mmdet3d" is a correct scope, or whether the registry is initialized. C:\Users\PC\anaconda3\envs\z_open\lib\site-packages\mmengine\visualization\visualizer.py:196: UserWarning: Failed to add <class 'mmengine.visualization.vis_backend.LocalVisBackend'>, please provide the save_dir argument. warnings.warn(f'Failed to add {vis_backend.class}, ' C:\Users\PC\anaconda3\envs\z_open\lib\site-packages\torch\functional.py:568: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\TensorShape.cpp:2228.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] [Open3D WARNING] invalid color in PaintUniformColor, clipping to [0, 1] Inference ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
06/27 18:04:53 - mmengine - INFO - results have been saved at output

Additional information

这个可视化问题如何解决,我配置的环境哪里有问题吗? How to solve this visualization problem, and where is there a problem with my configured environment?

ohm-zx avatar Jul 01 '24 11:07 ohm-zx