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

Method test_litehrnet_oss

tests/test_tools/test_pose_train.py:101–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

99 # self._base_train(train_cfgs)
100
101 def test_litehrnet_oss(self):
102 train_cfgs = copy.deepcopy(TRAIN_CONFIGS[0])
103
104 train_cfgs['cfg_options'].update(dict(oss_io_config=get_oss_config()))
105 tmp_name = uuid.uuid4().hex
106 train_cfgs.update({'work_dir': os.path.join(TMP_DIR_OSS, tmp_name)})
107
108 self._base_train(train_cfgs)
109
110 def test_hrnet(self):
111 train_cfgs = copy.deepcopy(TRAIN_CONFIGS[1])

Callers

nothing calls this directly

Calls 3

_base_trainMethod · 0.95
get_oss_configFunction · 0.90
updateMethod · 0.45

Tested by

no test coverage detected