Skip to content

[Bug] jetson上安装mmdeploy的意义是?运行需要mmdet,mmdet需要mmengine,但安装只能到0.4.0,源码编译又有MMLogger的问题 #2593

Closed as not planned
@vxgu86

Description

@vxgu86

Checklist

  • I have searched related issues but cannot get the expected help.
  • 2. I have read the FAQ documentation but cannot get the expected help.
  • 3. The bug has not been fixed in the latest version.

Describe the bug

想请问下 jetson上安装mmdeploy的意义是什么,是可以在jetson上转换模型吗?
在jetson上安装mmdeploy后
运行需要mmdet,mmdet需要mmengine,但安装只能到0.4.0,源码编译又有MMLogger的错误。

Reproduction

就是 mmdeploy.py的指令

Environment

按jetson上部署的指令安装的
MMLogger提示错误

python ./tools/deploy.py     configs/mmdet/detection/detection_tensorrt_dynamic-64x64-608x608.py     /home/user/mmdeploy_ws/deploypth/configs/rtmdet/rtmdet_l_8xb32-300e_coco.py     /home/user/mmdeploy_ws/deploypth/epoch_300.pth     /home/user/mmdeploy_ws/deploypth/mil_sea_renchuan_kr_TV_014952_20230403131233319_visible.JPG     --work-dir ../deploypth     --device cuda:0     --show
Traceback (most recent call last):
  File "./tools/deploy.py", line 335, in <module>
    main()
  File "./tools/deploy.py", line 108, in main
    logger.setLevel(log_level)
  File "/home/user/mmdeploy_ws/mmengine/mmengine/logging/logger.py", line 323, in setLevel
    logger._cache.clear()
AttributeError: 'MMLogger' object has no attribute '_cache'

Error traceback

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions