MCPcopy
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

trainFunction · 0.95
testFunction · 0.95
__init__Method · 0.80
validateMethod · 0.80
testMethod · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 1

testFunction · 0.76