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

set lpclip num-shot #58

Open
laohuijiadezhu opened this issue Mar 21, 2023 · 0 comments
Open

set lpclip num-shot #58

laohuijiadezhu opened this issue Mar 21, 2023 · 0 comments

Comments

@laohuijiadezhu
Copy link

I want to reproduction lpclip experiment. extract feature by sh feat_extractor.sh. I met the following questions,

  1. How should I set the option num-shot? I should use the option --num-shot or
    parser.add_argument("--num-shot", type=int, default=1, help="number of shots")
    or DATASET.NUM_SHOTS
    DATASET.NUM_SHOTS ${SHOTS}
  2. In this experiment, I used the default configuration. Theoretically, num-shot should be 1, but the log is recorded as -1.DATASET: ALL_AS_UNLABELED: False CIFAR_C_LEVEL: 1 CIFAR_C_TYPE: NAME: UCF101 NUM_LABELED: -1 NUM_SHOTS: -1 ROOT: /path/to/CoOp-main/data SOURCE_DOMAINS: () STL10_FOLD: -1 SUBSAMPLE_CLASSES: all TARGET_DOMAINS: () VAL_PERCENT: 0.1 So what is the true value of num-shot in this experiment?
  3. How to set up multi card training? Where is the entry?
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

1 participant