Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yysijie authored Apr 9, 2018
1 parent 74672f1 commit d3995ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def eval(self, epoch, save_score=False, loader_name=['test']):

if save_score:
with open('{}/epoch{}_{}_score.pkl'.format(
self.arg.work_dir, epoch + 1, ln), 'w') as f:
self.arg.work_dir, epoch + 1, ln), 'wb') as f:
pickle.dump(score_dict, f)

def start(self):
Expand Down

0 comments on commit d3995ce

Please sign in to comment.