MCPcopy Create free account

hub / github.com/EMI-Group/evorl / types & classes

Types & classes249 in github.com/EMI-Group/evorl

↓ 153 callersClassPyTreeDict
An easydict with pytree support.
evorl/types.py:89
↓ 39 callersClassEvaluator
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 callersClassAgentState
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 callersClassSampleBatch
Data container for trajectory data.
evorl/sample_batch.py:7
↓ 17 callersClassBox
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 callersClassState
A general State class. An alias of PyTreeDict. This class is specfically used for `Workflow` state.
evorl/types.py:146
↓ 12 callersClassExponentialScheduleSpec
Specification for an exponential schedule for HyperParam.
evorl/ec/optimizers/utils.py:16
↓ 12 callersClassReplayBuffer
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 callersClassTD3TrainMetric
evorl/algorithms/contrib/td3_v3.py:176
↓ 10 callersClassEpisodeCollector
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 callersClassEvaluateMetric
Evaluation metrics for RLWorkflow. Attributes: episode_returns: The return array of evaluation episodes. episode_lengths: The len
evorl/metrics.py:92
↓ 9 callersClassDebugRandomAgent
tests/utils.py:106
↓ 9 callersClassDiscrete
Discrete space in {0, 1, ..., n-1}. Attributes: n: The number of discrete values.
evorl/envs/space.py:63
↓ 9 callersClassEnvState
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 callersClassVmapWrapper
Vectorize env.
evorl/envs/wrappers/training_wrapper.py:131
↓ 7 callersClassRandomAgent
An agent that takes uniform random actions.
evorl/agent.py:126
↓ 6 callersClassMLP
MLP module.
evorl/networks/linear.py:15
↓ 6 callersClassPrioritizedReplayBufferState
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 callersClassERLTrainMetric
evorl/algorithms/erl/erl_td3/erl_origin.py:23
↓ 5 callersClassOneEpisodeWrapper
Vectorized one-episode wrapper for evaluation.
evorl/envs/envpool.py:189
↓ 5 callersClassOneEpisodeWrapper
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 callersClassParamVectorSpec
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 callersClassSpaceContainer
Container for structural spaces. Attributes: spaces: a pytree of spaces.
evorl/envs/space.py:83
↓ 4 callersClassEpisodeWrapper
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 callersClassFastVmapAutoResetWrapper
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 callersClassPBTOptState
evorl/algorithms/meta/pbt_workflow.py:69
↓ 4 callersClassTD3NetworkParams
Contains training state for the learner.
evorl/algorithms/contrib/td3_v3.py:184
↓ 4 callersClassTrainMetric
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 callersClassVmapAutoResetWrapper
Vectorize env and Autoreset.
evorl/envs/wrappers/training_wrapper.py:170
↓ 4 callersClassVmapEnvPoolAutoResetWrapper
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 callersClassCEMRLTrainMetric
evorl/algorithms/erl/cemrl_td3/cemrl_origin.py:24
↓ 3 callersClassEvoXAlgorithmAdapter
Adapter class to convert EvoX algorithms to EvoRL optimizers.
evorl/ec/optimizers/evox_wrapper.py:24
↓ 3 callersClassFakeEnv
tests/utils.py:19
↓ 3 callersClassLogRecorder
Log file recorder.
evorl/recorders/log_recorder.py:20
↓ 3 callersClassMLPCrossover
evorl/ec/operators/crossover/mlp_crossover.py:71
↓ 3 callersClassOpenES
OpenAI ES.
evorl/ec/optimizers/openes.py:45
↓ 3 callersClassRewardScaleWrapper
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 callersClassWorkflowMetric
Workflow metrics for RLWorkflow. Attributes: sampled_timesteps: The total number of sampled timesteps from environments. iteratio
evorl/metrics.py:62
↓ 2 callersClassARS
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 callersClassActionRepeatWrapper
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 callersClassDeterministicECAgent
Deterministic Agent for continuous action space in [-1, 1].
evorl/algorithms/ec/ec_agent.py:113
↓ 2 callersClassDistributedInfo
Distributed information for multi-devices training.
evorl/workflows/ec_workflow.py:34
↓ 2 callersClassECNetworkParams
Contains training state for the learner.
evorl/algorithms/ec/ec_agent.py:29
↓ 2 callersClassECTrainMetric
Training metrics for ECWorkflow. Attributes: objectives: The objective values for current step. ec_metrics: The extra metrics of
evorl/metrics.py:134
↓ 2 callersClassEpisodeObsCollector
Streamlined episode collector for observation only.
evorl/evaluators/ec_evaluator.py:69
↓ 2 callersClassMLPMutation
evorl/ec/operators/mutation/mlp_mutation.py:63
↓ 2 callersClassOpenESState
State of the OpenES.
evorl/ec/optimizers/openes.py:35
↓ 2 callersClassPBTEvalMetric
evorl/algorithms/meta/pbt_workflow.py:58
↓ 2 callersClassQModule
Q Module for continuous action space.
evorl/networks/linear.py:220
↓ 2 callersClassRunningStatisticsState
Full state of running statistics computation.
evorl/utils/running_statistics.py:23
↓ 2 callersClassSACNetworkParams
evorl/algorithms/sac.py:48
↓ 2 callersClassSACTrainMetric
evorl/algorithms/sac.py:41
↓ 2 callersClassSepCEM
Sep Cross-Entropy Method.
evorl/ec/optimizers/cem.py:24
↓ 2 callersClassSparseRewardWrapper
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 callersClassTournamentSelection
evorl/ec/operators/selection/tournament_selection.py:29
↓ 2 callersClassWandbRecorder
Recorder for Weights & Biases.
evorl/recorders/wandb_recorder.py:13
↓ 1 callersClassA2CAgent
evorl/algorithms/a2c.py:55
↓ 1 callersClassA2CNetworkParams
Contains training state for the learner.
evorl/algorithms/a2c.py:48
↓ 1 callersClassARSState
State of the ARS.
evorl/ec/optimizers/ars.py:14
↓ 1 callersClassActionSquashWrapper
Convert continuous action space from [-1, 1] to [low, high].
evorl/envs/wrappers/action_wrapper.py:12
↓ 1 callersClassActor
Linear Actor Head.
evorl/networks/cnn/atari_cnn.py:91
↓ 1 callersClassAnt
evorl/envs/jaxmarl_envs/mabrax.py:123
↓ 1 callersClassBraxAdapter
Adapter for Brax environments.
evorl/envs/brax.py:26
↓ 1 callersClassBraxEvaluator
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 callersClassCEMRLTrainMetric
evorl/algorithms/erl/cemrl_workflow.py:31
↓ 1 callersClassCMAES
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 callersClassCNN_AgentStem
A simple CNN backbone used for the agent and the critic.
evorl/networks/cnn/atari_cnn.py:34
↓ 1 callersClassCSOState
evorl/ec/evox_algorithm/cso.py:16
↓ 1 callersClassChainRecorder
Container for multiple recorders.
evorl/recorders/recorder.py:25
↓ 1 callersClassCheckpointManager
evorl/utils/orbax_utils.py:131
↓ 1 callersClassCritic
Lineat Critic Head.
evorl/networks/cnn/atari_cnn.py:83
↓ 1 callersClassDDPGAgent
The Agnet for DDPG.
evorl/algorithms/ddpg.py:57
↓ 1 callersClassDDPGNetworkParams
Contains training state for the learner.
evorl/algorithms/ddpg.py:47
↓ 1 callersClassDDPGTrainMetric
evorl/algorithms/ddpg.py:41
↓ 1 callersClassDQNAgent
evorl/algorithms/dqn.py:60
↓ 1 callersClassDQNNetworkParams
evorl/algorithms/dqn.py:44
↓ 1 callersClassDQNTrainMetric
evorl/algorithms/dqn.py:50
↓ 1 callersClassDQNWorkflowMetric
evorl/algorithms/dqn.py:56
↓ 1 callersClassDummyCheckpointManager
A dummy checkpoint manager that does nothing.
evorl/utils/orbax_utils.py:79
↓ 1 callersClassECWorkflowMetric
Workflow metrics for ECWorkflow. Attributes: best_objective: The best objective value found so far. sampled_episodes: The total n
evorl/metrics.py:104
↓ 1 callersClassERLGAMod
evorl/ec/optimizers/erl_ga.py:102
↓ 1 callersClassERLGAModState
evorl/ec/optimizers/erl_ga.py:98
↓ 1 callersClassERLGAState
evorl/ec/optimizers/erl_ga.py:15
↓ 1 callersClassERLMutation
evorl/ec/operators/mutation/erl_mutation.py:136
↓ 1 callersClassEnvPoolGymAdapter
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 callersClassEvaluateMetric
evorl/algorithms/erl/cemrl_td3/cemrl.py:32
↓ 1 callersClassEvaluateMetric
evorl/algorithms/erl/erl_td3/erl_eda.py:36
↓ 1 callersClassEvaluateMetric
evorl/algorithms/erl/erl_td3/erl_es.py:29
↓ 1 callersClassEvaluateMetric
evorl/algorithms/erl/erl_td3/erl_ga.py:28
↓ 1 callersClassEvoXAlgoState
evorl/ec/optimizers/evox_wrapper.py:19
↓ 1 callersClassGymnasiumAdapter
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 callersClassGymnaxAdapter
Adapter for Gymnax environments.
evorl/envs/gymnax.py:27
↓ 1 callersClassHalfCheetah
evorl/envs/jaxmarl_envs/mabrax.py:128
↓ 1 callersClassHopper
evorl/envs/jaxmarl_envs/mabrax.py:133
↓ 1 callersClassHumanoid
evorl/envs/jaxmarl_envs/mabrax.py:138
↓ 1 callersClassIMPALAAgent
evorl/algorithms/impala.py:55
↓ 1 callersClassIMPALANetworkParams
Contains training state for the learner.
evorl/algorithms/impala.py:44
↓ 1 callersClassJumanjiAdapter
Adapter for Jumanji environments.
evorl/envs/jumanji.py:15
↓ 1 callersClassLAPReplayBuffer
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 callersClassMABraxAdapter
evorl/envs/jaxmarl.py:146
next →1–100 of 249, ranked by callers