Skip to content

Commit

Permalink
add arg
Browse files Browse the repository at this point in the history
  • Loading branch information
CEWu committed Sep 13, 2022
1 parent 463106b commit 4d9900d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/upl_train.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ SHOTS=$5 # number of shots (1, 2, 4, 8, 16)
CSC=$6 # class-specific context (False or True)
CLASS_EQULE=$7 # CLASS_EQULE True of False
TAG=$8 # log tag (multiple_models_random_init or rn50_random_init)
FP=$9 # number of false positive training samples per class


for SEED in {1..16}
Expand All @@ -30,6 +31,7 @@ do
--dataset-config-file configs/datasets/${DATASET}.yaml \
--config-file configs/trainers/${TRAINER}/${CFG}.yaml \
--output-dir ${DIR} \
--num-fp ${FP} \
TRAINER.UPLTrainer.N_CTX ${NCTX} \
TRAINER.UPLTrainer.CSC ${CSC} \
TRAINER.UPLTrainer.CLASS_TOKEN_POSITION ${CTP} \
Expand Down

0 comments on commit 4d9900d

Please sign in to comment.