diff --git a/ppcls/engine/engine.py b/ppcls/engine/engine.py index 381f139cd81e11fc47b4794ff90cab251afb5a59..9c7a76d1f06402153661a8c8ba3be135b09a0ab2 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'],