yt8m.yaml 1.23 KB
Newer Older
Hye Yoon's avatar
Hye Yoon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# yt8m config file
task:
  model:
    cluster_size: 8192
    hidden_size: 1024
    add_batch_norm: true
    sample_random_frames: true
    is_training: true
    activation: "sigmoid"
    pooling_method: "max"
    yt8m_agg_classifier_model: "MoeModel"
  train_data:
    name: 'yt8m'
    split: 'train'
    feature_sizes: !!python/tuple
16
17
    - 1024
    - 128
Hye Yoon's avatar
Hye Yoon committed
18
    feature_names: !!python/tuple
19
20
    - "rgb"
    - "audio"
Hye Yoon's avatar
Hye Yoon committed
21
22
23
24
25
26
27
28
29
30
31
32
33
34
    segment_size: 1
    segment_labels: false
    temporal_stride: 1
    max_frames: 300
    num_frames: 300
    num_classes: 3862
    num_devices: 1
    input_path: 'gs://youtube8m-ml/2/frame/train/train*.tfrecord'
    is_training: true
    random_seed: 123
  validation_data:
    name: 'yt8m'
    split: 'train'
    feature_sizes: !!python/tuple
35
36
    - 1024
    - 128
Hye Yoon's avatar
Hye Yoon committed
37
    feature_names: !!python/tuple
38
39
    - "rgb"
    - "audio"
Hye Yoon's avatar
Hye Yoon committed
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
    segment_size: 1
    segment_labels: true
    temporal_stride: 1
    max_frames: 300
    num_frames: 300
    num_classes: 3862
    num_devices: 1
    input_path: 'gs://youtube8m-ml/3/frame/validate/validate*.tfrecord'
    is_training: false
    random_seed: 123
  losses:
    name: 'binary_crossentropy'
    from_logits: false
    label_smoothing: 0.0
  gradient_clip_norm: 1.0
  num_readers: 8
56
  top_k: 20