Skip to content
Snippets Groups Projects
Commit 46aee77d authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Fixed typo.

parent fa0f7a90
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ if __name__ == '__main__': ...@@ -48,7 +48,7 @@ if __name__ == '__main__':
str(LOSS.min_amount).replace('.', ''), str(LOSS.min_amount).replace('.', ''),
repr(LOSS).strip('()'))) repr(LOSS).strip('()')))
else: else:
state_file = state_file.replace('.pt', '{}.pt'.format( state_file = state_file.replace('.pt', '_{}.pt'.format(
repr(LOSS).strip('()'))) repr(LOSS).strip('()')))
# path to model state # path to model state
......
...@@ -50,7 +50,7 @@ if __name__ == '__main__': ...@@ -50,7 +50,7 @@ if __name__ == '__main__':
str(LOSS.min_amount).replace('.', ''), str(LOSS.min_amount).replace('.', ''),
repr(LOSS).strip('()'))) repr(LOSS).strip('()')))
else: else:
state_file = state_file.replace('.pt', '{}.pt'.format( state_file = state_file.replace('.pt', '_{}.pt'.format(
repr(LOSS).strip('()'))) repr(LOSS).strip('()')))
# path to model state # path to model state
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment