MCPcopy Create free account

hub / github.com/Farama-Foundation/D4RL / functions

Functions835 in github.com/Farama-Foundation/D4RL

Methodencode
Encode the a description of this object as a 3-tuple of integers
d4rl/gym_minigrid/minigrid.py:111
Methodestimate_obs_stats
(self, obs_batch, override_values=False)
d4rl/utils/wrappers.py:148
Methodestimate_obs_stats
(self, obs_batch, override_values=False)
d4rl/locomotion/wrappers.py:145
Functioneuler2mat
Convert Euler Angles to Rotation Matrix. See rotation.py for notes
d4rl/utils/quatmath.py:36
Functioneuler2mat
Convert Euler Angles to Rotation Matrix. See rotation.py for notes
d4rl/kitchen/adept_envs/utils/quatmath.py:52
Functioneuler2quat
Convert Euler Angles to Quaternions. See rotation.py for notes
d4rl/kitchen/adept_envs/utils/quatmath.py:76
Methodevaluate_success
(self, paths)
d4rl/hand_manipulation_suite/door_v0.py:122
Methodevaluate_success
(self, paths)
d4rl/hand_manipulation_suite/relocate_v0.py:118
Methodevaluate_success
(self, paths)
d4rl/hand_manipulation_suite/hammer_v0.py:127
Methodevaluate_success
(self, paths)
d4rl/hand_manipulation_suite/pen_v0.py:140
Methodevaluate_success
(self, paths)
d4rl/kitchen/adept_envs/franka/kitchen_multitask_v0.py:140
Methodfind_attr
Run DFS to find a matching attr
d4rl/pointmaze/dynamic_mjc.py:111
Methodfind_reach
()
d4rl/gym_minigrid/roomgrid.py:315
Functionflat_to_one_hot
>>> flat_to_one_hot(2, ndim=4) array([ 0., 0., 1., 0.]) >>> flat_to_one_hot(4, ndim=5) array([ 0., 0., 0., 0., 1.]) >>> f
d4rl/pointmaze/gridcraft/utils.py:3
Functionflow_register
(flow_params, render=None, **kwargs)
d4rl/flow/__init__.py:30
Functionfout
(x, y)
d4rl/gym_minigrid/rendering.py:33
Methodfront_pos
Get the position of the cell that is right in front of the agent
d4rl/gym_minigrid/minigrid.py:993
Functiongen_env
(render='drgb')
d4rl/flow/merge.py:14
Functiongen_env
(render='drgb')
d4rl/flow/traffic_light_grid.py:9
Functionget_ant_env
(**kwargs)
d4rl/gym_mujoco/gym_envs.py:26
Functionget_ant_env
(**kwargs)
d4rl/gym_bullet/gym_envs.py:26
Functionget_cheetah_env
(**kwargs)
d4rl/gym_mujoco/gym_envs.py:29
Methodget_dataset_chunk
Returns a slice of the full dataset. Args: chunk_id (int): An integer representing which slice of the dataset to return.
d4rl/offline_env.py:115
Functionget_dm_mujoco
Returns the DM Control mujoco module.
d4rl/kitchen/adept_envs/simulation/module.py:67
Functionget_dm_render
Returns the DM Control render module.
d4rl/kitchen/adept_envs/simulation/module.py:101
Functionget_dm_viewer
Returns the DM Control viewer module.
d4rl/kitchen/adept_envs/simulation/module.py:84
Methodget_env_state
Get state of hand as well as objects and targets in the scene
d4rl/hand_manipulation_suite/door_v0.py:97
Methodget_env_state
Get state of hand as well as objects and targets in the scene
d4rl/hand_manipulation_suite/relocate_v0.py:86
Methodget_env_state
Get state of hand as well as objects and targets in the scene
d4rl/hand_manipulation_suite/hammer_v0.py:100
Functionget_font
()
d4rl/carla/data_collection_agent_lane.py:162
Functionget_halfcheetah_env
(**kwargs)
d4rl/gym_bullet/gym_envs.py:29
Functionget_hopper_env
(**kwargs)
d4rl/gym_mujoco/gym_envs.py:32
Functionget_hopper_env
(**kwargs)
d4rl/gym_bullet/gym_envs.py:32
Functionget_mujoco_py_mjlib
Returns the mujoco_py mjlib module.
d4rl/kitchen/adept_envs/simulation/module.py:50
Methodget_neighbors
Return values of up, down, left, and right tiles
d4rl/pointmaze/gridcraft/grid_spec.py:109
Functionget_normalized_score
(env_name, score)
d4rl/__init__.py:64
Methodget_obs_from_cache
(self, env, index=-1)
d4rl/kitchen/adept_envs/franka/robot/franka_robot.py:125
Methodget_target
(self)
d4rl/pointmaze_bullet/bullet_maze.py:142
Methodget_value
Return values of up, down, left, and right tiles
d4rl/pointmaze/gridcraft/grid_spec.py:119
Functionget_walker2d_env
(**kwargs)
d4rl/gym_bullet/gym_envs.py:35
Functionget_walker_env
(**kwargs)
d4rl/gym_mujoco/gym_envs.py:35
Methodget_xy
(self)
d4rl/locomotion/point.py:102
Methodget_xy
(self)
d4rl/locomotion/swimmer.py:83
Methodgoal_space
(self)
d4rl/kitchen/adept_envs/franka/kitchen_multitask_v0.py:169
Methodhas_obj
(self)
d4rl/kitchen/adept_envs/base_robot.py:121
Methodheight
(self)
d4rl/pointmaze/gridcraft/grid_spec.py:140
Methodhorizon
(self)
d4rl/utils/wrappers.py:33
Methodhorizon
(self)
d4rl/carla/carla_env.py:1022
Methodhorizon
(self)
d4rl/carla/carla_env.py:1089
Methodhorizon
(self)
d4rl/locomotion/wrappers.py:30
Methodin_view
check if a grid position is visible to the agent
d4rl/gym_minigrid/minigrid.py:1069
Methodinitializing
(self)
d4rl/kitchen/adept_envs/robot_env.py:103
Methodis_hardware
(self)
d4rl/kitchen/adept_envs/base_robot.py:105
Functionis_within_distance
Check if a target object is within a certain distance from a reference object. A vehicle in front would be something around 0 deg, while one
d4rl/carla/data_collection_agent_lane.py:56
Functionis_within_distance
Check if a target object is within a certain distance from a reference object. A vehicle in front would be something around 0 deg, while one
d4rl/carla/data_collection_town.py:56
Functionis_within_distance
Check if a target object is within a certain distance from a reference object. A vehicle in front would be something around 0 deg, while one
d4rl/carla/carla_env.py:52
Functionlocal_spec
>>> local_spec("yOy\\\\Oxy", xpnt=(5,5)) array([[4, 4], [6, 4], [6, 5]])
d4rl/pointmaze/gridcraft/grid_spec.py:65
Functionmake_ant_maze_env
(**kwargs)
d4rl/locomotion/ant.py:210
Methodmake_queue
(register_event)
d4rl/carla/data_collection_agent_lane.py:126
Methodmake_queue
(register_event)
d4rl/carla/data_collection_town.py:172
Methodmake_queue
(register_event)
d4rl/carla/carla_env.py:156
Functionmat2quat
Convert Rotation Matrix to Quaternion. See rotation.py for notes
d4rl/utils/quatmath.py:99
Functionmat2quat
Convert Rotation Matrix to Quaternion. See rotation.py for notes
d4rl/kitchen/adept_envs/utils/quatmath.py:115
Methodmj_viewer_setup
(self)
d4rl/hand_manipulation_suite/door_v0.py:116
Methodmj_viewer_setup
(self)
d4rl/hand_manipulation_suite/relocate_v0.py:112
Methodmj_viewer_setup
(self)
d4rl/hand_manipulation_suite/hammer_v0.py:121
Methodmj_viewer_setup
(self)
d4rl/hand_manipulation_suite/pen_v0.py:134
Methodn_dofs
(self)
d4rl/kitchen/adept_envs/base_robot.py:93
Methodn_jnt
(self)
d4rl/kitchen/adept_envs/base_robot.py:85
Methodn_jnt
(self)
d4rl/kitchen/adept_envs/robot_env.py:90
Methodn_obj
(self)
d4rl/kitchen/adept_envs/base_robot.py:89
Methodn_obj
(self)
d4rl/kitchen/adept_envs/robot_env.py:94
Methodname2id
(type_name, name)
d4rl/kitchen/adept_envs/simulation/sim_robot.py:104
Methodobservation
(self, obs)
d4rl/gym_minigrid/wrappers.py:110
Methodobservation
(self, obs)
d4rl/gym_minigrid/wrappers.py:136
Methodobservation
(self, obs)
d4rl/gym_minigrid/wrappers.py:174
Methodobservation
(self, obs)
d4rl/gym_minigrid/wrappers.py:208
Methodobservation
(self, obs)
d4rl/gym_minigrid/wrappers.py:236
Methodobservation
(self, obs)
d4rl/gym_minigrid/wrappers.py:275
Methodobservation_cache
(self)
d4rl/kitchen/adept_envs/base_robot.py:133
Methodobservation_cache_maxsize
(self)
d4rl/kitchen/adept_envs/base_robot.py:129
Methodobservation_space
(self)
d4rl/pointmaze/gridcraft/grid_env.py:172
Methodobservation_space
(self)
d4rl/pointmaze/gridcraft/wrappers.py:69
Functionone_hot_to_flat
>>> one_hot_to_flat(np.array([0,0,0,0,1])) 4 >>> one_hot_to_flat(np.array([0,0,1,0])) 2 >>> one_hot_to_flat(np.array([[0,0,1,0],
d4rl/pointmaze/gridcraft/utils.py:23
Methodoverlay
(self)
d4rl/kitchen/adept_envs/base_robot.py:117
Methodphysics
(self)
d4rl/locomotion/point.py:49
Methodphysics
(self)
d4rl/locomotion/ant.py:57
Methodphysics
(self)
d4rl/locomotion/swimmer.py:35
Methodplace_agent
Set the agent's starting point at an empty position in the grid
d4rl/gym_minigrid/minigrid.py:953
Functionpointmass_model
Get a model with basic settings such as gravity and Euler integration enabled
d4rl/pointmaze/dynamic_mjc.py:25
Functionpol_playback
(env_name, pi, num_trajs=100, clip=True)
scripts/generation/hand_dapg_jax.py:49
Methodpolicy_fn
(obs)
d4rl/locomotion/maze_env.py:349
Functionpolicy_regret_metric
Returns the regret of the given policy against a set of expert policies. Args: policy (str): A policy string identifier. exp
d4rl/ope.py:120
Methodpos_bounds
(self)
d4rl/kitchen/adept_envs/base_robot.py:97
Methodpos_inside
Check if a position is within the bounds of this room
d4rl/gym_minigrid/roomgrid.py:47
Functionprecision_at_k_metric
Computes precision@k. Args: policies: A list of policy string identifiers. k (int): Number of top items. n_rel (int
d4rl/ope.py:67
Functionprint_avg_returns
Print returns for manual sanity checking.
scripts/check_mujoco_datasets.py:96
Functionprint_avg_returns
Print returns for manual sanity checking.
scripts/check_antmaze_datasets.py:60
Functionq_iteration
(env, **kwargs)
d4rl/pointmaze/q_iteration.py:66
Functionqlearning_dataset
Returns datasets formatted for use by standard Q-learning algorithms, with observations, actions, next_observations, rewards, and a terminal
d4rl/__init__.py:69
← previousnext →601–700 of 835, ranked by callers