File size: 542 Bytes
60c8e7f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
from .pretrain import *

del available_corpus

train_file = [
    f"{anno_root_downstream}/anet_ret_train.json",
    f"{data_root}/activity_net_2fps_360",
    "video",
]
test_file = dict(
    test=[
        f"{anno_root_downstream}/anet_ret_val_1.json",
        f"{data_root}/activity_net_2fps_360",
        "video",
    ],
)

test_types = ["test"]
stop_key = "test/"  # used to choose the best ckpt. If None, save the last.
is_paragraph_retrieval = True

max_txt_l = 64
batch_size = 32
num_frames = 12

optimizer["lr"] = 1e-5
log_freq = 100