Skip to content

Commit 59473dc

Browse files
Enhance README with more logging examples
Expanded logging capabilities in README with additional examples.
1 parent 5c9b464 commit 59473dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ logger.log_metadata({"my_metadata": "anything"})
4848
for i in range(10):
4949
logger.log_metrics({"my_metric": i}, step=i)
5050

51-
# also log files
51+
# log more than just metrics (files, text, artifacts, model weights)
5252
# logger.log_file("/path/to/config.txt")
53+
# logger.log_model(torch.nnModule)
54+
# logger.log_model_artifact('/path/to/artifact')
5355
logger.finalize()
5456
```
5557

0 commit comments

Comments
 (0)