File size: 2,783 Bytes
56c538a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
wandb_group: lvdm
output_dir: experiments/lvdm
pretrained_model_name_or_path: null
vae_path: models/vae
globals:
  target_fps: 32
  target_nframes: 64
  outputs:
  - video
  - lvef
  - image
datasets:
- name: Latent
  active: true
  params:
    root: data/latents/dynamic
    target_fps: ${globals.target_fps}
    target_nframes: ${globals.target_nframes}
    target_resolution: 14
    outputs: ${globals.outputs}
- name: Latent
  active: true
  params:
    root: data/latents/ped_a4c
    target_fps: ${globals.target_fps}
    target_nframes: ${globals.target_nframes}
    target_resolution: 14
    outputs: ${globals.outputs}
- name: Latent
  active: true
  params:
    root: data/latents/ped_psax
    target_fps: ${globals.target_fps}
    target_nframes: ${globals.target_nframes}
    target_resolution: 14
    outputs: ${globals.outputs}
unet:
  _class_name: UNetSpatioTemporalConditionModel
  addition_time_embed_dim: 1
  block_out_channels:
  - 128
  - 256
  - 256
  - 512
  cross_attention_dim: 1
  down_block_types:
  - CrossAttnDownBlockSpatioTemporal
  - CrossAttnDownBlockSpatioTemporal
  - CrossAttnDownBlockSpatioTemporal
  - DownBlockSpatioTemporal
  in_channels: 8
  layers_per_block: 2
  num_attention_heads:
  - 8
  - 16
  - 16
  - 32
  num_frames: ${globals.target_nframes}
  out_channels: 4
  projection_class_embeddings_input_dim: 1
  sample_size: 14
  transformer_layers_per_block: 1
  up_block_types:
  - UpBlockSpatioTemporal
  - CrossAttnUpBlockSpatioTemporal
  - CrossAttnUpBlockSpatioTemporal
  - CrossAttnUpBlockSpatioTemporal
noise_scheduler:
  _class_name: DDPMScheduler
  num_train_timesteps: 1000
  beta_start: 0.0001
  beta_end: 0.02
  beta_schedule: linear
  variance_type: fixed_small
  clip_sample: true
  clip_sample_range: 4.0
  prediction_type: v_prediction
  thresholding: false
  dynamic_thresholding_ratio: 0.995
  sample_max_value: 1.0
  timestep_spacing: leading
  steps_offset: 0
train_batch_size: 16
dataloader_num_workers: 16
max_train_steps: 500000
learning_rate: 0.0001
lr_warmup_steps: 500
scale_lr: false
lr_scheduler: constant
use_8bit_adam: false
gradient_accumulation_steps: 1
noise_offset: 0.1
drop_conditionning: 0.1
gradient_checkpointing: false
use_ema: true
enable_xformers_memory_efficient_attention: false
allow_tf32: true
adam_beta1: 0.9
adam_beta2: 0.999
adam_weight_decay: 0.01
adam_epsilon: 1.0e-08
max_grad_norm: 1.0
logging_dir: logs
mixed_precision: fp16
validation_timesteps: 128
validation_fps: ${globals.target_fps}
validation_frames: ${globals.target_nframes}
validation_lvefs:
- 0.0
- 0.4
- 0.7
- 1.0
validation_guidance: 1.0
validation_steps: 1500
report_to: wandb
checkpointing_steps: 10000
checkpoints_total_limit: 100
resume_from_checkpoint: null
tracker_project_name: echosyn
seed: 42
num_train_epochs: 893