From 54207e82eb69b791855127e439582cb368f41109 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 29 Sep 2021 02:01:56 +0000 Subject: [PATCH] delete debug --- tools/program.py | 1 - tools/train.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/program.py b/tools/program.py index 18fead8b..2f8b0e4a 100755 --- a/tools/program.py +++ b/tools/program.py @@ -166,7 +166,6 @@ def train(config, epoch_num = config['Global']['epoch_num'] print_batch_step = config['Global']['print_batch_step'] eval_batch_step = config['Global']['eval_batch_step'] - profiler_options = config['profiler_options'] global_step = 0 diff --git a/tools/train.py b/tools/train.py index ee819614..05d295aa 100755 --- a/tools/train.py +++ b/tools/train.py @@ -127,8 +127,6 @@ def test_reader(config, device, logger): if __name__ == '__main__': - config, device, logger, vdl_writer = program.preprocess( - is_train=True) - logger.info(f"config.profiler_options: {config.profiler_options}") + config, device, logger, vdl_writer = program.preprocess(is_train=True) main(config, device, logger, vdl_writer) # test_reader(config, device, logger) -- GitLab