MCPcopy Create free account

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

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

↓ 1 callersMethodreset_simulators
(self)
harl/envs/lag/JSBSim/envs/singlecontrol_env.py:30
↓ 1 callersMethodreset_target_pose
Reset and randomize the goal pose Args: env_ids (tensor): The index of the environment that needs to reset goal pose
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_swing_cup.py:1603
↓ 1 callersMethodreset_task
(self)
harl/envs/env_wrappers.py:280
↓ 1 callersMethodrestore
Restore the model
harl/runners/off_policy_base_runner.py:710
↓ 1 callersMethodrestore
Restore model parameters.
harl/runners/on_policy_base_runner.py:742
↓ 1 callersFunctionretrieve_cfg
(args, use_rlg_config=False)
harl/envs/dexhands/DexterousHands/bidexhands/utils/config.py:72
↓ 1 callersMethodreward_battle
Reward function when self.reward_spare==False. Returns accumulative hit/shield point damage dealt to the enemy + reward_death_value pe
harl/envs/smac/StarCraft2_Env.py:914
↓ 1 callersMethodsample_actions
Sample random actions for warmup. Args: available_actions: (np.ndarray) denotes which actions are available to agent (if None, all
harl/runners/off_policy_base_runner.py:444
↓ 1 callersFunctionsample_gumbel
Sample from Gumbel(0, 1)
harl/utils/discrete_util.py:32
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_switch.py:1995
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_bottle_cap.py:2220
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_inward.py:2046
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_outward.py:2045
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_over2underarm.py:1787
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_two_catch_underarm.py:1988
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_block_stack.py:2055
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_scissors.py:2030
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_push_block.py:2010
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_kettle.py:2118
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_abreast.py:1961
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_re_orientation.py:1824
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_swing_cup.py:2015
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_grasp_and_place.py:2006
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_outward.py:2037
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_pen.py:2030
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_over.py:1665
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_lift_underarm.py:2131
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_inward.py:2040
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_point_cloud.py:1428
↓ 1 callersMethodsample_points
(self, points, sample_num=1000, sample_mathed="furthest")
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_underarm.py:1820
↓ 1 callersMethodsave
Save the model
harl/runners/off_policy_base_runner.py:724
↓ 1 callersMethodsave
Save model parameters.
harl/runners/on_policy_base_runner.py:724
↓ 1 callersMethodset_delta_value
(self, observation)
harl/envs/lag/JSBSim/model/baseline.py:28
↓ 1 callersMethodset_delta_value
(self, env, task)
harl/envs/lag/JSBSim/test/test_baseline_use_env.py:42
↓ 1 callersMethodset_delta_value
(self, observation)
harl/envs/lag/JSBSim/test/test_baseline_use_obs.py:28
↓ 1 callersMethodset_delta_value
(self, sim: AircraftSimulator)
harl/envs/lag/JSBSim/tasks/singlecombat_task.py:301
↓ 1 callersMethodshare_param_train
Perform a training update for parameter-sharing MAPPO using minibatch GD. Args: actor_buffer: (list[OnPolicyActorBuffer]) buffer c
harl/algorithms/actors/mappo.py:149
↓ 1 callersMethodstep_async
Tell all the environments to start taking a step with the given actions. Call step_wait() to get the results of the step.
harl/envs/env_wrappers.py:85
↓ 1 callersMethodstep_wait
Wait for the step taken with step_async(). Returns (obs, rews, dones, infos): - obs: an array of observations, or a dict of
harl/envs/env_wrappers.py:97
↓ 1 callersMethodtarget
(self, target: AircraftSimulator)
harl/envs/lag/JSBSim/core/simulatior.py:444
↓ 1 callersFunctiontest_maneuver
()
harl/envs/lag/JSBSim/test/test_baseline_use_env.py:141
↓ 1 callersFunctiontest_maneuver
()
harl/envs/lag/JSBSim/test/test_baseline_use_obs.py:112
↓ 1 callersFunctiontile_images
Tile N images into one big PxQ image (P,Q) are chosen to be as close as possible, and if N is square, then P=Q. input: img_nhwc, list
harl/envs/env_wrappers.py:11
↓ 1 callersMethodtrain
Train the model
harl/runners/off_policy_base_runner.py:512
↓ 1 callersMethodtrain
Train the model.
harl/runners/on_policy_base_runner.py:486
↓ 1 callersMethodtrain
Perform a training update using minibatch GD. Args: actor_buffer: (OnPolicyActorBuffer) buffer containing training data related to
harl/algorithms/actors/on_policy_base.py:122
↓ 1 callersMethodtrain
Perform a training update using minibatch GD. Args: critic_buffer: (OnPolicyCriticBufferEP or OnPolicyCriticBufferFP) buffer conta
harl/algorithms/critics/v_critic.py:159
↓ 1 callersMethodturn_off_grad
Turn off the gradient for the critic.
harl/algorithms/critics/continuous_q_critic.py:140
↓ 1 callersMethodturn_off_grad
Turn off gradient for critic.
harl/algorithms/critics/discrete_q_critic.py:241
↓ 1 callersMethodturn_off_grad
Turn off the gradient for the critic network.
harl/algorithms/critics/twin_continuous_q_critic.py:175
↓ 1 callersMethodunit_shoot_range
Returns the shooting range for an agent.
harl/envs/smac/StarCraft2_Env.py:980
↓ 1 callersMethodupdate
Update actor network. Args: sample: (Tuple) contains data batch with which to update networks. Returns: policy
harl/algorithms/actors/happo.py:28
↓ 1 callersMethodupdate
Update actor network. Args: sample: (Tuple) contains data batch with which to update networks. Returns: policy
harl/algorithms/actors/haa2c.py:27
↓ 1 callersMethodupdate
Update actor networks. Args: sample: (Tuple) contains data batch with which to update networks. Returns: kl: (
harl/algorithms/actors/hatrpo.py:37
↓ 1 callersMethodupdate_alpha
Auto-tune the temperature parameter alpha.
harl/algorithms/critics/soft_twin_continuous_q_critic.py:45
↓ 1 callersFunctionupdate_args
Update loaded config with unparsed command-line arguments. Args: unparsed_dict: (dict) Unparsed command-line arguments. *args: (li
harl/utils/configs_tools.py:29
↓ 1 callersFunctionupdate_dict
(dict1, dict2)
harl/utils/configs_tools.py:36
↓ 1 callersMethodupdate_end_flag
Update current end flag for computing n-step return. End flag is True at the steps which are the end of an episode or the latest but unfinishe
harl/common/buffers/off_policy_buffer_ep.py:156
↓ 1 callersMethodupdate_end_flag
Update current end flag for computing n-step return. End flag is True at the steps which are the end of an episode or the latest but unfinishe
harl/common/buffers/off_policy_buffer_fp.py:157
↓ 1 callersMethodupdate_equal_brake_props
(sim)
harl/envs/lag/JSBSim/core/catalog.py:184
↓ 1 callersMethodupdate_factor
Save factor for this actor.
harl/common/buffers/on_policy_actor_buffer.py:78
↓ 1 callersMethodupdate_units
Update units after an environment step. This function assumes that self._obs is up-to-date.
harl/envs/smac/StarCraft2_Env.py:2316
↓ 1 callersMethodwarmup
Warmup the replay buffer with random actions
harl/runners/off_policy_base_runner.py:307
↓ 1 callersMethodwarmup
Warm up the replay buffer.
harl/runners/on_policy_base_runner.py:269
MethodIsp
(self)
harl/envs/lag/JSBSim/core/simulatior.py:388
MethodK
Proportional Guidance Coefficient
harl/envs/lag/JSBSim/core/simulatior.py:392
MethodS
Cross-Sectional area, unit m^2
harl/envs/lag/JSBSim/core/simulatior.py:398
Method__contains__
(self, item)
harl/envs/mamujoco/multiagent_mujoco/obsk.py:39
Method__del__
(self)
harl/envs/lag/JSBSim/core/simulatior.py:86
Method__getattr__
(self, name)
harl/envs/lag/JSBSim/core/catalog.py:543
Method__getitem__
(self, name)
harl/envs/lag/JSBSim/core/catalog.py:533
Method__getstate__
(self)
harl/envs/env_wrappers.py:40
Method__init__
Initialize the OffPolicyBaseRunner class. Args: args: command-line arguments parsed by argparse. Three keys: algo, env, exp_name.
harl/runners/off_policy_base_runner.py:28
Method__init__
Initialize the OnPolicyBaseRunner class. Args: args: command-line arguments parsed by argparse. Three keys: algo, env, exp_name.
harl/runners/on_policy_base_runner.py:29
Method__init__
(self, x)
harl/envs/env_wrappers.py:37
Method__init__
envs: list of gym environments to run in subprocesses
harl/envs/env_wrappers.py:221
Method__init__
(self, env_fns)
harl/envs/env_wrappers.py:300
Method__init__
(self, args, algo_args, env_args, num_agents, writter, run_dir)
harl/envs/smacv2/smacv2_logger.py:5
Method__init__
(self, args)
harl/envs/smacv2/smacv2_env.py:20
Method__init__
(self, env_args)
harl/envs/dexhands/dexhands_env.py:20
Method__init__
(self)
harl/envs/dexhands/DexterousHands/bidexhands/utils/o3dviewer.py:6
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_switch.py:61
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_bottle_cap.py:62
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_inward.py:62
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_outward.py:63
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_over2underarm.py:64
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_two_catch_underarm.py:62
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_block_stack.py:61
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_scissors.py:61
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/allegro_hand_over.py:23
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/allegro_hand_catch_underarm.py:23
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_push_block.py:62
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_kettle.py:63
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_abreast.py:63
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_re_orientation.py:60
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_swing_cup.py:62
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_grasp_and_place.py:61
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_outward.py:62
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_pen.py:62
Method__init__
( self, cfg, sim_params, physics_engine, device_type, device_i
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_over.py:65
← previousnext →701–800 of 1,457, ranked by callers