1
0
mirror of https://github.com/titanscouting/tra-analysis.git synced 2025-04-23 09:57:23 +00:00
This commit is contained in:
art 2019-10-29 12:25:18 -05:00
parent 0198d6896b
commit 3894eb481c
2 changed files with 4 additions and 4 deletions
data analysis/analysis

Binary file not shown.

@ -33,13 +33,13 @@ __all__ = [
import torch import torch
import torch.optim as optim import torch.optim as optim
from os import * from os import system, name
def clear(): def clear():
if os.name == 'nt': if name == 'nt':
_ = os.system('cls') _ = system('cls')
else: else:
_ = os.system('clear') _ = system('clear')
def train(device, net, epochs, trainloader, optimizer, criterion): def train(device, net, epochs, trainloader, optimizer, criterion):