You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type of device is either torch.device("cuda") or torch.device("cpu"). Thus, device == 'cuda' will always be False and torch.cuda.manual_seed(params['seed']) will not work.
The text was updated successfully, but these errors were encountered:
The type of
device
is eithertorch.device("cuda")
ortorch.device("cpu")
. Thus,device == 'cuda'
will always beFalse
andtorch.cuda.manual_seed(params['seed'])
will not work.The text was updated successfully, but these errors were encountered: