!23370 [CT][MS]test_hub_load_eval_resnet50 yaml_path has problem
Merge pull request !23370 from ZeyangGAO/I49TIB
This commit is contained in:
commit
eea7b7eb0d
|
@ -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