pt = (detections[0, i, j, 1:] * scale).cpu().numpy()


加上cpu