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
test.py and train.py always return cuda = True because boolean is reflecting function presence rather than cuda presence. Also redundant if statement. Suggest replace cuda = True if torch.cuda.is_available else False
with cuda = torch.cuda.is_available()
The text was updated successfully, but these errors were encountered:
test.py
andtrain.py
always returncuda = True
because boolean is reflecting function presence rather than cuda presence. Also redundantif
statement. Suggest replacecuda = True if torch.cuda.is_available else False
with
cuda = torch.cuda.is_available()
The text was updated successfully, but these errors were encountered: