exp_name: FET-VFI_BiFrequencyLoss

mode: train

train_dataset:
  name: vimeo
  args:
    root_path: ../datasets/256_new
    flow_root: ../datasets/256_new_unimatch_flow
    tri_trainlist: tri_trainlist_011.txt
    split: train
    patch_size: 256
    flow: 't0'
  loader:
    batch_size: 32
    num_workers: 8

test_dataset:
  name: vimeo
  args:
    root_path: ../datasets/Vimeo90K
    split: val
  loader:
    batch_size: 16
    num_workers: 4
  save_imgs: False

demo_dataset:
  name: demo
  args:
    root_path: ../data/animation
    split: animation

model:
  name: upr_net_freq
  args:
    pyr_level: 3
    nr_lvl_skipped: 0
    splat_mode: average
    fftshift: False


optimizer:
  name: adamW
  args: {lr: 4.e-6, weight_decay: 1.e-4}

lr_scheduler:
  name: one_cycle_lr
  args:
    max_lr: 4.e-6
    pct_start: 0.01
    cycle_momentum: False
    anneal_strategy: cos

loss:
  - {
    name: frequency,
    args: { weight: 0.01 }
  }
  - {
    name: bi_frequency,
    args: { weight: 0.01 }
  }
  - {
    name: multiple_flow,
    args: { weight: 0.005 }
  }
  - {
    name: charbonnier,
    args: { weight: 1 }
  }
  - {
    name: ternary,
    args: { weight: 1 }
  }

pretrained: ./pretrained/upr_freq002.pth
max_epoch: 300

validate_every: 10
save_every: 10
vis_every: 20

seed: 1234

dist_url: env://