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.61k stars 303 forks source link

RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 108 but got size 107 for tensor number 1 in the list. #189

Closed chenjiecj closed 10 months ago

chenjiecj commented 10 months ago

inner_out = self.fpn_blocks[len(self.in_channels) - 1 - idx](torch.cat([upsample_feat, feat_low], dim=1)) RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 108 but got size 107 for tensor number 1 in the list.