Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EMI-Group/evorl
/ types & classes
Types & classes
249 in github.com/EMI-Group/evorl
⨍
Functions
1,203
◇
Types & classes
249
↳
Endpoints
1
↓ 153 callers
Class
PyTreeDict
An easydict with pytree support.
evorl/types.py:89
↓ 39 callers
Class
Evaluator
Evaluate the agent in the environments. Attributes: env: Vectorized environment w/o autoreset. action_fn: The agent action functi
evorl/evaluators/evaluator.py:19
↓ 30 callers
Class
AgentState
State of the agent. Attributes: params: The network parameters of the agent. obs_preprocessor_state: The state of the observation
evorl/agent.py:24
↓ 20 callers
Class
SampleBatch
Data container for trajectory data.
evorl/sample_batch.py:7
↓ 17 callers
Class
Box
Continuous space in R^n. Attributes: low: The lower bounds of the box. high: The upper bounds of the box.
evorl/envs/space.py:35
↓ 13 callers
Class
State
A general State class. An alias of PyTreeDict. This class is specfically used for `Workflow` state.
evorl/types.py:146
↓ 12 callers
Class
ExponentialScheduleSpec
Specification for an exponential schedule for HyperParam.
evorl/ec/optimizers/utils.py:16
↓ 12 callers
Class
ReplayBuffer
ReplayBuffer with uniform sampling. Data are added and sampled in 1d-like structure. Attributes: capacity: the maximum capacity of t
evorl/replay_buffers/replay_buffer.py:88
↓ 11 callers
Class
TD3TrainMetric
evorl/algorithms/contrib/td3_v3.py:176
↓ 10 callers
Class
EpisodeCollector
Evaluate and return eval metrics and episodic trajectory. EpisodeCollector is similar as `Evaluator`, but it also returns the trajectories. When
evorl/evaluators/episode_collector.py:22
↓ 10 callers
Class
EvaluateMetric
Evaluation metrics for RLWorkflow. Attributes: episode_returns: The return array of evaluation episodes. episode_lengths: The len
evorl/metrics.py:92
↓ 9 callers
Class
DebugRandomAgent
tests/utils.py:106
↓ 9 callers
Class
Discrete
Discrete space in {0, 1, ..., n-1}. Attributes: n: The number of discrete values.
evorl/envs/space.py:63
↓ 9 callers
Class
EnvState
State of the environment. Include all the data needed to represent the state of the environment. Attributes: env_state: The internal
evorl/envs/env.py:21
↓ 9 callers
Class
VmapWrapper
Vectorize env.
evorl/envs/wrappers/training_wrapper.py:131
↓ 7 callers
Class
RandomAgent
An agent that takes uniform random actions.
evorl/agent.py:126
↓ 6 callers
Class
MLP
MLP module.
evorl/networks/linear.py:15
↓ 6 callers
Class
PrioritizedReplayBufferState
State for the prioritized replay buffer. Attributes: priority: Priority values for each entry in the buffer. max_priority: Curren
evorl/replay_buffers/prioritized_replay_buffer.py:13
↓ 5 callers
Class
ERLTrainMetric
evorl/algorithms/erl/erl_td3/erl_origin.py:23
↓ 5 callers
Class
OneEpisodeWrapper
Vectorized one-episode wrapper for evaluation.
evorl/envs/envpool.py:189
↓ 5 callers
Class
OneEpisodeWrapper
Maintains episode step count and sets done at episode end. When call step() after the env is done, stop simulation and directly return previo
evorl/envs/wrappers/training_wrapper.py:112
↓ 5 callers
Class
ParamVectorSpec
Save the structure of the parameters. Provide methods to convert between the original tree-like parameter and the flatten parameter vector.
evorl/utils/ec_utils.py:9
↓ 5 callers
Class
SpaceContainer
Container for structural spaces. Attributes: spaces: a pytree of spaces.
evorl/envs/space.py:83
↓ 4 callers
Class
EpisodeWrapper
Maintains episode step count and sets done at episode end. This is the same as brax's EpisodeWrapper, and add some new fields in transition.info.
evorl/envs/wrappers/training_wrapper.py:13
↓ 4 callers
Class
FastVmapAutoResetWrapper
Brax-style AutoReset: no randomness in reset. This wrapper reuses the state in the return of `env.reset()`. When the episodes have short length o
evorl/envs/wrappers/training_wrapper.py:240
↓ 4 callers
Class
PBTOptState
evorl/algorithms/meta/pbt_workflow.py:69
↓ 4 callers
Class
TD3NetworkParams
Contains training state for the learner.
evorl/algorithms/contrib/td3_v3.py:184
↓ 4 callers
Class
TrainMetric
Training metrics for RLWorkflow. Attributes: train_episode_return: The return of the training episode. loss: The loss value of th
evorl/metrics.py:75
↓ 4 callers
Class
VmapAutoResetWrapper
Vectorize env and Autoreset.
evorl/envs/wrappers/training_wrapper.py:170
↓ 4 callers
Class
VmapEnvPoolAutoResetWrapper
EnvPool style AutoReset. When the episode ends, an additional reset step is performed. See EnvPool: https://envpool.readthedocs.io/en/latest/
evorl/envs/wrappers/training_wrapper.py:296
↓ 3 callers
Class
CEMRLTrainMetric
evorl/algorithms/erl/cemrl_td3/cemrl_origin.py:24
↓ 3 callers
Class
EvoXAlgorithmAdapter
Adapter class to convert EvoX algorithms to EvoRL optimizers.
evorl/ec/optimizers/evox_wrapper.py:24
↓ 3 callers
Class
FakeEnv
tests/utils.py:19
↓ 3 callers
Class
LogRecorder
Log file recorder.
evorl/recorders/log_recorder.py:20
↓ 3 callers
Class
MLPCrossover
evorl/ec/operators/crossover/mlp_crossover.py:71
↓ 3 callers
Class
OpenES
OpenAI ES.
evorl/ec/optimizers/openes.py:45
↓ 3 callers
Class
RewardScaleWrapper
Scale the reward by a factor. Usage: - Use EpisodeWrapper(RewardScaleWrapper(env)) to get the scaled `info.episode_return`. - Use RewardS
evorl/envs/wrappers/reward_wrapper.py:10
↓ 3 callers
Class
WorkflowMetric
Workflow metrics for RLWorkflow. Attributes: sampled_timesteps: The total number of sampled timesteps from environments. iteratio
evorl/metrics.py:62
↓ 2 callers
Class
ARS
Augmented Random Search. Paper: [Simple random search of static linear policies is competitive for reinforcement learning](https://proceedings.ne
evorl/ec/optimizers/ars.py:23
↓ 2 callers
Class
ActionRepeatWrapper
Repeat action for a number of steps. :::{note} This wrapper only accumulates `state.reward` and `state.info.ori_reward`. It is safe to use `A
evorl/envs/wrappers/action_wrapper.py:34
↓ 2 callers
Class
DeterministicECAgent
Deterministic Agent for continuous action space in [-1, 1].
evorl/algorithms/ec/ec_agent.py:113
↓ 2 callers
Class
DistributedInfo
Distributed information for multi-devices training.
evorl/workflows/ec_workflow.py:34
↓ 2 callers
Class
ECNetworkParams
Contains training state for the learner.
evorl/algorithms/ec/ec_agent.py:29
↓ 2 callers
Class
ECTrainMetric
Training metrics for ECWorkflow. Attributes: objectives: The objective values for current step. ec_metrics: The extra metrics of
evorl/metrics.py:134
↓ 2 callers
Class
EpisodeObsCollector
Streamlined episode collector for observation only.
evorl/evaluators/ec_evaluator.py:69
↓ 2 callers
Class
MLPMutation
evorl/ec/operators/mutation/mlp_mutation.py:63
↓ 2 callers
Class
OpenESState
State of the OpenES.
evorl/ec/optimizers/openes.py:35
↓ 2 callers
Class
PBTEvalMetric
evorl/algorithms/meta/pbt_workflow.py:58
↓ 2 callers
Class
QModule
Q Module for continuous action space.
evorl/networks/linear.py:220
↓ 2 callers
Class
RunningStatisticsState
Full state of running statistics computation.
evorl/utils/running_statistics.py:23
↓ 2 callers
Class
SACNetworkParams
evorl/algorithms/sac.py:48
↓ 2 callers
Class
SACTrainMetric
evorl/algorithms/sac.py:41
↓ 2 callers
Class
SepCEM
Sep Cross-Entropy Method.
evorl/ec/optimizers/cem.py:24
↓ 2 callers
Class
SparseRewardWrapper
Convert dense reward to sparse reward. The dense rewards become: 0, 0, ..., sum(rewards), 0, 0, ..., sum(rewards)
evorl/envs/wrappers/reward_wrapper.py:39
↓ 2 callers
Class
TournamentSelection
evorl/ec/operators/selection/tournament_selection.py:29
↓ 2 callers
Class
WandbRecorder
Recorder for Weights & Biases.
evorl/recorders/wandb_recorder.py:13
↓ 1 callers
Class
A2CAgent
evorl/algorithms/a2c.py:55
↓ 1 callers
Class
A2CNetworkParams
Contains training state for the learner.
evorl/algorithms/a2c.py:48
↓ 1 callers
Class
ARSState
State of the ARS.
evorl/ec/optimizers/ars.py:14
↓ 1 callers
Class
ActionSquashWrapper
Convert continuous action space from [-1, 1] to [low, high].
evorl/envs/wrappers/action_wrapper.py:12
↓ 1 callers
Class
Actor
Linear Actor Head.
evorl/networks/cnn/atari_cnn.py:91
↓ 1 callers
Class
Ant
evorl/envs/jaxmarl_envs/mabrax.py:123
↓ 1 callers
Class
BraxAdapter
Adapter for Brax environments.
evorl/envs/brax.py:26
↓ 1 callers
Class
BraxEvaluator
Mutli-objective evaluator for Brax environments. Attributes: metric_names: The names of the metrics to evaluate, default is ("reward", "e
evorl/evaluators/mo_brax_evaluator.py:24
↓ 1 callers
Class
CEMRLTrainMetric
evorl/algorithms/erl/cemrl_workflow.py:31
↓ 1 callers
Class
CMAES
CMA-ES. Paper: [Completely Derandomized Self-Adaptation in Evolution Strategies](http://www.cmap.polytechnique.fr/~nikolaus.hansen/cmaartic.pdf)
evorl/ec/evox_algorithm/cmaes.py:11
↓ 1 callers
Class
CNN_AgentStem
A simple CNN backbone used for the agent and the critic.
evorl/networks/cnn/atari_cnn.py:34
↓ 1 callers
Class
CSOState
evorl/ec/evox_algorithm/cso.py:16
↓ 1 callers
Class
ChainRecorder
Container for multiple recorders.
evorl/recorders/recorder.py:25
↓ 1 callers
Class
CheckpointManager
evorl/utils/orbax_utils.py:131
↓ 1 callers
Class
Critic
Lineat Critic Head.
evorl/networks/cnn/atari_cnn.py:83
↓ 1 callers
Class
DDPGAgent
The Agnet for DDPG.
evorl/algorithms/ddpg.py:57
↓ 1 callers
Class
DDPGNetworkParams
Contains training state for the learner.
evorl/algorithms/ddpg.py:47
↓ 1 callers
Class
DDPGTrainMetric
evorl/algorithms/ddpg.py:41
↓ 1 callers
Class
DQNAgent
evorl/algorithms/dqn.py:60
↓ 1 callers
Class
DQNNetworkParams
evorl/algorithms/dqn.py:44
↓ 1 callers
Class
DQNTrainMetric
evorl/algorithms/dqn.py:50
↓ 1 callers
Class
DQNWorkflowMetric
evorl/algorithms/dqn.py:56
↓ 1 callers
Class
DummyCheckpointManager
A dummy checkpoint manager that does nothing.
evorl/utils/orbax_utils.py:79
↓ 1 callers
Class
ECWorkflowMetric
Workflow metrics for ECWorkflow. Attributes: best_objective: The best objective value found so far. sampled_episodes: The total n
evorl/metrics.py:104
↓ 1 callers
Class
ERLGAMod
evorl/ec/optimizers/erl_ga.py:102
↓ 1 callers
Class
ERLGAModState
evorl/ec/optimizers/erl_ga.py:98
↓ 1 callers
Class
ERLGAState
evorl/ec/optimizers/erl_ga.py:15
↓ 1 callers
Class
ERLMutation
evorl/ec/operators/mutation/erl_mutation.py:136
↓ 1 callers
Class
EnvPoolGymAdapter
Adapter for EnvPool to support EnvPool environments. This env already is a vectorized environment and has experimental supports. It is not recomm
evorl/envs/envpool.py:34
↓ 1 callers
Class
EvaluateMetric
evorl/algorithms/erl/cemrl_td3/cemrl.py:32
↓ 1 callers
Class
EvaluateMetric
evorl/algorithms/erl/erl_td3/erl_eda.py:36
↓ 1 callers
Class
EvaluateMetric
evorl/algorithms/erl/erl_td3/erl_es.py:29
↓ 1 callers
Class
EvaluateMetric
evorl/algorithms/erl/erl_td3/erl_ga.py:28
↓ 1 callers
Class
EvoXAlgoState
evorl/ec/optimizers/evox_wrapper.py:19
↓ 1 callers
Class
GymnasiumAdapter
Adapter for Gymnasium to support Gymnasium environments. This env already is a vectorized environment and has experimental supports. It is not re
evorl/envs/gymnasium.py:34
↓ 1 callers
Class
GymnaxAdapter
Adapter for Gymnax environments.
evorl/envs/gymnax.py:27
↓ 1 callers
Class
HalfCheetah
evorl/envs/jaxmarl_envs/mabrax.py:128
↓ 1 callers
Class
Hopper
evorl/envs/jaxmarl_envs/mabrax.py:133
↓ 1 callers
Class
Humanoid
evorl/envs/jaxmarl_envs/mabrax.py:138
↓ 1 callers
Class
IMPALAAgent
evorl/algorithms/impala.py:55
↓ 1 callers
Class
IMPALANetworkParams
Contains training state for the learner.
evorl/algorithms/impala.py:44
↓ 1 callers
Class
JumanjiAdapter
Adapter for Jumanji environments.
evorl/envs/jumanji.py:15
↓ 1 callers
Class
LAPReplayBuffer
ReplayBuffer with Loss-Adjusted Prioritization from TD7 paper. LAP is a variation of Prioritized Experience Replay (PER) that uses proportio
evorl/replay_buffers/lap_replay_buffer.py:12
↓ 1 callers
Class
MABraxAdapter
evorl/envs/jaxmarl.py:146
next →
1–100 of 249, ranked by callers