protomotions.agents.ase package¶
Adversarial Skill Embeddings (ASE) implementation.
This package implements the ASE algorithm which extends AMP with learned skill embeddings. The discriminator encodes motions into a latent space and the policy is conditioned on these latent codes for diverse skill learning.
- Key Components:
ASE: Main ASE agent
ASEModel: Actor-critic with skill encoder
ASEAgentConfig: Configuration
Example
>>> from protomotions.agents.ase.agent import ASE
>>> agent = ASE(fabric, env, config)
>>> agent.train()
- Reference:
Peng et al. “ASE: Large-Scale Reusable Adversarial Skill Embeddings for Physically Simulated Characters” (2022)
Submodules¶
- protomotions.agents.ase.agent module
ASElatentslatent_reset_stepsmodeldiscriminatorconfig__init__()setup()load_parameters()get_state_dict()update_latents()reset_latents()store_latents()sample_latents()mi_enc_forward()register_algorithm_experience_buffer_keys()add_agent_info_to_obs()get_combined_experience_buffer_rewards()get_expert_disc_obs()produce_negative_expert_obs()discriminator_step()compute_uniformity_loss()calculate_extra_actor_loss()diversity_loss()post_epoch_logging()
- protomotions.agents.ase.config module
- protomotions.agents.ase.model module