Set device bc I apparently forgot to do that

This commit is contained in:
jlevine18 2019-09-23 00:01:31 -05:00 committed by GitHub
parent d76075fbfa
commit 4522c9561b

View File

@ -38,6 +38,8 @@ __all__ = [
import torch import torch
#set device
device='cuda:0' if torch.cuda.is_available() else 'cpu'
#todo: document completely #todo: document completely