MCPcopy Create free account

hub / github.com/YanjieZe/H-InDex / functions

Functions701 in github.com/YanjieZe/H-InDex

↓ 1 callersFunctiondo_rollout
:param num_traj: number of trajectories (int) :param env: environment (env class, str with env_name, or factory function) :par
stage3_RL/mjrl/mjrl/samplers/core.py:25
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
stage2_adapt/lib/dino/vision_transformer_flexible.py:30
↓ 1 callersFunctioneuler2quat
Convert Euler Angles to Quaternions. See rotation.py for notes
stage3_RL/mj_envs/mj_envs/utils/quatmath.py:60
↓ 1 callersMethodextract_feature
(self, x)
stage3_RL/rrl/representations/TTP/pose_double_head_resnet.py:316
↓ 1 callersMethodextract_features_and_attn
A definition of relevant dimensions {all_b, nh, t, d}: image_size: Side length of input images (assumed square) all_b
stage2_adapt/lib/dino/model.py:78
↓ 1 callersFunctionfit_data
:param model: pytorch model of form y_hat = f(x) (class) :param x: inputs to the model (tensor) :param y:
stage3_RL/mjrl/mjrl/utils/optimize_model.py:7
↓ 1 callersMethodfit_dynamics
(self, s, a, sp, fit_mb_size, fit_epochs, max_steps=1e4, set_transformations=True, *args
stage3_RL/mjrl/mjrl/algos/model_accel/nn_dynamics.py:87
↓ 1 callersMethodfit_reward
(self, s, a, r, fit_mb_size, fit_epochs, max_steps=1e4, set_transformations=True, *args, *
stage3_RL/mjrl/mjrl/algos/model_accel/nn_dynamics.py:118
↓ 1 callersFunctionfliplr_joints
flip coords
stage2_adapt/lib/utils/transforms.py:39
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/encoder.py:176
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/encoder.py:255
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/encoder.py:312
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/encoder.py:439
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/encoder.py:508
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/encoder.py:550
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/representations/vc1_encoder.py:22
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/representations/hindex_encoder.py:70
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/representations/mvp_encoder.py:22
↓ 1 callersMethodforward
(self, x)
stage3_RL/rrl/representations/r3m_encoder.py:19
↓ 1 callersMethodforward
(self, s, a)
stage3_RL/mjrl/mjrl/algos/model_accel/nn_dynamics.py:47
↓ 1 callersFunctiongenerate_paths
first generate enough perturbed actions then do rollouts with generated actions set seed inside this function for multiprocessing
stage3_RL/mjrl/mjrl/algos/model_accel/sampling.py:218
↓ 1 callersMethodgenerate_target
:param joints: [num_joints, 3] :param joints_vis: [num_joints, 3] :return: target, target_weight(1: visible, 0: invisible)
stage2_adapt/lib/dataset/JointsDataset.py:237
↓ 1 callersMethodget_data_from_buffer
(self)
stage3_RL/mjrl/mjrl/algos/mbac.py:109
↓ 1 callersFunctionget_dir
(src_point, rot_rad)
stage3_RL/rrl/adaptation_models/transforms.py:100
↓ 1 callersFunctionget_dir
(src_point, rot_rad)
stage2_adapt/lib/utils/transforms.py:110
↓ 1 callersFunctionget_double_head_pose_net
(cfg, is_train, **kwargs)
stage3_RL/rrl/adaptation_models/pose_double_head_resnet.py:413
↓ 1 callersFunctionget_double_head_pose_net
(cfg, is_train, **kwargs)
stage2_adapt/lib/models/pose_double_head_resnet.py:435
↓ 1 callersMethodget_env_infos
(self)
stage3_RL/rrl/multicam.py:132
↓ 1 callersMethodget_env_infos
(self)
stage3_RL/mjrl/mjrl/envs/swimmer.py:55
↓ 1 callersMethodget_env_infos
(self)
stage3_RL/mjrl/mjrl/envs/peg_insertion_sawyer.py:110
↓ 1 callersMethodget_env_infos
(self)
stage3_RL/mjrl/mjrl/envs/reacher_sawyer.py:101
↓ 1 callersMethodget_env_state
(self)
stage3_RL/mjrl/mjrl/envs/swimmer.py:41
↓ 1 callersMethodget_env_state
(self)
stage3_RL/mjrl/mjrl/envs/peg_insertion_sawyer.py:87
↓ 1 callersMethodget_env_state
(self)
stage3_RL/mjrl/mjrl/envs/reacher_sawyer.py:82
↓ 1 callersFunctionget_final_preds
(batch_heatmaps, scale=4.0)
stage3_RL/rrl/adaptation_models/inference.py:40
↓ 1 callersMethodget_gaussian_map
(self, heatmaps)
stage3_RL/rrl/adaptation_models/imm_joint_model.py:174
↓ 1 callersMethodget_gaussian_map
(self, heatmaps)
stage3_RL/rrl/representations/TTP/imm_joint_model_resnet.py:175
↓ 1 callersMethodget_gaussian_map
(self, heatmaps)
stage2_adapt/lib/models/imm_joint_model.py:178
↓ 1 callersFunctionget_max_preds
get predictions from score maps heatmaps: numpy.ndarray([batch_size, num_joints, height, width])
stage3_RL/rrl/adaptation_models/inference.py:10
↓ 1 callersMethodget_num_inchannels
(self)
stage3_RL/rrl/adaptation_models/pose_hrnet.py:234
↓ 1 callersMethodget_num_inchannels
(self)
stage2_adapt/lib/models/pose_hrnet.py:244
↓ 1 callersFunctionget_optimizer
(cfg, model)
stage2_adapt/lib/utils/utils.py:60
↓ 1 callersFunctionget_pose_net
(cfg, is_train, is_finetune=False, freeze_bn=False, freeze_encoder=False)
stage3_RL/rrl/adaptation_models/imm_joint_model.py:212
↓ 1 callersFunctionget_pose_net
(cfg, is_train, is_finetune=False, freeze_bn=False)
stage3_RL/rrl/representations/TTP/imm_joint_model.py:187
↓ 1 callersMethodget_refined_action
(self, observation)
stage3_RL/mjrl/mjrl/algos/model_accel/model_accel_npg.py:191
↓ 1 callersFunctionget_resnet34
()
stage3_RL/rrl/representations/TTP/imm_joint_model_resnet.py:66
↓ 1 callersFunctionget_sim
(model_path)
stage3_RL/mjrl/mjrl/envs/mujoco_env.py:17
↓ 1 callersMethodhalf_body_transform
(self, joints, joints_vis)
stage2_adapt/lib/dataset/JointsDataset.py:68
↓ 1 callersMethodinit_weights
(self, pretrained='')
stage3_RL/rrl/adaptation_models/pose_double_head_resnet.py:355
↓ 1 callersMethodinit_weights
(self, pretrained='')
stage3_RL/rrl/adaptation_models/pose_resnet.py:199
↓ 1 callersMethodinit_weights
(self, pretrained='')
stage3_RL/rrl/adaptation_models/pose_hrnet.py:452
↓ 1 callersMethodinit_weights
(self, pretrained='')
stage3_RL/rrl/representations/TTP/pose_double_head_resnet.py:382
↓ 1 callersMethodinit_weights
(self, pretrained='')
stage2_adapt/lib/models/pose_double_head_resnet.py:377
↓ 1 callersMethodinit_weights
(self, pretrained='')
stage2_adapt/lib/models/pose_resnet.py:209
↓ 1 callersMethodinit_weights
(self, pretrained='')
stage2_adapt/lib/models/pose_hrnet.py:462
↓ 1 callersMethodinterpolate_pos_encoding
(self, x, w, h)
stage2_adapt/lib/dino/vision_transformer_flexible.py:231
↓ 1 callersMethodlog_video
(self, key, video, step=None)
stage3_RL/mjrl/mjrl/utils/logger.py:37
↓ 1 callersFunctionmain
(env_name, policy, mode, seed, episodes)
stage3_RL/mj_envs/mj_envs/utils/visualize_env.py:27
↓ 1 callersFunctionmain
(env_name, policy, mode, seed, episodes)
stage3_RL/mjrl/mjrl/utils/visualize_policy.py:27
↓ 1 callersFunctionmain
()
stage3_RL/mjrl/mjrl/utils/make_train_plots.py:46
↓ 1 callersFunctionmain
(file, seed, noise_level, num_episodes, config, device_path)
stage3_RL/mjrl/mjrl/algos/model_accel/run_experiments/utils/visualize_trajectories.py:26
↓ 1 callersFunctionmain
(env_name, policy, mode, seed, episodes, log_std, terminate, device_path)
stage3_RL/mjrl/mjrl/algos/model_accel/run_experiments/utils/visualize_policy.py:32
↓ 1 callersFunctionmain
(data_dir, env_name, num_demos, mode, policy, img_size, camera_name, gpu_id)
stage3_RL/examples/createImgData_adroit.py:44
↓ 1 callersFunctionmain
(args : DictConfig)
stage3_RL/examples/train_adroit.py:68
↓ 1 callersFunctionmain
(data_dir, env_name, num_demos, mode, cam)
stage3_RL/examples/createImgData_dexmv.py:44
↓ 1 callersFunctionmain
(args : DictConfig)
stage3_RL/examples/train_dexmv.py:62
↓ 1 callersFunctionmain
()
stage2_adapt/tools/test_time_training.py:93
↓ 1 callersFunctionmain
()
stage2_adapt/tools/visualize_keypoint.py:108
↓ 1 callersFunctionmat2euler
Convert Rotation Matrix to Euler Angles. See rotation.py for notes
stage3_RL/mj_envs/mj_envs/utils/quatmath.py:79
↓ 1 callersMethodmatch
(self, src_img, tgt_img, src_mask, tgt_mask, grid=None)
stage2_adapt/lib/dino/corr.py:62
↓ 1 callersMethodmj_viewer_setup
Due to specifics of new mujoco rendering, the standard viewer cannot be used with this set-up. Instead we use this mujoco specific fu
stage3_RL/mjrl/mjrl/envs/mujoco_env.py:81
↓ 1 callersMethodmle_loss
(self, data, idx)
stage3_RL/mjrl/mjrl/algos/behavior_cloning.py:83
↓ 1 callersMethodmse_loss
(self, data, idx=None)
stage3_RL/mjrl/mjrl/algos/behavior_cloning.py:95
↓ 1 callersFunctionmulQuat
(qa, qb)
stage3_RL/mj_envs/mj_envs/utils/quatmath.py:7
↓ 1 callersFunctionnegQuat
(quat)
stage3_RL/mj_envs/mj_envs/utils/quatmath.py:15
↓ 1 callersMethodohkm
(self, loss)
stage2_adapt/lib/core/loss.py:67
↓ 1 callersFunctionpad_tensor
(x, max_len, mode='zero')
stage3_RL/mjrl/mjrl/utils/tensor_utils.py:19
↓ 1 callersFunctionparse_args
()
stage2_adapt/tools/test_time_training.py:31
↓ 1 callersFunctionparse_args
()
stage2_adapt/tools/visualize_keypoint.py:52
↓ 1 callersFunctionpolicy_rollout
( num_traj, env, policy, learned_model, init_state=None, eval_
stage3_RL/mjrl/mjrl/algos/model_accel/sampling.py:16
↓ 1 callersMethodpredict_keypoint
(self, img)
stage2_adapt/lib/models/imm_joint_model.py:138
↓ 1 callersFunctionpreprocess
(job_data)
stage3_RL/mjrl/tests/hydra/hydra_policy_opt_job_script.py:29
↓ 1 callersFunctionquat2Vel
(quat, dt=1)
stage3_RL/mj_envs/mj_envs/utils/quatmath.py:18
↓ 1 callersFunctionquat2euler
Convert Quaternion to Euler Angles. See rotation.py for notes
stage3_RL/mj_envs/mj_envs/utils/quatmath.py:136
↓ 1 callersFunctionquat2mat
Convert Quaternion to Euler Angles. See rotation.py for notes
stage3_RL/mj_envs/mj_envs/utils/quatmath.py:141
↓ 1 callersFunctionread
(fname)
stage3_RL/mj_envs/setup.py:9
↓ 1 callersFunctionread
(fname)
stage3_RL/mjrl/setup.py:11
↓ 1 callersMethodreset
(self)
stage3_RL/rrl/multicam.py:295
↓ 1 callersMethodreset
(self)
stage2_adapt/lib/core/function.py:210
↓ 1 callersMethodreset_model
(self)
stage3_RL/mj_envs/mj_envs/hand_manipulation_suite/door_v0.py:92
↓ 1 callersMethodreset_model
(self, seed=None)
stage3_RL/mjrl/mjrl/utils/gym_env.py:89
↓ 1 callersMethodreset_model
Reset the robot degrees of freedom (qpos and qvel). Implement this in each subclass.
stage3_RL/mjrl/mjrl/envs/mujoco_env.py:74
↓ 1 callersMethodreturn_qkv
(self, x)
stage2_adapt/lib/dino/vision_transformer_flexible.py:136
↓ 1 callersMethodreward
(self, s, a)
stage3_RL/mjrl/mjrl/algos/model_accel/nn_dynamics.py:65
↓ 1 callersFunctionreward_function
(paths)
stage3_RL/mjrl/mjrl/algos/model_accel/run_experiments/utils/reward_functions/mjrl_point_mass.py:3
↓ 1 callersMethodrobot_reset
(self)
stage3_RL/mjrl/mjrl/envs/peg_insertion_sawyer.py:61
↓ 1 callersMethodrobot_reset
(self)
stage3_RL/mjrl/mjrl/envs/reacher_sawyer.py:59
↓ 1 callersFunctionsample_batch
sample a batch of videos
stage3_RL/rrl/adaptation.py:20
↓ 1 callersFunctionsample_paths
(num_traj, env, policy, # mpc policy on fitted model horiz
stage3_RL/mjrl/mjrl/algos/model_accel/sampling.py:131
↓ 1 callersMethodscore_trajectory
(self, paths)
stage3_RL/mjrl/mjrl/policies/mpc_actor.py:31
← previousnext →201–300 of 701, ranked by callers