Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xunings committed Apr 16, 2019
1 parent 4a44cd7 commit 60f3086
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/facenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,5 +624,6 @@ def put_images_on_grid(images, shape=(16,8)):

def write_arguments_to_file(args, filename):
with open(filename, 'w') as f:
# vars(args) turns the namespace args to a dict.
for key, value in iteritems(vars(args)):
f.write('%s: %s\n' % (key, str(value)))

0 comments on commit 60f3086

Please sign in to comment.