MCPcopy Create free account
hub / github.com/42dot/VFDepth / test

Function test

eval.py:22–26  ·  view source on GitHub ↗
(cfg)

Source from the content-addressed store, hash-verified

20
21
22def test(cfg):
23 print("Evaluating")
24 model = VFDepthAlgo(cfg, 0)
25 trainer = VFDepthTrainer(cfg, 0, use_tb = False)
26 trainer.evaluate(model, vis_results = cfg['eval']['eval_visualize'])
27
28
29def test_ddp(rank, cfg):

Callers 1

eval.pyFile · 0.85

Calls 3

evaluateMethod · 0.95
VFDepthAlgoClass · 0.90
VFDepthTrainerClass · 0.90

Tested by

no test coverage detected