Skip to content

Commit 3f512a8

Browse files
authored
Merge pull request #2 from j3soon/hparams
Add support for hparams and fix empty directory bug
2 parents 4fb7c09 + 25da2a8 commit 3f512a8

8 files changed

Lines changed: 794 additions & 435 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,11 @@ Generate test coverage:
7575
python3 -m pip install pandas tensorflow torch tensorboardX pytest pytest-cov
7676
python3 -m pytest --cov=./ --cov-report html
7777
```
78+
79+
## License
80+
81+
tbparse is distributed under the [MIT License](LICENSE).
82+
83+
The tbparse PyPI package depends upon (imports) the following third-party package. Each third-party software package is provided under its own license:
84+
- [pandas](https://github.com/pandas-dev/pandas) is distributed under the [BSD-3-Clause License ](https://github.com/pandas-dev/pandas/blob/main/LICENSE)
85+
- [tensorboard](https://github.com/tensorflow/tensorboard) is distributed under the [Apache License 2.0](https://github.com/tensorflow/tensorboard/blob/master/LICENSE)

docs/pages/parsing-histograms.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ event files are generated by three commonly used event log writers.
5858

5959
>>> from tbparse import SummaryReader
6060
>>> SummaryReader(log_dir, pivot=True).histograms.columns
61-
Index(['step', 'dist/limits', 'dist/counts'], dtype='object')
61+
Index(['step', 'dist/counts', 'dist/limits'], dtype='object')
6262

6363
.. group-tab:: TensorFlow / Keras
6464

@@ -112,7 +112,7 @@ event files are generated by three commonly used event log writers.
112112

113113
>>> from tbparse import SummaryReader
114114
>>> SummaryReader(log_dir, pivot=True).histograms.columns
115-
Index(['step', 'dist/limits', 'dist/counts'], dtype='object')
115+
Index(['step', 'dist/counts', 'dist/limits'], dtype='object')
116116

117117
Parsing Event Logs
118118
===================================
@@ -139,9 +139,9 @@ Load File / Directory
139139
>>> from tbparse import SummaryReader
140140
>>> log_dir = tmpdirs['torch'].name
141141
>>> SummaryReader(log_dir).histograms.columns # wide format
142-
Index(['step', 'tag', 'limits', 'counts'], dtype='object')
142+
Index(['step', 'tag', 'counts', 'limits'], dtype='object')
143143
>>> SummaryReader(log_dir, pivot=True).histograms.columns # long format
144-
Index(['step', 'dist/limits', 'dist/counts'], dtype='object')
144+
Index(['step', 'dist/counts', 'dist/limits'], dtype='object')
145145

146146
.. group-tab:: TensorFlow / Keras
147147

0 commit comments

Comments
 (0)