Add TensorboardX example doc (#93)

This commit is contained in:
pollfly 2021-10-21 12:22:42 +03:00 committed by GitHub
parent 29a2553dd6
commit e7b5fc01dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,5 @@
---
title: TensorBoardX
title: TensorBoardX with PyTorch
---
The [pytorch_tensorboardX.py](https://github.com/allegroai/clearml/blob/master/examples/frameworks/tensorboardx/pytorch_tensorboardX.py)

View File

@ -0,0 +1,18 @@
---
title: TensorBoardX Video
---
The [moveiepy_tensorboardx.py](https://github.com/allegroai/clearml/blob/master/examples/frameworks/tensorboardx/moviepy_tensorboardx.py)
example demonstrates the integration of ClearML into code, which creates a TensorBoardX `SummaryWriter` object to log
video data.
When the script runs, it creates an experiment named `pytorch with video tensorboardX`, which is associated with
the `examples` project.
## Debug Samples
ClearML automatically captures the video data that is added to the `SummaryWriter` object, using the `add_video` method.
The video appears in the experiment page in the ClearML web UI under **RESULTS > DEBUG SAMPLES**.
![Debug Samples](../../../img/examples_tensorboardx_debug.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -86,7 +86,7 @@ module.exports = {
{'Pytorch Ignite': ['guides/frameworks/pytorch ignite/integration_pytorch_ignite']},
{'Pytorch Lightning': ['guides/frameworks/pytorch_lightning/pytorch_lightning_example']},
{'Scikit-Learn': ['guides/frameworks/scikit-learn/sklearn_joblib_example', 'guides/frameworks/scikit-learn/sklearn_matplotlib_example']},
{'TensorBoardX': ['guides/frameworks/tensorboardx/tensorboardx']},
{'TensorBoardX': ['guides/frameworks/tensorboardx/tensorboardx', "guides/frameworks/tensorboardx/video_tensorboardx"]},
{
'Tensorflow': ['guides/frameworks/tensorflow/tensorboard_pr_curve', 'guides/frameworks/tensorflow/tensorboard_toy',
'guides/frameworks/tensorflow/tensorflow_mnist', 'guides/frameworks/tensorflow/integration_keras_tuner']