Skip to main content

Train CL models in a Docker container

Project description

What is continualTrain?

A tool to centralize the execution of continual learning models in Avalanche, from anywhere, for any project, given you follow the interfacing instructions.

What does it contain?

This repository doesn't claim to do too much aside from run the main training loop and log things. As such, it contains a training loop skeleton + a logging module.

It also includes continualUtils, a collection of common utilities and tools that can plug in with the main training loop.

Bring Your Own Batteries (BYOB): continualTrain is an interface that runs the main training loop inside an already defined docker container, along with a comprehensive logging module to WandB. You bring your own model and strategies. Or, pick them up from continualUtils and modify them.

Everything is a plugin. Some are required (e.g. model, strategy, dataset), and others are not. If you do not give continualTrain a plugin, it will use a default plugin.

Environment File

Set up a .env file to do WandB logging

# This is secret and shouldn't be checked into version control
WANDB_API_KEY=$SECRETY_KEY
WANDB_DISABLE_GIT=true #annoying when false

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

continualtrain-0.0.0.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

continualtrain-0.0.0-py3-none-any.whl (55.2 kB view details)

Uploaded Python 3

File details

Details for the file continualtrain-0.0.0.tar.gz.

File metadata

  • Download URL: continualtrain-0.0.0.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.13 Linux/6.4.6-76060406-generic

File hashes

Hashes for continualtrain-0.0.0.tar.gz
Algorithm Hash digest
SHA256 7a7f5c4408acb0f64f99a8e2023ec077d2f99abd58093f6c118831542f67cea2
MD5 066159253f06bf05cb221273ffcd7ce6
BLAKE2b-256 015102c44528227b5e8f9c78f5e40bdefcb096d2aa3f057a8933979946f5c487

See more details on using hashes here.

File details

Details for the file continualtrain-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: continualtrain-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 55.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.13 Linux/6.4.6-76060406-generic

File hashes

Hashes for continualtrain-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c737bfcae12867bf98dccd9236a1cdd921803e823568af382c026b99d1afa2a
MD5 70923bea8fd805cfdb037d62ca4e6968
BLAKE2b-256 23babae0c59dded4facca69bdb103eae8e2fdb3f1cc81194070221a9bda18cae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page