Tianxiaomo / pytorch-YOLOv4

PyTorch ,ONNX and TensorRT implementation of YOLOv4
Apache License 2.0
4.46k stars 1.49k forks source link

TypeError: int() argument must be a string, a bytes-like object or a number, not 'list' #522

Open C-popKingJames opened 2 years ago

C-popKingJames commented 2 years ago

Traceback (most recent call last): File "E:/DeepLearning/pytorch-YOLOv4-master/camera.py", line 69, in orig_im = plot_boxes_cv2(frame, boxes, class_names=class_names) File "E:\DeepLearning\pytorch-YOLOv4-master\tool\utils.py", line 116, in plot_boxes_cv2 x1 = int(box[0] * width) TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'

How can I solve this problem