mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
Update analysis.py
This commit is contained in:
parent
99fee36f20
commit
28a30a24c6
@ -64,7 +64,7 @@ def _init_device (setting, arg): #initiates computation device for ANNs
|
||||
the_device_woman = torch.device("cpu")
|
||||
return the_device_woman #name that reference
|
||||
else:
|
||||
return "error:specified device does not exist"
|
||||
return "error: specified device does not exist"
|
||||
|
||||
class c_entities:
|
||||
|
||||
@ -612,7 +612,6 @@ def generate_data(filename, x, y, low, high):
|
||||
temp = temp + str(random.uniform(low, high))
|
||||
file.write(temp + "\n")
|
||||
|
||||
|
||||
#statistics def below------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
class StatisticsError(ValueError):
|
||||
|
Loading…
Reference in New Issue
Block a user