Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/williamFalcon/log_app
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Oct 13, 2017
2 parents 985061d + 24bf42e commit 8213884
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Test tube: Easily log and tune Deep Learning experiments
# Test tube: Easily log, track and optimize Deep Learning experiments

<div style="text-align: center">
<img src="https://raw.githubusercontent.com/williamfalcon/test_tube/master/imgs/test_tube_logo.png">
</div>
<br>

[![PyPI version](https://badge.fury.io/py/test_tube.svg)](https://badge.fury.io/py/test_tube) [![Doc status](https://readthedocs.org/projects/pip/badge/?version=latest)](https://readthedocs.org/projects/pip/badge/?version=latest) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/williamFalcon/test_tube/blob/master/LICENSE)
[docs](https://williamfalcon.github.io/test_tube/)
[![PyPI version](https://badge.fury.io/py/test_tube.svg)](https://badge.fury.io/py/test_tube) [![Documentation Status](https://readthedocs.org/projects/test-tube/badge/?version=latest)](https://williamfalcon.github.io/test_tube/)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/williamFalcon/test_tube/blob/master/LICENSE)
[DOCS](https://williamfalcon.github.io/test_tube/)

---
Test tube is a python library to track and optimize Deep Learning experiments. It's framework agnostic and is built on top of the python argparse API for ease of use.
Expand All @@ -24,7 +25,8 @@ Use Test Tube if you need to:
- Visualize and compare different experiments without uploading anywhere, logs store as csv files.
- [Optimize your hyperparameters](hyperparameter_optimization/HyperOptArgumentParser/) using grid_search or random_search.
- Automatically track ALL parameters for a particular training run.
- Automatically snapshot your code for an experiment using git tags.
- Automatically snapshot your code for an experiment using git tags.
- Save progress images inline with training metrics.

Test Tube is compatible with all versions of Python and all Python deep learning libraries.

Expand All @@ -45,7 +47,7 @@ for step in training_steps:
exp.add_metric_row('tng_err': tng_err)

# training complete!
# all your logs and data are ready to be visualized at testtube.williamfalcon.com
# all your logs and data are ready to be visualized on any csv plotting tool

```

Expand All @@ -69,6 +71,16 @@ hparams = parser.parse_args()
# run 20 trials of random search over the hyperparams
for hparam_trial in hparams.trials(20):
train_network(hparam_trial)
```

### Log images inline with metrics
```python
# name must have either jpg, png or jpeg in it
img = np.imread('a.jpg')
exp.add_metric_row('test_jpg': img, 'val_err': 0.2)

# saves image to ../exp/version/media/test_0.jpg
# csv has file path to that image in that cell
```

## Visualize and access your data
Expand Down Expand Up @@ -140,4 +152,4 @@ exp.add_meta_tags({'learning_rate': 0.002, 'nb_layers': 2})
```

## Demos
- [Experiments and hyperparameter optimization for tensorflow across 4 GPUs simultaneously](https://github.com/williamFalcon/test_tube/blob/master/examples/tensorflow_example.py)
- [Experiments and hyperparameter optimization for tensorflow across 4 GPUs simultaneously](https://github.com/williamFalcon/test_tube/blob/master/examples/tensorflow_example.py)

0 comments on commit 8213884

Please sign in to comment.