Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Machine Learning
  3. Tonic

Tonic

GPL-3.0Pythonv1.6.0

A PyTorch Vision-like library for downloading, manipulating, and loading event-based/spike-based neuromorphic datasets.

Visit WebsiteGitHubGitHub
288 stars55 forks0 contributors

What is Tonic?

Tonic is a Python library designed to facilitate working with event-based or spike-based neuromorphic data. It provides tools for dataset management, transformations, and loading, making it easier for researchers and developers to build machine learning models for neuromorphic computing. The library aims to be the PyTorch Vision equivalent for the neuromorphic data domain, offering a standardized toolkit to accelerate research and development in event-based machine learning.

Target Audience

Researchers and developers working on machine learning models for neuromorphic computing, particularly those handling event-based or spike-based data from sensors like neuromorphic cameras or neural recordings.

Value Proposition

Developers choose Tonic for its unified interface to access various event-based datasets, its collection of specialized transformations for preprocessing neuromorphic data, and its seamless integration with PyTorch DataLoader for efficient model training. It stands out as a comprehensive, user-friendly toolkit specifically tailored to the neuromorphic data domain, reducing the complexity of data handling in this niche field.

Overview

Event datasets and transforms.

Use Cases

Best For

  • Downloading and loading event-based datasets like NMNIST with a unified interface
  • Preprocessing neuromorphic data with transformations such as denoising and frame conversion
  • Integrating event-based data into PyTorch workflows using DataLoader and custom collation functions
  • Accelerating research in neuromorphic computing by providing standardized data tools
  • Handling variable-length event data in machine learning pipelines
  • Learning and experimenting with neuromorphic data through tutorials and comprehensive documentation

Not Ideal For

  • Projects not involving event-based or spike-based neuromorphic data
  • Teams requiring real-time data streaming or low-latency processing
  • Developers deeply invested in non-PyTorch machine learning frameworks like TensorFlow
  • Applications needing extensive built-in visualization or GUI tools for data exploration

Pros & Cons

Pros

Unified Dataset Access

Tonic provides a single interface to download and load multiple event-based datasets like NMNIST, simplifying data management and reducing setup time for researchers.

Specialized Preprocessing

It includes transformations such as Denoise and ToFrame, tailored for neuromorphic data, enabling effective preprocessing pipelines directly from the documentation examples.

Seamless PyTorch Integration

Designed to work with PyTorch DataLoader and includes collation functions like PadTensors, making it easy to batch variable-length event data for model training.

Comprehensive Learning Resources

Offers tutorials, interactive Binder examples, and detailed dataset listings, helping users quickly onboard and experiment with neuromorphic data handling.

Cons

Maintenance Uncertainty

The project is actively seeking a new maintainer, which risks reduced updates, bug fixes, and long-term support, as noted in the README.

Framework Lock-in

Primarily supports PyTorch; integration with other frameworks like TensorFlow is not built-in, limiting flexibility for diverse machine learning environments.

Niche Application Scope

Focused solely on event-based data, it lacks versatility for general-purpose data processing or other neuromorphic signal types, making it less useful outside its domain.

Frequently Asked Questions

Quick Stats

Stars288
Forks55
Contributors0
Open Issues24
Last commit7 days ago
CreatedSince 2019

Tags

#pytorch-integration#dataset-management#python-library#augmentation#datasets#neuromorphic#transformations#computer-vision#machine-learning#neuromorphic-computing

Built With

P
Python
P
PyTorch

Links & Resources

Website

Included in

Machine Learning72.2k
Auto-fetched 18 hours ago

Related Projects

SinabsSinabs

A deep learning library for spiking neural networks which is based on PyTorch, focuses on fast training and supports inference on neuromorphic hardware.

Stars118
Forks14
Last commit5 months ago
RockpoolRockpool

A machine learning library for spiking neural networks. Supports training with both torch and jax pipelines, and deployment to neuromorphic hardware.

Stars88
Forks15
Last commit21 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub