This repo contains implementations for RL with:
- Latent Variable Representations (LV), as outlined in [1].
- Contrastive Representations (CTRL), as described in [2].
agenthosts implementation files for various agents, including the Soft Actor-Critic baseline (sac), SAC with Latent Variable (vlsac), and SAC with Contrastive Representations (ctrlsac).networkscontains base implementations for critics, policy networks, variational autoencoders (VAE), and more.utilscomprises replay buffers and several auxiliary functions.
Execute the main.py script with your preferred arguments, such as --alg for algorithm type, --env for environment, and so on.
Example usage: python main.py --alg vlsac --env HalfCheetah-v3.