Open Sukanyasingh3 opened 11 months ago
In the train_coco.py code, the line torch.cuda.manual_seed(123) uses manual_seed, which is deprecated. Instead, you can use manual_seed_all.
torch.cuda.manual_seed_all(123) if torch.cuda.is_available() else torch.manual_seed(123)
In the train_coco.py code, the line torch.cuda.manual_seed(123) uses manual_seed, which is deprecated. Instead, you can use manual_seed_all.