MCPcopy Create free account

hub / github.com/PKU-MARL/HARL / functions

Functions1,457 in github.com/PKU-MARL/HARL

Method__init__
Initialize HAA2C algorithm. Args: args: (dict) arguments. obs_space: (gym.spaces or list) observation space.
harl/algorithms/actors/haa2c.py:11
Method__init__
(self, args, obs_space, act_space, device=torch.device("cpu"))
harl/algorithms/actors/hatd3.py:8
Method__init__
(self, args, obs_space, act_space, device=torch.device("cpu"))
harl/algorithms/actors/haddpg.py:10
Method__init__
Initialize Base class. Args: args: (dict) arguments. obs_space: (gym.spaces or list) observation space. ac
harl/algorithms/actors/on_policy_base.py:9
Method__init__
Initialize HATRPO algorithm. Args: args: (dict) arguments. obs_space: (gym.spaces or list) observation space.
harl/algorithms/actors/hatrpo.py:19
Method__init__
Initialize MAPPO algorithm. Args: args: (dict) arguments. obs_space: (gym.spaces or list) observation space.
harl/algorithms/actors/mappo.py:11
Method__init__
(self, args, obs_space, act_space, device=torch.device("cpu"))
harl/algorithms/actors/had3qn.py:11
Method__init__
(self, args, cent_obs_space, device=torch.device("cpu"))
harl/algorithms/critics/v_critic.py:19
Method__init__
Initialize the critic.
harl/algorithms/critics/soft_twin_continuous_q_critic.py:17
Method__init__
Initialize the critic.
harl/algorithms/critics/continuous_q_critic.py:18
Method__init__
Initialize the critic.
harl/algorithms/critics/discrete_q_critic.py:14
Method__init__
Initialize the critic.
harl/algorithms/critics/twin_continuous_q_critic.py:19
Method__repr__
(self)
harl/envs/mamujoco/multiagent_mujoco/obsk.py:31
Method__repr__
(self)
harl/envs/mamujoco/multiagent_mujoco/obsk.py:45
Method__setstate__
(self, ob)
harl/envs/env_wrappers.py:45
Method__str__
(self)
harl/envs/mamujoco/multiagent_mujoco/obsk.py:28
Method__str__
(self)
harl/envs/mamujoco/multiagent_mujoco/obsk.py:42
Method_distance_fn
(R)
harl/envs/lag/JSBSim/tasks/singlecombat_task.py:163
Method_orientation_fn
(AO)
harl/envs/lag/JSBSim/tasks/singlecombat_task.py:157
Method_reverse_action
(self, action)
harl/envs/mamujoco/multiagent_mujoco/mujoco_multi.py:32
Methodaction
(self, action_)
harl/envs/mamujoco/multiagent_mujoco/mujoco_multi.py:29
Methodaction_space
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/hand_base/multi_vec_task.py:147
Methodaction_space
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/hand_base/multi_vec_task.py:332
Methodaction_space
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/hand_base/vec_task_rlgames.py:94
Methodaction_space
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/hand_base/meta_vec_task.py:108
Methodaction_space
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/hand_base/vec_task.py:57
Methodaction_space
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/hand_base/multi_task_vec_task.py:106
Methodaction_space
(self)
harl/envs/lag/JSBSim/envs/env_base.py:42
Methodadd_debug_lines
(self, env, pos, rot)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_bottle_cap.py:2176
Methodafter_update
After an update, copy the data at the last step to the first position of the buffer.
harl/common/buffers/on_policy_actor_buffer.py:105
Methodafter_update
After an update, copy the data at the last step to the first position of the buffer.
harl/common/buffers/on_policy_critic_buffer_fp.py:97
Methodafter_update
After an update, copy the data at the last step to the first position of the buffer.
harl/common/buffers/on_policy_critic_buffer_ep.py:86
Methodagents
(self)
harl/envs/lag/JSBSim/envs/env_base.py:46
Functionbuild_actions
(agent_partitions, k_dict)
harl/envs/mamujoco/multiagent_mujoco/obsk.py:178
Functioncheck
(input)
harl/envs/dexhands/DexterousHands/bidexhands/utils/util.py:6
Methodcheck
(self, input)
harl/envs/lag/JSBSim/model/baseline_actor.py:100
Methodclose
Close environment, writter, and log file.
harl/runners/off_policy_base_runner.py:735
Methodclose
Close environment, writter, and logger.
harl/runners/on_policy_base_runner.py:765
Methodclose
(self)
harl/envs/env_wrappers.py:285
Methodclose
(self)
harl/envs/env_wrappers.py:355
Methodclose
(self)
harl/envs/smacv2/smacv2_env.py:65
Methodclose
(self)
harl/envs/dexhands/dexhands_env.py:45
Methodclose
(self)
harl/envs/smac/multiagentenv.py:50
Methodclose
(self)
harl/envs/pettingzoo_mpe/pettingzoo_mpe_env.py:92
Methodclose
(self)
harl/envs/football/football_env.py:63
Methodclose
(self)
harl/envs/lag/JSBSim/core/simulatior.py:83
Methodclose
Closes the simulation and any plots.
harl/envs/lag/JSBSim/core/simulatior.py:232
Methodclose
(self)
harl/envs/lag/JSBSim/core/simulatior.py:478
Methodclose
Cleans up this environment's objects NOTE: Environments automatically close() when garbage collected or when the program exits.
harl/envs/lag/JSBSim/envs/env_base.py:169
Methodclose
(self)
harl/envs/mamujoco/multiagent_mujoco/mujoco_multi.py:285
Methodclose
(self)
harl/envs/mamujoco/multiagent_mujoco/multiagentenv.py:70
Methodclose
(self)
harl/envs/gym/gym_env.py:50
Methodclose
Close the logger.
harl/common/base_logger.py:182
Methodcolor
(self)
harl/envs/lag/JSBSim/core/simulatior.py:41
Functioncompute_hand_reward
( rew_buf, reset_buf, reset_goal_buf, progress_buf, successes, consecutive_successes,
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_mt1_task_info.py:129
Functioncompute_hand_reward
( rew_buf, reset_buf, reset_goal_buf, progress_buf, successes, consecutive_successes,
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_ml1_task_info.py:129
Functioncompute_heading_and_up
( torso_rotation, inv_start_rot, to_target, vec0, vec1, up_idx )
harl/envs/dexhands/DexterousHands/bidexhands/utils/torch_jit_utils.py:14
Methodcompute_returns
Compute returns either as discounted sum of rewards, or using GAE. Args: next_value: (np.ndarray) value predictions for the step a
harl/common/buffers/on_policy_critic_buffer_ep.py:97
Functioncompute_rot
(torso_quat, velocity, ang_velocity, targets, torso_positions)
harl/envs/dexhands/DexterousHands/bidexhands/utils/torch_jit_utils.py:33
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_switch.py:330
Methodcreate_sim
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_bottle_cap.py:369
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_inward.py:341
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_outward.py:342
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_over2underarm.py:312
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_two_catch_underarm.py:315
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_block_stack.py:334
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_scissors.py:331
Methodcreate_sim
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/allegro_hand_over.py:232
Methodcreate_sim
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/allegro_hand_catch_underarm.py:236
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_push_block.py:331
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_kettle.py:333
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_abreast.py:316
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_re_orientation.py:307
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_swing_cup.py:341
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_grasp_and_place.py:330
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_outward.py:342
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_pen.py:333
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_over.py:308
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_lift_underarm.py:325
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_inward.py:342
Methodcreate_sim
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_point_cloud.py:280
Methodcreate_sim
Allocates which device will simulate and which device will render the scene. Defines the simulation type to be used
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_underarm.py:329
Methodcreate_sim
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_mt1.py:265
Methodcreate_sim
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_mt4.py:287
Methodcreate_sim
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_ml1.py:266
Methoddo_flatten
Run flatten on either python list or numpy array.
harl/envs/football/football_env.py:96
Methoddt
(self)
harl/envs/lag/JSBSim/core/simulatior.py:45
Functionenv_fn
(env, **kwargs)
harl/envs/mamujoco/multiagent_mujoco/mujoco_multi.py:12
Methodepisode_log
Log information for each episode.
harl/envs/dexhands/dexhands_logger.py:10
Methodepisode_log
( self, actor_train_infos, critic_train_info, actor_buffer, critic_buffer )
harl/envs/smac/smac_logger.py:53
Methodeval_init
(self)
harl/envs/smac/smac_logger.py:139
Methodeval_init
(self)
harl/envs/football/football_logger.py:9
Methodeval_log
(self, eval_episode)
harl/envs/smac/smac_logger.py:148
Methodeval_log
(self, eval_episode)
harl/envs/football/football_logger.py:20
Methodeval_thread_done
(self, tid)
harl/envs/smac/smac_logger.py:143
Methodeval_thread_done
(self, tid)
harl/envs/football/football_logger.py:14
Methodevaluate_actions
Compute action log probability, distribution entropy, and action distribution. Args: obs: (np.ndarray / torch.Tensor) observation
harl/models/policy_models/stochastic_policy.py:88
Methodfeed_forward_generator_critic
Training data generator for critic that uses MLP network. Args: critic_num_mini_batch: (int) Number of mini batches for critic.
harl/common/buffers/on_policy_critic_buffer_ep.py:202
Methodforward
(self, x)
harl/envs/lag/JSBSim/model/baseline_actor.py:26
Methodforward
(self, x)
harl/envs/lag/JSBSim/model/baseline_actor.py:36
← previousnext →901–1,000 of 1,457, ranked by callers