Skip to content

Cross dataset transferability #3

@alvitawa

Description

@alvitawa

Hi, Thanks for your amazing work. Can I ask how to run the cross dataset transferability experiments with your repo?

Is this the correct command?

python train.py \
	--root ${DATA} \
	--seed ${SEED} \
	--trainer ${TRAINER} \
	--dataset-config-file configs/datasets/${DATASET}.yaml \
	--config-file configs/trainers/${CFG}.yaml \
	--output-dir ${DIR} \
	--model-dir ${MODEL_DIR} \
	--load-epoch ${LOADEP} \
	--eval-only \
	DATASET.NUM_SHOTS ${SHOTS} \
	DATASET.SUBSAMPLE_CLASSES ${SUB}

Or should I remove the last 2 rows like in https://github.com/muzairkhattak/multimodal-prompt-learning/blob/main/scripts/maple/xd_test_maple.sh

I couldnt find any information on how the tests are actually run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions