-
Notifications
You must be signed in to change notification settings - Fork 21
/
anet_k400_finetune.yaml
47 lines (47 loc) · 1.16 KB
/
anet_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
43
44
45
46
47
pretrain: exps/k400/ViT-L/14/16f/k400-vit-l-14-f16.pt
resume:
seed: 1024
data:
dataset: anet
modality: RGB
num_segments: 16
seg_length: 1
batch_size: 32
workers: 4
num_classes: 200
image_tmpl: 'image_{:06d}.jpg'
train_root: '/bpfs/v2_mnt/VIS/wuwenhao/anet/anet_instance_frames_v1.3_train_vids_fps1'
val_root: '/bpfs/v2_mnt/VIS/wuwenhao/anet/activitynet_val_resize_img_256_340_fps1'
train_list: 'lists/anet/anet_train_instance_fps1.txt'
val_list: 'lists/anet/anet_val_video_fps1.txt' #
label_list: 'lists/anet/anet1.3_labels.csv'
input_size: 224
random_shift: True
output_path: exps
network:
arch: ViT-L/14
init: True
tm: False
drop_out: 0.0
emb_dropout: 0.0
sim_header: Transf
interaction: VCS
joint_st: False
drop: 0
fix_text: True
fix_video: False
solver:
type: cosine
epochs: 20
start_epoch: 0
optim: adamw
lr: 5.e-5
lr_warmup_step: 5
weight_decay: 0.2
loss_type: NCE
evaluate: False
clip_ratio: 0.1
grad_accumulation_steps: 1
logging:
print_freq: 10
eval_freq: 2