terminator.data.data¶
Datasets and dataloaders for loading TERMs.
This file contains dataset and dataloader classes to be used when interacting with TERMs.
Functions
|
Converts given tensor from numpy to pytorch. |
|
Load the data specified in the proper .features file and return them. |
|
Reads the lengths specified in the proper .length file and return them. |
Classes
|
BatchSampler/Dataloader helper class for TERM data using TERMDataset. |
|
TERM Dataset that loads all feature files into a Pytorch Dataset-like structure. |
|
BatchSampler/Dataloader helper class for TERM data using TERMLazyDataset. |
|
TERM Dataset that loads all feature files into a Pytorch Dataset-like structure. |