Skip to content

configs/experiment/projects/bridging/dinosaur/movi_e_feat_rec_auto.yaml

# @package _global_
# ViT feature reconstruction on MOVI-E using an autoregressive decoder (SLATE style)
defaults:
  - /experiment/projects/bridging/dinosaur/_base_feature_recon  # (1)!
  - /dataset: movi_e_image  # (2)!
  - /experiment/projects/bridging/dinosaur/_preprocessing_movi_dino_feature_recon # (3)!
  - /experiment/projects/bridging/dinosaur/_metrics_clevr_patch # (4)!
  - _self_

# The following parameters assume training on 8 GPUs, leading to an effective batch size of 64.
trainer:
  devices: 8
  max_steps: 500000
  max_epochs:

dataset:
  num_workers: 4
  batch_size: 8

models:
  conditioning:
    _target_: routed.ocl.conditioning.RandomConditioning
    n_slots: 24
    object_dim: 128

    batch_size_path: input.batch_size
  object_decoder:
    _target_: routed.ocl.decoding.AutoregressivePatchDecoder
    decoder_cond_dim: 384
    use_input_transform: true
    decoder:
      _target_: ocl.neural_networks.build_transformer_decoder
      _partial_: true
      n_layers: 4
      n_heads: 4
    masks_path: perceptual_grouping.feature_attributions

    object_features_path: perceptual_grouping.objects
  masks_as_image:
    _target_: routed.ocl.utils.resizing.Resize
    input_path: object_decoder.masks
    size: 128
    resize_mode: bilinear
    patch_mode: true
  1. /experiment/projects/bridging/dinosaur/_base_feature_recon
  2. /dataset/movi_e_image
  3. /experiment/projects/bridging/dinosaur/_preprocessing_movi_dino_feature_recon
  4. /experiment/projects/bridging/dinosaur/_metrics_clevr_patch