Skip to content
/ tonic Public
forked from neuromorphs/tonic

event data sets and transformations

License

Notifications You must be signed in to change notification settings

SpikeAI/tonic

 
 

Repository files navigation

tonic PyPI Documentation Status contributors

Tonic provides publicly available spike-based datasets and data transformations based on PyTorch.

Have a look at the list of supported datasets and transformations!

Install

pip install tonic

Quickstart

import tonic
import tonic.transforms as transforms

transform = transforms.Compose([transforms.Denoise(time_filter=10000),
                                transforms.TimeJitter(variance=10),])

testset = tonic.datasets.NMNIST(save_to='./data',
                                train=False,
                                transform=transform)

testloader = tonic.datasets.DataLoader(testset, shuffle=True)

events, target = next(iter(testloader))

dataset-summary

Documentation

You can find the full documentation on Tonic here.

About

event data sets and transformations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%