MCPcopy Create free account

hub / github.com/AboudyKreidieh/h-baselines / functions

Functions825 in github.com/AboudyKreidieh/h-baselines

↓ 1 callersMethodstep
Advance the environment by one simulation step. If the environment is using the contextual setting, an "is_success" term is added to
hbaselines/envs/efficient_hrl/envs.py:166
↓ 1 callersMethodstep
See parent class.
hbaselines/envs/deeploco/envs.py:49
↓ 1 callersMethodstep
See parent class. The done mask is replaced with a dictionary to match other multi-agent environments.
hbaselines/envs/mixed_autonomy/envs/ring_nonflow.py:660
↓ 1 callersMethodstep
See parent class.
hbaselines/envs/mixed_autonomy/envs/av_multi.py:41
↓ 1 callersMethodstore_transition
Store a transition in the replay buffer. Parameters ---------- obs0 : dict of array_like the last observation for
hbaselines/multiagent/base.py:255
↓ 1 callersMethodtrue_states
Return the next states given a set of states and actions. Parameters ---------- state : array_like the states by
hbaselines/envs/point2d.py:454
↓ 1 callersMethodupdate_from_batch
Perform gradient update step given a batch of data. Parameters ---------- obs0 : array_like batch of observations
hbaselines/fcnet/sac.py:503
↓ 1 callersMethodupdate_from_batch
Perform gradient update step given a batch of data. Parameters ---------- obs : array_like a minibatch of observa
hbaselines/fcnet/ppo.py:683
↓ 1 callersMethodupdate_from_batch
Perform gradient update step given a batch of data. Parameters ---------- obs : array_like a minibatch of observa
hbaselines/fcnet/trpo.py:655
↓ 1 callersFunctionvar_shape
Get TensorFlow Tensor shape. Parameters ---------- tensor : tf.Tensor the input tensor Returns ------- list of int
hbaselines/utils/tf_util.py:113
Method__call__
Perform the class-specific operation.
hbaselines/utils/tf_util.py:203
Method__call__
Perform the class-specific operation.
hbaselines/utils/tf_util.py:230
Method__init__
(self, dist)
setup.py:23
Method__init__
Instantiate a ring buffer (FIFO). Parameters ---------- buffer_size : int Max number of transitions to store in t
hbaselines/fcnet/replay_buffer.py:8
Method__init__
Instantiate the feed-forward neural network policy. Parameters ---------- sess : tf.compat.v1.Session the current
hbaselines/fcnet/td3.py:99
Method__init__
Instantiate the feed-forward neural network policy. Parameters ---------- sess : tf.compat.v1.Session the current
hbaselines/fcnet/sac.py:122
Method__init__
Instantiate the policy object. Parameters ---------- sess : tf.compat.v1.Session the current TensorFlow session
hbaselines/fcnet/ppo.py:117
Method__init__
Instantiate the policy object. Parameters ---------- sess : tf.compat.v1.Session the current TensorFlow session
hbaselines/fcnet/trpo.py:101
Method__init__
Instantiate the logger object. Parameters ---------- env_name : str the name of the environment
hbaselines/utils/eval.py:166
Method__init__
Set the parameters from a flat vector. Parameters ---------- var_list : list of tf.Tensor the variables d
hbaselines/utils/tf_util.py:177
Method__init__
Get the parameters as a flat vector. Parameters ---------- var_list : list of tf.Tensor the variables ses
hbaselines/utils/tf_util.py:216
Method__init__
Instantiate the sampler object. Parameters ---------- env_name : str the name of the environment render :
hbaselines/utils/sampler.py:18
Method__init__
Instantiate the hierarchical replay buffer. Parameters ---------- buffer_size : int Max number of transitions to
hbaselines/goal_conditioned/replay_buffer.py:32
Method__init__
Instantiate the goal-conditioned hierarchical policy. Parameters ---------- sess : tf.compat.v1.Session the curre
hbaselines/goal_conditioned/base.py:92
Method__init__
Instantiate the goal-conditioned hierarchical policy. Parameters ---------- sess : tf.compat.v1.Session the curre
hbaselines/goal_conditioned/td3.py:14
Method__init__
Instantiate the goal-conditioned hierarchical policy. Parameters ---------- sess : tf.compat.v1.Session the curre
hbaselines/goal_conditioned/sac.py:12
Method__init__
Instantiate the environment. Parameters ---------- render_dt_msec : float seconds before the next frame in the im
hbaselines/envs/point2d.py:72
Method__init__
Instantiate the Ant environment. Parameters ---------- file_path : str path to the xml file expose_all_qp
hbaselines/envs/efficient_hrl/ant.py:53
Method__init__
Initialize the Universal environment. Parameters ---------- maze_id : str the type of maze environment. One of "M
hbaselines/envs/efficient_hrl/envs.py:24
Method__init__
Initialize the Universal environment. Parameters ---------- maze_id : str the type of maze environment. One of "M
hbaselines/envs/efficient_hrl/envs.py:259
Method__init__
Initialize the Humanoid Maze environment. Parameters ---------- use_contexts : bool, optional specifies whether t
hbaselines/envs/efficient_hrl/envs.py:552
Method__init__
Initialize the Image Ant Maze environment. Parameters ---------- use_contexts : bool, optional specifies whether
hbaselines/envs/efficient_hrl/envs.py:609
Method__init__
Initialize the Image Humanoid Maze environment. Parameters ---------- use_contexts : bool, optional specifies whe
hbaselines/envs/efficient_hrl/envs.py:682
Method__init__
Initialize the Ant Push environment. Parameters ---------- use_contexts : bool, optional specifies whether to add
hbaselines/envs/efficient_hrl/envs.py:746
Method__init__
Initialize the Humanoid Push environment. Parameters ---------- use_contexts : bool, optional specifies whether t
hbaselines/envs/efficient_hrl/envs.py:816
Method__init__
Initialize the Ant Fall environment. Parameters ---------- use_contexts : bool, optional specifies whether to add
hbaselines/envs/efficient_hrl/envs.py:877
Method__init__
Initialize the Humanoid Fall environment. Parameters ---------- use_contexts : bool, optional specifies whether t
hbaselines/envs/efficient_hrl/envs.py:949
Method__init__
Initialize the Ant Four Rooms environment. Parameters ---------- use_contexts : bool, optional specifies whether
hbaselines/envs/efficient_hrl/envs.py:1020
Method__init__
Initialize the Humanoid Four Rooms environment. Parameters ---------- use_contexts : bool, optional specifies whe
hbaselines/envs/efficient_hrl/envs.py:1102
Method__init__
Create a humanoid agent.
hbaselines/envs/efficient_hrl/humanoid.py:42
Method__init__
Instantiate the environment. Parameters ---------- maze_id : str the type of maze being simulated. Can be 'M
hbaselines/envs/efficient_hrl/humanoid_maze_env.py:41
Method__init__
Instantiate the environment. Parameters ---------- maze_id : str the type of maze being simulated. Can be 'Maze',
hbaselines/envs/efficient_hrl/ant_maze_env.py:41
Method__init__
Instantiate the environment.
hbaselines/envs/deeploco/envs.py:31
Method__init__
Instantiate the environment. Parameters ---------- render : bool whether to render the environment
hbaselines/envs/deeploco/envs.py:76
Method__init__
Create the environment. Parameters ---------- flow_params : dict environment-specific parameters multiage
hbaselines/envs/mixed_autonomy/core.py:25
Method__init__
Instantiate the environment class. Parameters ---------- length : float or [float, float] the length of the ring
hbaselines/envs/mixed_autonomy/envs/ring_nonflow.py:93
Method__init__
See parent class.
hbaselines/envs/mixed_autonomy/envs/av.py:657
Method__init__
See parent class.
hbaselines/envs/mixed_autonomy/envs/av.py:674
Method__init__
See parent class.
hbaselines/envs/mixed_autonomy/envs/av_multi.py:129
Method__init__
Instantiate the Environment object. Parameters ---------- model_name : str name of the xml file in './mujoco_file
hbaselines/envs/hac/envs.py:53
Method__init__
Initialize the Pendulum environment. Parameters ---------- use_contexts : bool, optional specifies whether to add
hbaselines/envs/hac/envs.py:500
Method__init__
(self, *_)
hbaselines/envs/hac/dummy_mujoco.py:33
Method__init__
(self, model_name)
hbaselines/envs/hac/dummy_mujoco.py:43
Method__init__
(self, model_name)
hbaselines/envs/hac/dummy_mujoco.py:58
Method__init__
(self, model_name)
hbaselines/envs/hac/dummy_mujoco.py:68
Method__init__
Instantiate the environment class. In order to match the environment presented in the article, we modify the following default values
hbaselines/envs/snn4hrl/envs.py:19
Method__init__
( self, ctrl_cost_coeff=1e-2, ego_obs=False, sparse_rew=False,
hbaselines/envs/snn4hrl/snake_gather.py:22
Method__init__
(self, horizon=1000)
hbaselines/envs/mujoco/humanoid_env.py:24
Method__init__
Instantiate the base policy object. Parameters ---------- sess : tf.compat.v1.Session the current TensorFlow sess
hbaselines/base_policies/policy.py:59
Method__init__
Instantiate a multi-agent feed-forward neural network policy. Parameters ---------- sess : tf.compat.v1.Session t
hbaselines/multiagent/h_td3.py:9
Method__init__
Instantiate a buffer. Parameters ---------- buffer_size : int Max number of transitions to store in the buffer. W
hbaselines/multiagent/replay_buffer.py:12
Method__init__
Instantiate a buffer. Parameters ---------- buffer_size : int Max number of transitions to store in the buffer. W
hbaselines/multiagent/replay_buffer.py:213
Method__init__
Instantiate the base multi-agent actor critic policy. Parameters ---------- sess : tf.compat.v1.Session the curre
hbaselines/multiagent/base.py:95
Method__init__
Instantiate a multi-agent feed-forward neural network policy. Parameters ---------- sess : tf.compat.v1.Session t
hbaselines/multiagent/h_sac.py:9
Method__init__
Instantiate a multi-agent feed-forward neural network policy. Parameters ---------- sess : tf.compat.v1.Session t
hbaselines/multiagent/td3.py:83
Method__init__
Instantiate a multi-agent feed-forward neural network policy. Parameters ---------- sess : tf.compat.v1.Session t
hbaselines/multiagent/sac.py:104
Method__init__
Instantiate a multi-agent feed-forward neural network policy. Parameters ---------- sess : tf.compat.v1.Session t
hbaselines/multiagent/ppo.py:9
Method__init__
Instantiate a multi-agent feed-forward neural network policy. Parameters ---------- sess : tf.compat.v1.Session t
hbaselines/multiagent/trpo.py:9
Method__init__
Instantiate the algorithm object. Parameters ---------- policy : type [ hbaselines.base_policies.Policy ] the pol
hbaselines/algorithms/rl_algorithm.py:386
Method__len__
Return the number of elements stored.
hbaselines/fcnet/replay_buffer.py:62
Method__len__
Return the number of elements stored.
hbaselines/goal_conditioned/replay_buffer.py:83
Method__len__
Return the number of elements stored.
hbaselines/multiagent/replay_buffer.py:90
Method__len__
Return the number of elements stored.
hbaselines/multiagent/replay_buffer.py:262
Method_apply_rl_actions
See class definition.
hbaselines/envs/mixed_autonomy/envs/av.py:271
Method_apply_rl_actions
See class definition.
hbaselines/envs/mixed_autonomy/envs/av_multi.py:50
Method_cooperative_gradients_update
Perform the gradient update procedure for the CHER algorithm. This procedure is similar to update_from_batch, expect it runs the self
hbaselines/goal_conditioned/td3.py:418
Method_cooperative_gradients_update
Perform the gradient update procedure for the CHER algorithm. This procedure is similar to update_from_batch, expect it runs the self
hbaselines/goal_conditioned/sac.py:287
Method_get_action_maddpg
See get_action.
hbaselines/multiagent/h_td3.py:244
Method_get_action_maddpg
See get_action.
hbaselines/multiagent/h_sac.py:234
Method_get_action_maddpg
See get_action.
hbaselines/multiagent/td3.py:1078
Method_get_action_maddpg
See get_action.
hbaselines/multiagent/sac.py:1337
Method_get_action_maddpg
See get_action.
hbaselines/multiagent/ppo.py:109
Method_get_action_maddpg
See get_action.
hbaselines/multiagent/trpo.py:105
Method_get_td_map_maddpg
See get_td_map.
hbaselines/multiagent/h_td3.py:273
Method_get_td_map_maddpg
See get_td_map.
hbaselines/multiagent/h_sac.py:263
Method_get_td_map_maddpg
See get_td_map.
hbaselines/multiagent/td3.py:1182
Method_get_td_map_maddpg
See get_td_map.
hbaselines/multiagent/sac.py:1450
Method_get_td_map_maddpg
See get_td_map.
hbaselines/multiagent/ppo.py:138
Method_get_td_map_maddpg
See get_td_map.
hbaselines/multiagent/trpo.py:134
Method_initialize_maddpg
See initialize.
hbaselines/multiagent/h_td3.py:232
Method_initialize_maddpg
See initialize.
hbaselines/multiagent/h_sac.py:222
Method_initialize_maddpg
See initialize. This method initializes the target parameters to match the model parameters.
hbaselines/multiagent/td3.py:973
Method_initialize_maddpg
See initialize.
hbaselines/multiagent/sac.py:1230
Method_initialize_maddpg
See initialize.
hbaselines/multiagent/ppo.py:97
Method_initialize_maddpg
See initialize.
hbaselines/multiagent/trpo.py:93
Method_log_probs
Calculate the log probability of the next goal by the meta-policies. Parameters ---------- meta_actions : array_like
hbaselines/goal_conditioned/td3.py:205
Method_log_probs
Calculate the log probability of the next goal by the meta-policies. Parameters ---------- meta_actions : array_like
hbaselines/goal_conditioned/sac.py:186
Method_setup_cooperative_gradients
Create the cooperative gradients meta-policy optimizer.
hbaselines/goal_conditioned/td3.py:307
Method_setup_cooperative_gradients
Create the cooperative gradients meta-policy optimizer.
hbaselines/goal_conditioned/sac.py:283
Method_setup_maddpg
See setup.
hbaselines/multiagent/h_td3.py:226
← previousnext →301–400 of 825, ranked by callers