img = Image.open("/content/drive/MyDrive//58125_000893_Sideline_frame298.jpg").convert(‘RGB’)
convert_tensor = torchvision.transforms.ToTensor()
img=convert_tensor(img)
left=1099
width=16
top=456
height=15
boxs=[top,left,width,height]
boxs=torch.tensor(boxs,dtype=torch.int)
n=tens.permute(0,1,2)
print(n.shape)
torchvision.utils.draw_bounding_boxes(image=tens.permute(0,1,2),boxes=boxs,width=2)
I have typeerror: argument must be the sequence. I try to draw a bounding box but I get an error. can anyone help to resolve this problem