Open Sukanyasingh3 opened 11 months ago
The test_coco_video.py code uses the Variable class, which is deprecated in recent versions of PyTorch. Instead, torch.tensor can be used directly.
data = torch.tensor(image, dtype=torch.float32)
The test_coco_video.py code uses the Variable class, which is deprecated in recent versions of PyTorch. Instead, torch.tensor can be used directly.