This topic describes how to integrate TensorBay dataset with PyTorch Pipeline using the MNIST Dataset as an example.
The typical method to integrate TensorBay dataset with PyTorch is to build a "Segment" class derived from torch.utils.data.Dataset
.
../../../docs/code/use_dataset_in_pytorch.py
Using the following code to create a PyTorch dataloader and run it:
../../../docs/code/use_dataset_in_pytorch.py