lyuwenyu / RT-DETR

[CVPR 2024] Official RT-DETR (RTDETR paddle pytorch), Real-Time DEtection TRansformer, DETRs Beat YOLOs on Real-time Object Detection. 🔥 🔥 🔥

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: 'NoneType' object is not iterable

chenjiecj opened this issue · comments

File "D:\edgedowload\detr-pytorch-master\nets\decode.py", line 525, in forward
denoising_class, denoising_bbox_unact, attn_mask, dn_meta =get_contrastive_denoising_training_group(targets,
File "D:\edgedowload\detr-pytorch-master\nets\denoising.py", line 22, in get_contrastive_denoising_training_group
num_gts = [len(t['labels']) for t in targets]

It's okay. I didn't send “targets” to model().