A Python package for continual learning algorithms and utilities.
Project description
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.
- 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"
- Start the JupyterLab server:
uv run jupyter lab
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file continual_learning_utils-0.1.0.tar.gz.
File metadata
- Download URL: continual_learning_utils-0.1.0.tar.gz
- Upload date:
- Size: 344.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d0fca59ec86026504b8329bc9a0190f9ce920b2958798dd3516d163e3925c1d
|
|
| MD5 |
f5ab8eb70fb6c87a7d55f4722206f812
|
|
| BLAKE2b-256 |
b7bf169bf880c372ceb6746b4b6efa7eac18ff242e90571cbb984918586158d9
|
File details
Details for the file continual_learning_utils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: continual_learning_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
899dbf1f208de14999a10bd43b56f12563e6a1020153464ea6fd23743dfbd656
|
|
| MD5 |
2aa51a3dcd36a5abdceb4a54822801cb
|
|
| BLAKE2b-256 |
2ce614b71e8c8d6b80e55b2d6235a62233c0735d6350a60518ee8cfe418938cf
|