Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Oct 13, 2017
1 parent 42d51a3 commit 194fcce
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,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 your metrics.

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

Expand Down Expand Up @@ -70,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

0 comments on commit 194fcce

Please sign in to comment.