Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Duankaiwen/CenterNet
/ cuda
Method
cuda
nnet/py_factory.py:68–69 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
66
raise
ValueError(
"unknown optimizer"
)
67
68
def
cuda(self):
69
self.model.cuda()
70
71
def
train_mode(self):
72
self.network.train()
Callers
6
train
Function · 0.95
test
Function · 0.95
__init__
Method · 0.80
validate
Method · 0.80
test
Method · 0.80
__init__
Method · 0.80
Calls
no outgoing calls
Tested by
1
test
Function · 0.76