MCPcopy
hub / github.com/alibaba/EasyCV / test_eval_dist

Method test_eval_dist

tests/test_tools/test_eval.py:124–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

122
123 @unittest.skipIf(torch.cuda.device_count() <= 1, 'distributed unittest')
124 def test_eval_dist(self):
125 eval_cfgs = copy.deepcopy(TRAIN_CONFIGS[0])
126 eval_cfgs['cfg_options'].update(dict(oss_io_config=get_oss_config()))
127
128 self._base_eval(eval_cfgs, dist=True, dist_eval=True)
129
130
131if __name__ == '__main__':

Callers

nothing calls this directly

Calls 3

_base_evalMethod · 0.95
get_oss_configFunction · 0.90
updateMethod · 0.45

Tested by

no test coverage detected