From 353497070919286d647fc06a58ab115b2b1ebeef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=8E=E8=88=AA?= Date: Tue, 8 Nov 2022 10:39:59 +0800 Subject: [PATCH] add five finetune task & merge master --- tests/trainers/test_ofa_trainer.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/trainers/test_ofa_trainer.py b/tests/trainers/test_ofa_trainer.py index f72400eb..a678865a 100644 --- a/tests/trainers/test_ofa_trainer.py +++ b/tests/trainers/test_ofa_trainer.py @@ -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)