The code repository for "Adaptive Adapter Routing for Long-Tailed Class-Incremental Learning" (MJL 2024) in PyTorch.
We provide the processed datasets as follows:
-
CIFAR100: will be automatically downloaded by the code.
-
ObjectNet: Onedrive: link You can also refer to the filelist and processing code if the file is too large to download.
These subsets are sampled from the original datasets. Please note that I do not have the right to distribute these datasets. If the distribution violates the license, I shall provide the filenames instead.
You need to modify the path of the datasets in ./utils/data.py
according to your own path.
To prepare your JSON files, refer to the settings in the exps
folder and run the following command. The results can be found in the logs
folder.
python main.py --config ./exps/[configname].json
This repo is based on LAMDA-PILOT, CIL_Survey and PyCIL.
If you have any questions, please contact me via email or open an issue.