Skip to content

Commit

Permalink
Merge pull request #26 from jmargeta/patch-1
Browse files Browse the repository at this point in the history
Fix typo in the example from README.md
  • Loading branch information
polyaxon-team committed Apr 26, 2023
2 parents ff540cb + 7db0f17 commit 7c7988b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ for batch_idx, (data, target) in enumerate(train_loader):
loss = F.nll_loss(output, target)
loss.backward()
optimizer.step()
tracking.log_mtrics(loss=loss)
tracking.log_metrics(loss=loss)

asset_path = tracking.get_outputs_path('model.ckpt')
torch.save(model.state_dict(), asset_path)
Expand Down

0 comments on commit 7c7988b

Please sign in to comment.