LibContinual / README_ZH.md
boringKey's picture
Upload 236 files
5fee096 verified

LibContinual

Make continual learning easy.

Introduction

LibContinual is an open source continual learning toolbox based on PyTorch. The master branch works with PyTorch 1.13. The compatibility to earlier versions of PyTorch is not fully tested.

flowchart

Supported Methods

Quick Installation

(待文档部分完成)
请参考文档中安装部分。
完整文档:./docs

Datasets

CIFAR-100, miniImageNet(todo)

将对应数据集的压缩包解压至指定路径:

unzip cifar100.zip -d /path/to/your/dataset

修改.yaml文件的data_root参数:

data_root: /path/to/your/dataset

如何添加自定义数据集请参考文档:添加自定义数据集

Get Start

当您已经完成Quick InstallationDatasets后,我们以LUCIR方法为例展示如何使用LibContinual

  • Step1: 修改run_trainer.pyConfig参数为./config/lucir.yaml
  • Step2:配置./config/lucir.yaml文件中的参数,各参数含义请参考配置文件
  • Step3: 运行代码python run_trainer.py
  • Step4:日志保存在配置文件中save_path路径下

Acknowledgement

LibContinual is an open source project designed to help continual learning researchers quickly understand the classic methods and code structures. We welcome other contributors to use this framework to implement their own or other impressive methods and add them to LibContinual. This library can only be used for academic research. We welcome any feedback during using LibContinual and will try our best to continually improve the library.

在本项目开发过程中参考了下列仓库:

在我们的工作中参考了这些仓库中有用的模块。我们深深感谢这些仓库的作者们。

License

This project is licensed under the MIT License. See LICENSE for more details.