mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
Update analysis.py
This commit is contained in:
parent
4de76174de
commit
cb0f5bb9c9
@ -64,7 +64,7 @@ def _init_device (setting, arg): #initiates computation device for ANNs
|
|||||||
the_device_woman = torch.device("cpu")
|
the_device_woman = torch.device("cpu")
|
||||||
return the_device_woman #name that reference
|
return the_device_woman #name that reference
|
||||||
else:
|
else:
|
||||||
return "error: specified device does not exist"
|
return "error: specified device does not exist (this is a bad error, either a non existent device was selected or the current device does not have a CPU."
|
||||||
|
|
||||||
class c_entities:
|
class c_entities:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user