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

How did you set the random seed of Table 1. #42

Open
KyominHwang opened this issue Jun 14, 2023 · 1 comment
Open

How did you set the random seed of Table 1. #42

KyominHwang opened this issue Jun 14, 2023 · 1 comment

Comments

@KyominHwang
Copy link

KyominHwang commented Jun 14, 2023

Hi,

I'm reproducing your result in Table 1 with the hyper-parameter reported in the shared CSV file in google drive.
Now I train all models in A100 GPU, but there exists a small gap between the reported performance.

  1. So, I'm curious about how you set the random seed in Table 1.

And also, when I ran vtab-svhn dataset with random seed [42, 44, 82, 100, 800], I got unstable top1 results as follows:

seed42 : 79.78
seed44 : 65.91
seed82 : 80.37
seed100 : 81.75
seed800 : 81.47

and the command is as follows:

11 for seed in "42" "44" "82" "100" "800"; do
12 CUDA_VISIBLE_DEVICES=3 python3 train.py
13 --config-file configs/prompt/cub.yaml
14 MODEL.TYPE "vit"
15 DATA.BATCH_SIZE "128"
16 MODEL.PROMPT.NUM_TOKENS "50"
17 MODEL.PROMPT.DEEP "True"
18 MODEL.PROMPT.DROPOUT "0.1"
19 DATA.FEATURE "sup_vitb16_imagenet21k"
20 DATA.NAME 'vtab-svhn'
21 DATA.NUMBER_CLASSES "10"
22 SOLVER.BASE_LR "1.25"
23 SOLVER.WEIGHT_DECAY "0.0"
24 SEED ${seed}
25 MODEL.MODEL_ROOT "./weights"
26 DATA.DATAPATH "./dataset"
27 OUTPUT_DIR "output/seed${seed}"
28 done

  1. So, I'm curious about does the visual prompt tuning is sensitive to the hyper-parameter(e.g. random seed). Or, does the command wrong?
@KyominHwang
Copy link
Author

KyominHwang commented Jun 22, 2023

Or, can you share the per-task results of the Fig. 15.-Average(left most figure)?

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