2021-03-09踩坑 torch.cat

*将两张图像的detections tensor拟合在一起

** 1. 通过循环检测后,两张图像的 tensor 存在 images_detections 中 **
如: [tensor([[1,2], [2,3], [3,4]]), tensor([[1,2], [2,3], [3,4]])]
** 2. 直接对 images_detections 执行自融合 torch.cat(images_detections, 0 ) 即可**
如: tensor([[1,2], [2,3], [3,4], [1,2], [2,3], [3,4]])

上一篇:2021-10-01


下一篇:Super Map超图IServer加载gltf三维模型