MCPcopy Create free account
hub / github.com/BVLC/caffe / test_train

Method test_train

python/caffe/test/test_net.py:378–380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

376 self.assertEqual(net.outputs, outputs)
377
378 def test_train(self):
379 net = caffe.Net(self.f.name, caffe.TRAIN, stages=['train'])
380 self.check_net(net, ['loss'])
381
382 def test_val(self):
383 net = caffe.Net(self.f.name, caffe.TEST, stages=['val'])

Callers

nothing calls this directly

Calls 2

check_netMethod · 0.95
NetMethod · 0.80

Tested by

no test coverage detected