attention_lstm.txt 663 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
[MODEL]
name = "AttentionLSTM"
dataset = "YouTube-8M"
bone_nework = None
drop_rate = 0.5
feature_num = 2
feature_names = ['rgb', 'audio']
feature_dims = [1024, 128]
embedding_size = 512
lstm_size = 1024
11 12
num_classes = 3862
topk = 20
13 14 15 16 17 18 19 20 21

[TRAIN]
epoch = 10
learning_rate = 0.001
decay_epochs = [5]
decay_gamma = 0.1
weight_decay = 0.0008
num_samples = 5000000
pretrain_base = None
22
batch_size = 1024
23
use_gpu = True
24
num_gpus = 8
25
filelist = "dataset/youtube8m/train.list"
26 27

[VALID]
28
batch_size = 1024
29
filelist = "dataset/youtube8m/val.list"
30 31

[TEST]
32
batch_size = 128
33
filelist = "dataset/youtube8m/test.list"
34 35 36

[INFER]
batch_size = 1
37
filelist = "dataset/youtube8m/infer.list"