yt8m.yaml 1.18 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
    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
  validation_data:
    name: 'yt8m'
    split: 'train'
    feature_sizes: !!python/tuple
34
35
    - 1024
    - 128
Hye Yoon's avatar
Hye Yoon committed
36
    feature_names: !!python/tuple
37
38
    - "rgb"
    - "audio"
Hye Yoon's avatar
Hye Yoon committed
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
    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
  losses:
    name: 'binary_crossentropy'
    from_logits: false
    label_smoothing: 0.0
  gradient_clip_norm: 1.0
  num_readers: 8
54
  top_k: 20