This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import h5py | |
| import numpy as np | |
| from pathlib import Path | |
| import torch | |
| from torch.utils import data | |
| class HDF5Dataset(data.Dataset): | |
| """Represents an abstract HDF5 dataset. | |
| Input params: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.