-
Notifications
You must be signed in to change notification settings - Fork 15
/
ucf_k400_finetune.yaml
42 lines (42 loc) · 1010 Bytes
/
ucf_k400_finetune.yaml
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
pretrain: exp_sota/k400/ViT-L/14/f16/last_model.pt
resume:
seed: 1024
data:
dataset: ucf101
modality: RGB
num_segments: 16
seg_length: 1
batch_size: 4
workers: 4
num_classes: 101
image_tmpl: 'image_{:04d}.jpg'
train_root: '/bpfs/v2_mnt/VIS/wuwenhao/UCF101-frames'
val_root: '/bpfs/v2_mnt/VIS/wuwenhao/UCF101-frames'
train_list: 'lists/ucf101/train_rgb_split_1.txt'
val_list: 'lists/ucf101/val_rgb_split_1.txt'
label_list: 'lists/ucf_labels.csv'
input_size: 224
random_shift: True
network:
arch: ViT-L/14 #ViT-B/32 ViT-B/16
init: True
drop_out: 0.0
emb_dropout: 0.0
type: clip_ucf
sim_header: Transf
drop: 0
solver:
type: cosine
epochs: 30
start_epoch: 0
optim: adamw
lr: 5.e-5
lr_warmup_step: 5
weight_decay: 0.2
loss_type: CE
evaluate: False
clip_ratio: 0.1
grad_accumulation_steps: 2
logging:
print_freq: 10
eval_freq: 5