rename to dzgcoop

This commit is contained in:
2026-02-24 01:01:53 +08:00
parent f3a7993665
commit 61864e192a
13 changed files with 74 additions and 74 deletions

View File

@@ -0,0 +1,22 @@
seeds=(1 2 3)
datasets=(
"ucf101"
"eurosat"
"oxford_pets"
"food101"
"oxford_flowers"
"dtd"
"caltech101"
"fgvc_aircraft"
"stanford_cars"
# "sun397"
# "imagenet"
)
for dataset in "${datasets[@]}"; do
for seed in "${seeds[@]}"; do
bash scripts/dzgcoop/base2new_train.sh "$dataset" "$seed"
bash scripts/dzgcoop/base2new_test.sh "$dataset" "$seed"
done
done

View File

@@ -3,7 +3,7 @@
# custom config
DATA="~/Datasets/CoOp"
TRAINER=PromptSRC
TRAINER=DZGCoOp
DATASET=$1
SEED=$2

View File

@@ -2,7 +2,7 @@
# custom config
DATA="~/Datasets/CoOp"
TRAINER=PromptSRC
TRAINER=DZGCoOp
DATASET=$1
SEED=$2

View File

@@ -2,7 +2,7 @@
DATA=" ~/Datasets/CoOp"
TRAINER=PromptSRC
TRAINER=DZGCoOp
SRC_DATASETS=imagenet
SHOTS=16
CFG=vit_b16_c2_ep20_batch4_4+4ctx_cross_datasets

View File

@@ -3,7 +3,7 @@
# custom config
DATA=" ~/Datasets/CoOp"
TRAINER=PromptSRC
TRAINER=DZGCoOp
SRC_DATASETS=imagenet

View File

@@ -3,7 +3,7 @@
# custom config
DATA=" ~/Datasets/CoOp"
TRAINER=PromptSRC
TRAINER=DZGCoOp
SRC_DATASETS=imagenet

View File

@@ -1,22 +0,0 @@
seeds=(1 2 3)
datasets=(
# "ucf101"
# "eurosat"
# "oxford_pets"
# "food101"
# "oxford_flowers"
# "dtd"
# "caltech101"
# "fgvc_aircraft"
# "stanford_cars"
# "sun397"
"imagenet"
)
for dataset in "${datasets[@]}"; do
for seed in "${seeds[@]}"; do
bash scripts/promptsrc/base2new_train.sh "$dataset" "$seed"
bash scripts/promptsrc/base2new_test.sh "$dataset" "$seed"
done
done