摘要:
一、以下是验证(Validate)部分 1、NMS # NMS # targets的xyxy targets[:, 2:] *= torch.tensor((width, height, width, height), device=device) # to pixels lb = [targets 阅读全文
posted @ 2023-03-12 17:27
kuaqi
阅读(364)
评论(0)
推荐(0)
摘要:
1、scale_boxes() def scale_boxes(img1_shape, boxes, img0_shape, ratio_pad=None): # Rescale boxes (xyxy) from img1_shape to img0_shape if ratio_pad is N 阅读全文
posted @ 2023-03-12 17:24
kuaqi
阅读(180)
评论(0)
推荐(0)

浙公网安备 33010602011771号