Closed sndnyang closed 5 years ago
logging module instead of glog, adding tensorboardX to(device), args.cuda = not args.no_cuda and torch.cuda.is_available() device = torch.device("cuda" if args.cuda else "cpu")
logging module instead of glog, adding tensorboardX to(device), args.cuda = not args.no_cuda and torch.cuda.is_available() device = torch.device("cuda" if args.cuda else "cpu")