TorchBrain documentation#

TorchBrain is a library for writing training pipelines and deep learning models focused on neural data.

Its goal is to provide PyTorch-compatible interfaces like Dataset, Samplers, nn.Modules, and more to help you write your very own models and training scripts. To achieve efficient training, TorchBrain defines its own light-weight data format. It stores neural recordings temporally and is optimized for lazily loading arbitrary time-slices. Finally, TorchBrain also provides a collection of tools to pre-process existing datasets into this data format.

If you encounter any bugs or have feature requests, please submit them to our GitHub Issues page.

PyPI Package GitHub Repository Discord

Note

We have merged temporaldata and brainsets into torch_brain. If you are migrating from v0.1.x, please see this migration guide.