Update README.md

This commit is contained in:
William Falcon 2019-06-29 17:57:40 -04:00 committed by GitHub
parent 8a6680937f
commit 306ca02813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -84,6 +84,23 @@ def validation_end(self, outputs):
tqdm_dic = {'val_loss': val_loss_mean.item(), 'val_acc': val_acc_mean.item()}
return tqdm_dic
```
## TensorboardX
All lightning experiments log in a nicely structured folder structure compatible with tensorboardX. Simply run the following command to view your experiments.
Simply note the path you set for the Experiment
``` {.python}
from test_tube import Experiment
from pytorch-lightning import Trainer
exp = Experiment(save_dir='/some/path')
trainer = Trainer(experiment=exp)
...
```
```bash
tensorboard --logdir /some/path
```
## Lightning gives you options to control the following: