Hi, Ra-V. I have read your committed. Only see the change in:
self.device = torch.device(device)
self = nn.DataParallel(self)
self.to(device)
I don’t see the change of  device = torch.device(“cuda” if torch.cuda.is_available() else “cpu”).
Should I add these by myself?
Thank you.