mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2026-10-12 05:08:31 +00:00
depreciated files, titanlearn v 2.0.0.001
This commit is contained in:
1 parent
68006de8c0
commit
2590a40827
86 files changed
+11
-1
No files matched your search
@@ -7,10 +7,12 @@
|
|||||||
# this module learns from its mistakes far faster than 2022's captains
|
# this module learns from its mistakes far faster than 2022's captains
|
||||||
# setup:
|
# setup:
|
||||||
|
|
||||||
__version__ = "2.0.0.000"
|
__version__ = "2.0.0.001"
|
||||||
|
|
||||||
#changelog should be viewed using print(analysis.__changelog__)
|
#changelog should be viewed using print(analysis.__changelog__)
|
||||||
__changelog__ = """changelog:
|
__changelog__ = """changelog:
|
||||||
|
2.0.0.001:
|
||||||
|
- added clear functions
|
||||||
2.0.0.000:
|
2.0.0.000:
|
||||||
- complete rewrite planned
|
- complete rewrite planned
|
||||||
- depreciated 1.0.0.xxx versions
|
- depreciated 1.0.0.xxx versions
|
||||||
@@ -25,11 +27,19 @@ __author__ = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
|
'clear',
|
||||||
'train',
|
'train',
|
||||||
]
|
]
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
import torch.optim as optim
|
import torch.optim as optim
|
||||||
|
from os import *
|
||||||
|
|
||||||
|
def clear():
|
||||||
|
if os.name == 'nt':
|
||||||
|
_ = os.system('cls')
|
||||||
|
else:
|
||||||
|
_ = os.system('clear')
|
||||||
|
|
||||||
def train(device, net, epochs, trainloader, optimizer, criterion):
|
def train(device, net, epochs, trainloader, optimizer, criterion):
|
||||||
|
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
|
500 Internal Server Error
An error occurred: An error occurred Gitea Version: 28.0.0 |