-
Notifications
You must be signed in to change notification settings - Fork 3
/
b32-yfcc-msclips.yaml
executable file
·37 lines (31 loc) · 935 Bytes
/
b32-yfcc-msclips.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
BASE: ['b32.yaml']
MODEL:
NAME: clip_openai_pe_res_v1
SPEC:
GATHER_TENSORS: True
TEXT:
WIDTH: 768
HEADS: 12
PRETRAINED_MODEL: 'OUTPUT_MODEL/b32-yfcc-msclips_ckpt.pth'
CUSTOM:
SHARE_MODULES: ['attn.in_proj_weight', 'attn.in_proj_bias', 'attn.out_proj', 'mlp']
LR_SHARE: 0.0001
WD_SHARE: 0.2
PARALLEL_IN_V: True
PARALLEL_N_LAYERS: 5
PARALLEL_LATERAL_LAYER: [2,4,6,8,10]
PRALLEL_T2B_KERNELS: [16, 8, 4, 2, 1]
PRALLEL_T2B_PADDINGS: [0,0,0,0,0]
PRALLEL_T2B_STRIDES: [16,8,4,2,1]
PRALLEL_T2B_USECLS: True
PARALLEL_RESNET: True
PARALLEL_RESNET_LAYERS: [0, 1, 1, 1, 1]
EARLY_CONV: True
EARLY_CONV_NEW_IMPLEMENT: True
N_LAYERS: 1
VISUAL_LAYER_MINUS1: False
# >>>>>>>>>>>> For residual block in earlyconv <<<<<<<<<<<<<
EARLY_CONV_RES: True
EARLY_CONV_RES_FIRSTCONV_KERNEL: 3
EARLY_CONV_RES_BLOCK: 'basic_v0' # 'bottleneck' 'basic_v1'
EARLY_CONV_RES_LAYERS: [1, 1, 1, 1]