mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-24 20:19:22 +01:00
add five finetune task & merge master
This commit is contained in:
@@ -71,13 +71,6 @@ class TestOfaTrainer(unittest.TestCase):
|
||||
|
||||
@unittest.skipUnless(test_level() >= 0, 'skip test in current test level')
|
||||
def test_trainer_std(self):
|
||||
# WORKSPACE = './workspace/ckpts/recognition'
|
||||
# os.makedirs(WORKSPACE, exist_ok=True)
|
||||
#
|
||||
# pretrained_model = 'damo/ofa_ocr-recognition_scene_base_zh'
|
||||
# cfg = read_config(pretrained_model)
|
||||
# config_file = os.path.join(WORKSPACE, ModelFile.CONFIGURATION)
|
||||
# cfg.dump(config_file)
|
||||
WORKSPACE = './workspace/ckpts/recognition'
|
||||
os.makedirs(WORKSPACE, exist_ok=True)
|
||||
config_file = os.path.join(WORKSPACE, ModelFile.CONFIGURATION)
|
||||
|
||||
Reference in New Issue
Block a user