-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yreddy31
committed
Mar 6, 2021
1 parent
3f44286
commit 1862375
Showing
12 changed files
with
1,237 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ author = Yeshwanth Reddy | |
author_email = [email protected] | ||
copyright = sizhky | ||
branch = master | ||
version = 0.321 | ||
version = 0.322 | ||
min_python = 3.6 | ||
audience = Developers | ||
language = English | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
Metadata-Version: 2.1 | ||
Name: torch-snippets | ||
Version: 0.320 | ||
Version: 0.322 | ||
Summary: One line functions for common tasks | ||
Home-page: https://github.com/sizhky/torch_snippets/tree/master/ | ||
Author: Yeshwanth Reddy | ||
Author-email: [email protected] | ||
License: Apache Software License 2.0 | ||
Description: # Pytorch utilities for simple pytorch needs | ||
Description: # Utilities for simple needs | ||
|
||
|
||
|
||
```python | ||
## Logging and plotting metrics | ||
```python | ||
from torch_snippets import Report | ||
|
@@ -33,7 +36,7 @@ Description: # Pytorch utilities for simple pytorch needs | |
log.report_avgs(epoch+1) # persist the report | ||
|
||
``` | ||
![](assets/demo.gif) | ||
![](../assets/demo.gif) | ||
* Auto calculates time remaining | ||
* No need to preinitialize empty lists | ||
* Automatically stores metrics as collection of key words | ||
|
@@ -47,7 +50,7 @@ Description: # Pytorch utilities for simple pytorch needs | |
|
||
* Auto calculates average of all metrics in an epoch | ||
* Plot entire training history with one command | ||
![](assets/avgs0.png) | ||
![](../assets/avgs0.png) | ||
|
||
|
||
* selectively plot logged metrics using regex | ||
|
@@ -83,6 +86,8 @@ Description: # Pytorch utilities for simple pytorch needs | |
dir(pytorch_snippets) | ||
``` | ||
|
||
``` | ||
|
||
Keywords: snippets,torch | ||
Platform: UNKNOWN | ||
Classifier: Development Status :: 3 - Alpha | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters