Skip to content

Commit

Permalink
Update trainer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
layumi authored Jul 9, 2023
1 parent d0e8b43 commit a3bbfb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def load_network(network, name):
def load_config(name):
config_path = os.path.join('./models',name,'opts.yaml')
with open(config_path, 'r') as stream:
config = yaml.load(stream)
config = yaml.safe_load(stream)
return config


Expand Down

0 comments on commit a3bbfb4

Please sign in to comment.