Skip to content

Commit b5ec970

Browse files
committed
Fixing Saving Error Issue
1 parent f224d9b commit b5ec970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bert_pytorch/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def train():
6161
print("Training Start")
6262
for epoch in range(args.epochs):
6363
trainer.train(epoch)
64-
trainer.save(args.output_path, epoch)
64+
trainer.save(epoch, args.output_path)
6565

6666
if test_data_loader is not None:
6767
trainer.test(epoch)

0 commit comments

Comments
 (0)