!23370 [CT][MS]test_hub_load_eval_resnet50 yaml_path has problem

Merge pull request !23370 from ZeyangGAO/I49TIB
This commit is contained in:
i-robot 2021-09-14 06:12:02 +00:00 committed by Gitee
commit eea7b7eb0d
1 changed files with 1 additions and 1 deletions

View File

@ -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)