-
Notifications
You must be signed in to change notification settings - Fork 5
/
cls-pointbert-mn40-32v-middle-mlp_head-1.sh
executable file
·62 lines (51 loc) · 1.28 KB
/
cls-pointbert-mn40-32v-middle-mlp_head-1.sh
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# 2023/09/30
# NOTE
# model version: ppt-ffn
main_program=main_cls.py
proj_name=recog
exp_name=cls-pointbert-mn40-32v-middle-mlp_head-1
task=cls
model=ULIP_PointBERT
head_type=2 # ppt-ffn
context_len=32
class_pos=middle
dataset=modelnet40
npoints=1024
gpu=0
optim=adamw
lr=0.003
smooth=0.2
epochs=250
batch_size=120
print_freq=50
output_dir=outputs
log_file=run.log
if [ ! -d ${output_dir}/${proj_name}/${exp_name} ]
then
mkdir -p ${output_dir}/${proj_name}/${exp_name}
fi
if [ ! -f ${output_dir}/${proj_name}/${exp_name}/${log_file} ]
then
touch ${output_dir}/${proj_name}/${exp_name}/${log_file}
fi
pueue add -g ${proj_name} \
python ${main_program} \
--proj_name ${proj_name} \
--exp_name ${exp_name} \
--main_program ${main_program} \
--task ${task} \
--model ${model} --ulip2 \
--head_type ${head_type} \
--num_learnable_prompt_tokens ${context_len} \
--class_name_position ${class_pos} \
--dataset_name ${dataset} \
--npoints ${npoints} \
--gpu ${gpu} \
--optim ${optim} --lr ${lr} \
--label_smoothing ${smooth} \
--epochs ${epochs} \
--batch_size ${batch_size} \
--print_freq ${print_freq} \
--output_dir ${output_dir} \
--wandb \
2>&1 | tee ${output_dir}/${proj_name}/${exp_name}/${log_file}