Skip to main content

Continual Learning

This repository contains code for the demonstration of various concepts in continual learning.

Installation

To install the required dependencies, you can use uv:

uv sync

Usage

To run the demonstrations locally, there are two options:

Running with uv

uv run <demo_name>/demo.py

Replace <demo_name> with the folder name of the specific demonstration you want to run.

In Jupyter Notebook

You can also run the demonstrations in a Jupyter Notebook using locally running Jupyter server.

  1. Install jupyter kernel for uv. This will allow the locally running Jupyter server to recognize the uv environment and use it as a kernel for running the notebooks:
    uv sync --dev
    uv run python -m ipykernel install --user --name=continual-learning --display-name "Continual Learning"
    
  2. Start the JupyterLab server:
    uv run jupyter lab
    
  3. Open the desired notebook from the JupyterLab interface and select the "Continual Learning" kernel to run the notebook.

Demos

The repository includes the following demonstrations:

  • Catastrophic Forgetting: This demo illustrates the phenomenon of catastrophic forgetting in neural networks when trained sequentially on multiple tasks.

Contributing

If you would like to contribute to this repository, please feel free to submit a pull request. We welcome contributions that improve the code, add new demonstrations, or enhance the documentation.

Metadata

Release files for continual-learning-utils 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for continual-learning-utils 0.1.0
File Size Uploaded Provenance
continual_learning_utils-0.1.0.tar.gz 344.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for continual-learning-utils 0.1.0
File Interpreter ABI Platform
continual_learning_utils-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 354.8 kB

Release files / continual_learning_utils-0.1.0.tar.gz

Download URL continual_learning_utils-0.1.0.tar.gz
Size 344.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6d0fca59ec86026504b8329bc9a0190f9ce920b2958798dd3516d163e3925c1d
BLAKE2b-256 checksum
How to use checksums
b7bf169bf880c372ceb6746b4b6efa7eac18ff242e90571cbb984918586158d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / continual_learning_utils-0.1.0-py3-none-any.whl

Download URL continual_learning_utils-0.1.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
899dbf1f208de14999a10bd43b56f12563e6a1020153464ea6fd23743dfbd656
BLAKE2b-256 checksum
How to use checksums
2ce614b71e8c8d6b80e55b2d6235a62233c0735d6350a60518ee8cfe418938cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for continual-learning-utils 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page