File size: 2,005 Bytes
7667a87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
dataset:
  dataset_name: "sevirlr"
  img_height: 400
  img_width: 400
  in_len: 0
  out_len: 1
  seq_len: 1
  plot_stride: 1
  interval_real_time: 5
  sample_mode: "sequent"
  stride: 1
  layout: "NTHWC"
  start_date: null
  train_test_split_date: [2019, 6, 1]
  end_date: null
  val_ratio: 0.1
  metrics_mode: "0"
  metrics_list: ['csi', 'pod', 'sucr', 'bias']
  threshold_list: [16, 74, 133, 160, 181, 219]
  aug_mode: "1"
layout:
  layout: "NHWC"
optim:
  total_batch_size: 256
  micro_batch_size: 32
  float32_matmul_precision: "high"
  seed: 0
  method: "adam"
  lr: 5e-6
  betas: [0.5, 0.9]
  gradient_clip_val: 1.0
  max_epochs: 500
  # scheduler
  warmup_percentage: 0.1
  lr_scheduler_mode: "cosine"
  min_lr_ratio: 1.0e-3
  warmup_min_lr_ratio: 0.1
  # early stopping
  monitor: "val/total_loss"
  early_stop: true
  early_stop_mode: "min"
  early_stop_patience: 5
  save_top_k: 3
logging:
  logging_name: "pretrained_real_single_gpu"
  run_id: null
  logging_prefix: "VAE_GAN_SEVIR-LR"
  monitor_lr: true
  monitor_device: false
  track_grad_norm: -1
  use_wandb: true
trainer:
  check_val_every_n_epoch: 5
  log_step_ratio: 0.001
  precision: 32
  find_unused_parameters: True
  num_sanity_val_steps: 2
eval:
  train_example_data_idx_list: [0, ]
  val_example_data_idx_list: [0, ]
  test_example_data_idx_list: [0, 16, 32, 48, 64, 72, 96, 108, 128]
  eval_example_only: false
  num_vis: 10
model:
  data_channels: 1
  down_block_types: ['DownEncoderBlock2D', 'DownEncoderBlock2D', 'DownEncoderBlock2D', 'DownEncoderBlock2D']
  in_channels: 1
  block_out_channels: [128, 256, 512, 512]  # downsample `len(block_out_channels) - 1` times
  act_fn: 'silu'
  latent_channels: 64
  up_block_types: ['UpDecoderBlock2D', 'UpDecoderBlock2D', 'UpDecoderBlock2D', 'UpDecoderBlock2D']
  norm_num_groups: 32
  layers_per_block: 2
  out_channels: 1
  loss:
    disc_start: 50001
    kl_weight: 1e-6
    disc_weight: 0.5
    perceptual_weight: 0.0  # SEVIR does not have RGB channels
    disc_in_channels: 1