Skip to content
 
 

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latent Actions from Factorized Transition Effects under Agent Ambiguity

by Heejeong Nam, Chandradithya S Jonnagaladda,Harshit Aggarwal, Eric Xu, Randall Balestriero.

Layout

  • scripts/: runnable data collection, training, downstream, and evaluation entrypoints.
  • configs/otf_vqvae/: Hydra configurations for OTF-VQ-VAE.
  • otf_vqvae/: OTF-VQ-VAE model, training, and evaluation code.
  • otf_lam/: OTF-LAM model, training, and downstream policy code.
  • dinolam/: DINO-LAM Stage 1 implementation.
  • envs/: DCS environment and expert data collection code.
  • tests/: transfer evaluation programs and dataset checks.

Pipeline

Run commands from the repository root:

sbatch scripts/0_collect_data.sh
sbatch scripts/1_train_otf_vqvae.sh
sbatch scripts/2a_train_otf_lam.sh
sbatch scripts/2b_train_dinolam.sh
sbatch scripts/3a_train_otf_lam_downstream.sh
sbatch scripts/3b_train_dinolam_downstream.sh

The OTF-VQ-VAE entrypoint selects configs/otf_vqvae/cheetah.yaml or configs/otf_vqvae/walker.yaml and applies the overrides in the submission script.

Transfer evaluation

Set CHECKPOINT_PATH and optionally override the data/output settings:

CHECKPOINT_PATH=/path/to/checkpoint.pt bash scripts/eval_moving_mnist_transfer.sh
CHECKPOINT_PATH=/path/to/checkpoint.pt bash scripts/eval_walker_to_cheetah_transfer.sh

Every shell entrypoint supports --smoke-test. Run all smoke tests in the project environment with:

conda run -n dino310 bash scripts/smoke_test.sh

About

Official code for "Latent Actions from Factorized Transition Effects under Agent Ambiguity"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages