Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zhezhaoa authored May 1, 2024
1 parent 166110d commit 6bcb2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uer/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def load_hyperparam(args):
Load arguments form argparse and config file
Priority: default options < config file < command line args
"""
with open(dargs.config_path, mode="r", encoding="utf-8") as f:
with open(args.config_path, mode="r", encoding="utf-8") as f:
config_args_dict = json.load(f)

args_dict = vars(args)
Expand Down

0 comments on commit 6bcb2eb

Please sign in to comment.