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

Method test_predict

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

Source from the content-addressed store, hash-verified

65 io.remove(output_file)
66
67 def test_predict(self):
68 model_type = 'YoloXPredictor'
69 model_path = PRETRAINED_MODEL_YOLOXS_EXPORT
70 self._base_predict(model_type, model_path)
71
72 @unittest.skipIf(torch.cuda.device_count() <= 1, 'distributed unittest')
73 def test_predict_dist(self):

Callers

nothing calls this directly

Calls 1

_base_predictMethod · 0.95

Tested by

no test coverage detected