You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -36,8 +36,8 @@ PyTorch deep learning project made easy.
36
36
* Python >= 3.5 (3.6 recommended)
37
37
* PyTorch >= 0.4
38
38
* tqdm (Optional for `test.py`)
39
-
* tensorboard >= 1.7.0 (Optional for TensorboardX)
40
-
* tensorboardX >= 1.2 (Optional for TensorboardX)
39
+
* tensorboard >= 1.7.0 (Optional for TensorboardX) or tensorboard >= 1.14 (Optional for pytorch.utils.tensorboard)
40
+
* tensorboardX >= 1.2 (Optional for TensorboardX), see [Tensorboard Visualization][#tensorboardx-visualization]
41
41
42
42
## Features
43
43
* Clear folder structure which is suitable for many deep learning projects.
@@ -329,8 +329,11 @@ A copy of config file will be saved in the same folder.
329
329
}
330
330
```
331
331
332
-
### TensorboardX Visualization
333
-
This template supports [TensorboardX](https://github.com/lanpa/tensorboardX) visualization.
332
+
### Tensorboard Visualization
333
+
This template supports Tensorboard visualization using either Pytorch 1.1's `torch.utils.tensorboard` capabilities or [TensorboardX](https://github.com/lanpa/tensorboardX).
334
+
335
+
The template attempts to choose a writing module from a list of modules specified in the config file under "tensorboard.modules". It load the modules in the order specified, only moving on to the next one if the previous one failed.
336
+
334
337
***TensorboardX Usage**
335
338
336
339
1.**Install**
@@ -339,17 +342,44 @@ This template supports [TensorboardX](https://github.com/lanpa/tensorboardX) vis
By default, values of loss and metrics specified in config file, input images, and histogram of model parameters will be logged.
349
379
If you need more visualizations, use `add_scalar('tag', data)`, `add_image('tag', image)`, etc in the `trainer._train_epoch` method.
350
-
`add_something()` methods in this template are basically wrappers for those of `tensorboardX.SummaryWriter`module.
380
+
`add_something()` methods in this template are basically wrappers for those of `tensorboardX.SummaryWriter` and `torch.utils.tensorboard.SummaryWriter` modules.
351
381
352
-
**Note**: You don't have to specify current steps, since `WriterTensorboardX` class defined at `logger/visualization.py` will track current steps.
382
+
**Note**: You don't have to specify current steps, since `WriterTensorboard` class defined at `logger/visualization.py` will track current steps.
353
383
354
384
## Contributing
355
385
Feel free to contribute any kind of function or enhancement, here the coding style follows PEP8
0 commit comments