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

Method test_predict_dist

tests/test_tools/test_predict.py:73–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71
72 @unittest.skipIf(torch.cuda.device_count() <= 1, 'distributed unittest')
73 def test_predict_dist(self):
74 model_type = 'YoloXPredictor'
75 model_path = PRETRAINED_MODEL_YOLOXS_EXPORT
76 self._base_predict(model_type, model_path, dist=True)
77
78 def test_predict_oss_path(self):
79 model_type = 'YoloXPredictor'

Callers

nothing calls this directly

Calls 1

_base_predictMethod · 0.95

Tested by

no test coverage detected