PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.82k stars 2.89k forks source link

ValueError: The module PPYOLOE is not registered #8019

Open linlinqi666 opened 1 year ago

linlinqi666 commented 1 year ago

问题确认 Search before asking

请提出你的问题 Please ask your question

请问这是什么原因,配置文件里面明明有PPYOLOE的定义的: Traceback (most recent call last): File "tools/train.py", line 172, in main() File "tools/train.py", line 159, in main cfg = build_slim_model(cfg, FLAGS.slim_config) File "/home/aistudio/work/PaddleDetection/ppdet/slim/init.py", line 41, in build_slim_model model = DistillModel(cfg, slim_cfg) File "/home/aistudio/work/PaddleDetection/ppdet/slim/distill.py", line 36, in init self.student_model = create(cfg.architecture) File "/home/aistudio/work/PaddleDetection/ppdet/core/workspace.py", line 220, in create raise ValueError("The module {} is not registered".format(name)) ValueError: The module PPYOLOE is not registered

nemonameless commented 1 year ago

PPYOLOE的蒸馏见 https://github.com/PaddlePaddle/PaddleDetection/tree/develop/configs/ppyoloe/distill ,已是精度最高的方法了。 报bug请按模板提问,并说明代码改动和运行命令,以便排查谢谢,https://github.com/PaddlePaddle/PaddleDetection/issues/new?assignees=&labels=bug&template=1_bug-report.yml