subDesTagesMitExtraKaese
Results
1
comments of
subDesTagesMitExtraKaese
you can replace `return ToTensor()(Image.fromarray(frame)).unsqueeze_(0).cuda()` with ``` datatype = torch.float32 pic = Image.fromarray(frame) img = torch.ByteTensor(torch.ByteStorage.from_buffer(pic.tobytes())) img = img.cuda() img = img.view(pic.size[1], pic.size[0], len(pic.getbands())) img = img.permute((2, 0, 1)).contiguous() tmp...