Skip to content

A modular and easy-to-use framework for Test-Time Training (TTT) and Test-Time Adaptation (TTA) in Pytorch, making your networks more generalizable with minimal effort ✨

License

Notifications You must be signed in to change notification settings

nikitadurasov/torch-ttt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TorchTTT

torch-ttt

torch-ttt is a package designed to work with Test-Time Training (TTT) techniques and make your networks more generalizable. It aims to be modular, easy to integrate into existing pipelines, and collaborative— including as many methods as possible. Reach out to add yours!

>> You can find our webpage and documentation here: torch-ttt.github.io

torch-ttt is in its early stages, so changes are expected. Contributions are welcome—feel free to get involved! If you run into any bugs or issues, don’t hesitate to submit an issue.


This package provides a streamlined API for a variety of TTT methods through Engines, which are lightweight wrappers around your model. These Engines are:

  • Easy to use – The internal logic of TTT methods is fully encapsulated, so you only need to wrap your model with an Engine, and you're ready to go.
  • Highly modular and standardized – Each Engine follows the same interface, allowing methods to be used interchangeably, making it easy to find the best fit for your application.
  • Minimal changes required – Enabling a TTT method for your model requires only a few additional lines of code.

Check out the Quick Start guide or the API reference for a more detailed explanation of how Engines work and their core concepts.

Installation

torch-ttt requires Python 3.10 or greater. Install the desired PyTorch version in your environment.

For the latest development version you can run,

pip install git+https://github.com/nikitadurasov/torch-ttt.git

While we do not support PyPI yet, support is expected very soon!

Quickstart

We provide a Quick Start guide to help you get started smoothly. Take a look here: Quick Start and see how to integrate TTT methods into your project.

Tutorials

We offer a variety of tutorials to help users gain a deeper understanding of the implemented methods and see how they can be applied to different tasks. Visit the Tutorials page to explore them.

Documentation

Our aim is to provide comprehensive documentation for all included TTT methods, covering their theoretical foundations, practical benefits, and efficient integration into your project. We also offer tutorials that illustrate their applications and guide you through their effective usage.

About

A modular and easy-to-use framework for Test-Time Training (TTT) and Test-Time Adaptation (TTA) in Pytorch, making your networks more generalizable with minimal effort ✨

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy