https://github.com/rlworkgroup/dowel
A little logger for machine learning research
https://github.com/rlworkgroup/dowel
Last synced: 2 months ago
JSON representation
A little logger for machine learning research
- Host: GitHub
- URL: https://github.com/rlworkgroup/dowel
- Owner: rlworkgroup
- License: mit
- Created: 2019-05-10T02:50:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-30T21:10:53.000Z (about 2 years ago)
- Last Synced: 2025-08-23T19:37:08.929Z (3 months ago)
- Language: Python
- Homepage:
- Size: 81.1 KB
- Stars: 34
- Watchers: 23
- Forks: 37
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-machine-learning - dowel - A little logger for machine learning research. Output any object to the terminal, CSV, TensorBoard, text logs on disk, and more with just one call to `logger.log()`. (Python / General-Purpose Machine Learning)
- awesome-list-for-developers - dowel - A little logger for machine learning research. Log any object to the console, CSVs, TensorBoard, text log files, and more with just one call to `logger.log()` (Tools / Misc)
- awesome-machine-learning - dowel - A little logger for machine learning research. Output any object to the terminal, CSV, TensorBoard, text logs on disk, and more with just one call to `logger.log()`. (Python / General-Purpose Machine Learning)
- fucking-awesome-deep-learning - dowel - A little logger for machine learning research. Log any object to the console, CSVs, TensorBoard, text log files, and more with just one call to `logger.log()` (Researchers / Tools)
- fucking-awesome-machine-learning - dowel - A little logger for machine learning research. Output any object to the terminal, CSV, TensorBoard, text logs on disk, and more with just one call to `logger.log()`. (Python / General-Purpose Machine Learning)
- awesome-machine-learning - dowel - A little logger for machine learning research. Output any object to the terminal, CSV, TensorBoard, text logs on disk, and more with just one call to `logger.log()`. (Python / General-Purpose Machine Learning)
README
[](https://travis-ci.com/rlworkgroup/dowel)
[](https://codecov.io/gh/rlworkgroup/dowel)
[](http://dowel.readthedocs.org/en/latest/)
[](https://github.com/rlworkgroup/dowel/blob/master/LICENSE)
[](https://badge.fury.io/py/dowel)
# dowel
dowel is a little logger for machine learning research.
## Installation
```shell
pip install dowel
```
## Usage
```python
import dowel
from dowel import logger, tabular
logger.add_output(dowel.StdOutput())
logger.add_output(dowel.TensorBoardOutput('tensorboard_logdir'))
logger.log('Starting up...')
for i in range(1000):
logger.push_prefix('itr {}'.format(i))
logger.log('Running training step')
tabular.record('itr', i)
tabular.record('loss', 100.0 / (2 + i))
logger.log(tabular)
logger.pop_prefix()
logger.dump_all()
logger.remove_all()
```