Event-based datasets and transformations based on pyTorch vision.
Battling with all the different file formats of publicly available neuromorphic datasets? No more! Tonic is a tool to facilitate the download, manipulation and loading of event-based/spike-based data. Have a look at the list of supported datasets and transformations! It's based on PyTorch Vision for an intuitive interface, so that you spend less time worrying about how to read files and more time on things that matter.
pip install tonic
import tonic import tonic.transforms as transforms transform = transforms.Compose([transforms.Denoise(filter_time=10000), transforms.TimeJitter(std=10),]) testset = tonic.datasets.NMNIST(save_to='./data', train=False, transform=transform) testloader = tonic.datasets.DataLoader(testset, shuffle=True) events, target = next(iter(testloader))
You can find the full documentation on Tonic including examples on this site.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size tonic-0.3.9-py3-none-any.whl (59.1 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size tonic-0.3.9.tar.gz (231.6 kB)||File type Source||Python version None||Upload date||Hashes View|