This folder contains the implementation of the APP method on prompt learning.
This code is built on top of CoOp, PLOT, and dassl .
Please follow the instructions DATASETS.md to construct the datasets.
The running scripts are in scripts/
. cd ./scripts
and change the your_data_path
and your_work_path
in scripts/main.sh
Then, you can run the commands bash main.sh DATASET N
under scripts/
.
DATASET
takes as input a dataset name, like caltech101
.
N
is the number of prompts, such as 4
.