pytorch tensor cat for循环每次的tensor
detections_out = torch.tensor([], dtype=torch.float32).to(model_out[0].device)
for i in range(5):
detections = torch.cat([bboxes, scores, clses], dim=2) ##[b, nums, 6]
detections_out = torch.cat([detections_out, detections], dim=1)
好记性不如烂键盘---点滴、积累、进步!