forked from mindspore-Ecosystem/mindspore
fix issue I49TIB
This commit is contained in:
parent
caa3a916e2
commit
b34c0d6703
|
@ -118,7 +118,7 @@ def get_config():
|
|||
parser = argparse.ArgumentParser(description="default name", add_help=False)
|
||||
current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
parser.add_argument("--config_path", type=str, default=os.path.join(current_dir, \
|
||||
"../config/resnet50_cifar10_config.yaml"), help="Config file path")
|
||||
"../../config/resnet50_cifar10_config.yaml"), help="Config file path")
|
||||
path_args, _ = parser.parse_known_args()
|
||||
default, helper, choices = parse_yaml(path_args.config_path)
|
||||
pprint(default)
|
||||
|
|
Loading…
Reference in New Issue