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

Compare neural MAP-Elites and PPO in a custom MultiDiscrete environment. More...

Go to the source code of this file.

Classes

class  discrete_qd_rl.Navigation
 A bounded navigation task with six independent categorical controls. More...

Functions

 discrete_qd_rl.descriptor (episode)
 discrete_qd_rl.replay (path, seed)
 Evaluate a saved actor in an application-owned environment.

Detailed Description

Compare neural MAP-Elites and PPO in a custom MultiDiscrete environment.

Definition in file discrete_qd_rl.py.

Function Documentation

◆ descriptor()

discrete_qd_rl.descriptor ( episode)
Use the final position as the two-dimensional archive descriptor.

Definition at line 48 of file discrete_qd_rl.py.

◆ replay()

discrete_qd_rl.replay ( path,
seed )

Evaluate a saved actor in an application-owned environment.

Run one held-out episode with deterministic actions.

Definition at line 59 of file discrete_qd_rl.py.