lyuwenyu / RT-DETR

[CVPR 2024] Official RT-DETR (RTDETR paddle pytorch), Real-Time DEtection TRansformer, DETRs Beat YOLOs on Real-time Object Detection. 🔥 🔥 🔥
Apache License 2.0
2.18k stars 237 forks source link

_name field missed into PResNet configuration #350

Open FrancescoManigrass opened 2 months ago

FrancescoManigrass commented 2 months ago

Star RTDETR

When attempting to load the PResNet model using Yaml_utils, a KeyError: '_name' is encountered at line 123. This issue appears to be specific to the PResNet model, as other models load without any problems.

Error Message: cls_kwargs[k] = create(_cfg['_name']) KeyError: '_name'


Describe the bug Missing key into configuration dict

To Reproduce launch train as reported into readme with same requirements

lyuwenyu commented 2 months ago

Please show config detials that you modified.