From 578054dddd4a862cf8962ba098f4e054075abc0e Mon Sep 17 00:00:00 2001 From: Tingquan Gao <35441050@qq.com> Date: Tue, 14 Mar 2023 16:16:40 +0800 Subject: [PATCH] Revert "debug for infer" This reverts commit 428edb6ff88fd5376a9262cfaec8f114f2d4327e. --- ppcls/engine/engine.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ppcls/engine/engine.py b/ppcls/engine/engine.py index 381f139c..9c7a76d1 100755 --- a/ppcls/engine/engine.py +++ b/ppcls/engine/engine.py @@ -43,8 +43,6 @@ class Engine(object): assert mode in ["train", "eval", "infer", "export"] self.mode = mode self.config = config - self.eval_mode = self.config["Global"].get("eval_mode", - "classification") # init logger log_file = os.path.join(self.config['Global']['output_dir'], -- GitLab