QDpy
Loading...
Searching...
No Matches
mc_aurora_walker.py File Reference

Learn Walker descriptors from binned Gymnasium trajectories with MC-AURORA. More...

Go to the source code of this file.

Functions

 mc_aurora_walker.evaluate (genome, *, episode_seeds, steps, window)
 Return mean return, reference descriptors and a binned Walker state matrix.
 mc_aurora_walker.make_autoencoder (torch, channels, windows)
 Construct two temporal convolutions and a two-coordinate latent bottleneck.
 mc_aurora_walker.warm_up (depot, evaluator, executor, count, dimension, batch_size)
 Evaluate uniformly sampled policies in bounded batches before the first fit.
 mc_aurora_walker.run (args)
 Run a Walker search and report its effective configuration and archive statistics.
 mc_aurora_walker.parse_args ()
 Resolve the selected preset and apply explicit command-line overrides.

Detailed Description

Learn Walker descriptors from binned Gymnasium trajectories with MC-AURORA.

See also
https://arxiv.org/abs/2105.00682

Definition in file mc_aurora_walker.py.

Function Documentation

◆ evaluate()

mc_aurora_walker.evaluate ( genome,
* ,
episode_seeds,
steps,
window )

Return mean return, reference descriptors and a binned Walker state matrix.

Parameters
genomeWeights and biases of the 24-40-40-4 tanh policy.
episode_seedsFixed reset seeds shared across candidates.
stepsStep limit per episode.
windowSteps per observation bin.
Returns
A QDpy evaluation triple with observations scaled to the unit interval.

Definition at line 46 of file mc_aurora_walker.py.

◆ make_autoencoder()

mc_aurora_walker.make_autoencoder ( torch,
channels,
windows )

Construct two temporal convolutions and a two-coordinate latent bottleneck.

The decoder uses transposed convolutions with the same temporal width. It can reconstruct from the latent vector alone.

Definition at line 67 of file mc_aurora_walker.py.