Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base-to-novel generalization #70

Open
SHIBOYA opened this issue Nov 17, 2023 · 1 comment
Open

Base-to-novel generalization #70

SHIBOYA opened this issue Nov 17, 2023 · 1 comment

Comments

@SHIBOYA
Copy link

SHIBOYA commented Nov 17, 2023

CoCoOp provides the train and test commands in the Base-to-novel generalization scenario, but they are not found in CoOp. How should I test CoOp in the Base-to-novel generalization scenario? Which config file to use specifically?

@Carycaryqi
Copy link

Just use base2new_train/test.sh under scripts/cocoop,and set trainer=CoOp,CFG=vit_b16_ctxv1(and CFG=vit_b16_ep50_ctxv1 for Imagenet specifically). Use the instruction bash scripts/coop base2new_train/test.sh (dataset) (seed) is ok.But I have a question.How to test the zeroshotclip for base2new? Just change the trainer=ZeroshotClip would make mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants