Train trajectory skills from a fixed log and adapt a high-level controller online.
More...
Train trajectory skills from a fixed log and adapt a high-level controller online.
Discover skills with a trajectory VAE and compose them using semi-Markov SAC.
:param env_factory: Single Gymnasium environment with fixed Box observations and actions.
:param episodes: Completed rollout.Episode records from the same observation and action spaces.
:param config: Skill learning, reward relabeling and mixed replay settings.
:param sac: SACConfig for primitive discount, critics and high-level SAC.
learning_starts is measured in live primitive steps.
:param policy: Network architecture for both actors and the trajectory encoder.
:param max_episode_steps: External episode safety horizon.
:param seed: Nonnegative seed for data sampling, optimizers and reset.
:param device: Torch device. CPU by default.
Definition at line 261 of file qdos.py.