|
| 1 | +[project] |
| 2 | +name = "continual-learning" |
| 3 | +version = "1.0.0" |
| 4 | +description = "PyTorch implementation of various methods for continual learning (XdG, EWC, SI, LwF, FROMP, DGR, BI-R, ER, A-GEM, iCaRL, Generative Classifier) in three different scenarios." |
| 5 | +authors = [ |
| 6 | + { name = "Gido van de Ven", email = "[email protected]"} |
| 7 | +] |
| 8 | +readme = "README.md" |
| 9 | +requires-python = ">=3.10" |
| 10 | +dependencies = [ |
| 11 | + "numpy (>=2.2.5,<3.0.0)", |
| 12 | + "scipy (>=1.15.2,<2.0.0)", |
| 13 | + "pandas (>=2.2.3,<3.0.0)", |
| 14 | + "tqdm (>=4.67.1,<5.0.0)", |
| 15 | + "scikit-learn (>=1.6.1,<2.0.0)", |
| 16 | + "matplotlib (>=3.10.1,<4.0.0)", |
| 17 | + "visdom (>=0.2.4,<0.3.0)", |
| 18 | + "jupyterlab (>=4.4.0,<5.0.0)", |
| 19 | + "ipywidgets (>=8.1.6,<9.0.0)" |
| 20 | +] |
| 21 | + |
| 22 | +[tool.poetry.dependencies] |
| 23 | +torch = [ |
| 24 | + { markers = "extra == 'cpu' and extra != 'cuda'", source = "pytorch-cpu"}, |
| 25 | + { markers = "extra == 'cuda' and extra != 'cpu'", source = "pytorch-cuda"}, |
| 26 | + ] |
| 27 | +torchvision = [ |
| 28 | + { markers = "extra == 'cpu' and extra != 'cuda'", source = "pytorch-cpu"}, |
| 29 | + { markers = "extra == 'cuda' and extra != 'cpu'", source = "pytorch-cuda"}, |
| 30 | + ] |
| 31 | + |
| 32 | +[project.optional-dependencies] |
| 33 | +cpu = ["torch (>=2.6.0)", "torchvision"] |
| 34 | +cuda = ["torch (>=2.6.0)", "torchvision"] |
| 35 | + |
| 36 | +[build-system] |
| 37 | +requires = ["poetry-core>=2.0.0,<3.0.0"] |
| 38 | +build-backend = "poetry.core.masonry.api" |
| 39 | + |
| 40 | +[tool.poetry] |
| 41 | +package-mode = false |
| 42 | + |
| 43 | +[[tool.poetry.source]] |
| 44 | +name = "pytorch-cpu" |
| 45 | +url = "https://download.pytorch.org/whl/cpu" |
| 46 | +priority = "explicit" |
| 47 | + |
| 48 | +[[tool.poetry.source]] |
| 49 | +name = "pytorch-cuda" |
| 50 | +url = "https://download.pytorch.org/whl/cu124" |
| 51 | +priority = "explicit" |
0 commit comments