-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.sh
More file actions
43 lines (32 loc) · 3.16 KB
/
Copy pathtest.sh
File metadata and controls
43 lines (32 loc) · 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
for DATASET in cifar caltech101 dtd oxford_flowers102 oxford_iiit_pet svhn sun397 patch_camelyon eurosat resisc45 diabetic_retinopathy clevr_count clevr_dist dmlab kitti dsprites_loc dsprites_ori smallnorb_azi smallnorb_ele
do
CUDA_VISIBLE_DEVICES=0 python main.py --dataset $DATASET --method adaptformer --dim 8 --bit 32 --load_config --eval --model_path './result/adaptformer'
done
for DATASET in cifar caltech101 dtd oxford_flowers102 oxford_iiit_pet svhn sun397 patch_camelyon eurosat resisc45 diabetic_retinopathy clevr_count clevr_dist dmlab kitti dsprites_loc dsprites_ori smallnorb_azi smallnorb_ele
do
CUDA_VISIBLE_DEVICES=0 python main.py --dataset $DATASET --method adaptformer --r_layer 6 --dim 8 --bit 32 --load_config --eval --model_path './result/adaptformer-fpet'
done
for DATASET in cifar caltech101 dtd oxford_flowers102 oxford_iiit_pet svhn sun397 patch_camelyon eurosat resisc45 diabetic_retinopathy clevr_count clevr_dist dmlab kitti dsprites_loc dsprites_ori smallnorb_azi smallnorb_ele
do
CUDA_VISIBLE_DEVICES=0 python main.py --dataset $DATASET --method lora --dim 8 --bit 32 --load_config --eval --model_path './result/lora'
done
for DATASET in cifar caltech101 dtd oxford_flowers102 oxford_iiit_pet svhn sun397 patch_camelyon eurosat resisc45 diabetic_retinopathy clevr_count clevr_dist dmlab kitti dsprites_loc dsprites_ori smallnorb_azi smallnorb_ele
do
CUDA_VISIBLE_DEVICES=0 python main.py --dataset $DATASET --method lora --r_layer 6 --dim 8 --bit 32 --load_config --eval --model_path './result/lora-fpet'
done
for DATASET in cifar caltech101 dtd oxford_flowers102 oxford_iiit_pet svhn sun397 patch_camelyon eurosat resisc45 diabetic_retinopathy clevr_count clevr_dist dmlab kitti dsprites_loc dsprites_ori smallnorb_azi smallnorb_ele
do
CUDA_VISIBLE_DEVICES=0 python main.py --dataset $DATASET --method adaptformer --dim 32 --bit 1 --load_config --eval --model_path './result/bi-adaptformer'
done
for DATASET in cifar caltech101 dtd oxford_flowers102 oxford_iiit_pet svhn sun397 patch_camelyon eurosat resisc45 diabetic_retinopathy clevr_count clevr_dist dmlab kitti dsprites_loc dsprites_ori smallnorb_azi smallnorb_ele
do
CUDA_VISIBLE_DEVICES=0 python main.py --dataset $DATASET --method adaptformer --r_layer 6 --dim 32 --bit 1 --load_config --eval --model_path './result/bi-adaptformer-fpet'
done
for DATASET in cifar caltech101 dtd oxford_flowers102 oxford_iiit_pet svhn sun397 patch_camelyon eurosat resisc45 diabetic_retinopathy clevr_count clevr_dist dmlab kitti dsprites_loc dsprites_ori smallnorb_azi smallnorb_ele
do
CUDA_VISIBLE_DEVICES=0 python main.py --dataset $DATASET --method lora --dim 32 --bit 1 --load_config --eval --model_path './result/bi-lora'
done
for DATASET in cifar caltech101 dtd oxford_flowers102 oxford_iiit_pet svhn sun397 patch_camelyon eurosat resisc45 diabetic_retinopathy clevr_count clevr_dist dmlab kitti dsprites_loc dsprites_ori smallnorb_azi smallnorb_ele
do
CUDA_VISIBLE_DEVICES=0 python main.py --dataset $DATASET --method lora --r_layer 6 --dim 32 --bit 1 --load_config --eval --model_path './result/bi-lora-fpet'
done