diff --git a/PaddleCV/PaddleDetection/ppdet/utils/cli.py b/PaddleCV/PaddleDetection/ppdet/utils/cli.py index a903c20a2a131e29a686c50ba0fd8e59f82f2c2d..7b7a89060a7de3fff7168d9773b5aae056fad011 100644 --- a/PaddleCV/PaddleDetection/ppdet/utils/cli.py +++ b/PaddleCV/PaddleDetection/ppdet/utils/cli.py @@ -63,7 +63,7 @@ class ArgsParser(ArgumentParser): return config for s in opts: s = s.strip() - k, v = s.split('=', maxsplit=1) + k, v = s.split('=', 1) if '.' not in k: config[k] = yaml.load(v, Loader=yaml.Loader) else: