|
QDpy
|
Optional batched scoring from the reference Kheperax and QDax/Brax v1 tasks. More...
Go to the source code of this file.
Classes | |
| class | qdpy.benchmarks.jax_reference.JAXPolicyBenchmark |
| A reference simulator, policy architecture, and compiled batch adapter. More... | |
Namespaces | |
| namespace | qdpy |
| namespace | qdpy.benchmarks |
Functions | |
| qdpy.benchmarks.jax_reference.kheperax_maze (*, episode_length=250) | |
| Build the pyribs deceptive maze using the upstream Kheperax scorer. | |
| qdpy.benchmarks.jax_reference.qdax_brax (task, *, episode_length=100, reset_seed=0, deterministic=True) | |
| Build one of the seven benchmark environments with QDax's Brax v1 backend. | |
Optional batched scoring from the reference Kheperax and QDax/Brax v1 tasks.
Definition in file jax_reference.py.
| qdpy.benchmarks.jax_reference.kheperax_maze | ( | * | , |
| episode_length = 250 ) |
Build the pyribs deceptive maze using the upstream Kheperax scorer.
| episode_length | Maximum simulator transitions per policy. |
Use the standard target map, final-position descriptor, and seeded upstream resets.
Definition at line 75 of file jax_reference.py.
| qdpy.benchmarks.jax_reference.qdax_brax | ( | task, | |
| * | , | ||
| episode_length = 100, | |||
| reset_seed = 0, | |||
| deterministic = True ) |
Build one of the seven benchmark environments with QDax's Brax v1 backend.
| task | Name from QDAX_BRAX_TASKS. |
| episode_length | Maximum simulator transitions per policy. |
| reset_seed | Seed used to choose the common fixed initial state. |
| deterministic | Whether the scorer reuses that state or samples resets from the batch seed. |
Use the legacy Brax physics and task definitions provided by upstream QDax.
Definition at line 98 of file jax_reference.py.