Skip to content

Commit

Permalink
Bug fix in saving json
Browse files Browse the repository at this point in the history
  • Loading branch information
yashsavani committed Jul 2, 2020
1 parent c34c6a9 commit 17fdb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post_hoc_celeba.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def main(config):

torch.save(actor.state_dict(), config['adversarial']['checkpoint'])

with open(config['name'], 'w') as filehandler:
with open(config['output'], 'w') as filehandler:
json.dump(results, filehandler)


Expand Down

0 comments on commit 17fdb7e

Please sign in to comment.