MCPcopy Create free account

hub / github.com/Zhenhao-Zhang/OpenHOI / functions

Functions1,412 in github.com/Zhenhao-Zhang/OpenHOI

↓ 4 callersFunction_int_parameter
(v, max_v)
HOIAffordanceMLLM/ReConV2/utils/randaugment.py:139
↓ 4 callersMethodbackward
(ctx, graddist1, graddist2, _)
HOIAffordanceMLLM/ReConV2/extensions/chamfer_distance/chamfer_distance.py:41
↓ 4 callersFunctionbuild_contact_estimator
(args, test=False)
Affordance-DrivenHOIDiffusion/lib/utils/model_utils.py:107
↓ 4 callersFunctionbuild_dataset_from_cfg
Build a dataset, defined by `dataset_name`. Args: cfg (eDICT): Returns: Dataset: a constructed dataset specified by data
HOIAffordanceMLLM/ReConV2/datasets/build.py:6
↓ 4 callersFunctionbuild_seq_cvae
(args, test=False)
Affordance-DrivenHOIDiffusion/lib/utils/model_utils.py:73
↓ 4 callersFunctioncall_og_forward
()
HOIAffordanceMLLM/llava/model/language_model/mpt/hf_prefixlm_converter.py:74
↓ 4 callersMethodcontrast_loss
(self, token, feature)
HOIAffordanceMLLM/ReConV2/models/ReCon.py:290
↓ 4 callersFunctiondisable_torch_init
Disable the redundant torch default initialization to accelerate model creation.
HOIAffordanceMLLM/llava/utils.py:93
↓ 4 callersMethodforward
( self, model, x_lhand, x_rhand, x_obj, obj_feat, timesteps=None, enc_text=None,
Affordance-DrivenHOIDiffusion/lib/networks/diffusion copy.py:78
↓ 4 callersFunctionget_contact_idx
(dist, contact_threshold)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:173
↓ 4 callersFunctionget_dataset
(train_transform, tokenizer, args, dataset_name=None)
HOIAffordanceMLLM/llava/model/Uni3D/utils/utils.py:247
↓ 4 callersFunctionget_hand_object_dist
(hand_joints, sampled_obj_verts)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:165
↓ 4 callersFunctionget_parameters
(args, model, assigner, tower)
HOIAffordanceMLLM/llava/model/Uni3D/utils/optim.py:55
↓ 4 callersFunctionget_ro
(hand, obj, valid_mask)
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:148
↓ 4 callersFunctionget_transformed_obj_pc
(obj_params, obj_pc, dataset_name, obj_top_idx=None)
Affordance-DrivenHOIDiffusion/lib/utils/proc_output.py:54
↓ 4 callersFunctionocclusion
(point_cloud, num_points=10000, angle_threshold_degrees=90, fix=False)
HOIAffordanceMLLM/llava/mm_utils.py:60
↓ 4 callersFunctionproc_cond_contact_estimator
(obj_scale, obj_feat, enc_text, npts, use_scale)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:232
↓ 4 callersFunctionproc_obj_feat_final
( contact_estimator, obj_scale, obj_cent, obj_feat, enc_text, npts, use_obj_scale_centr
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:321
↓ 4 callersFunctionquaternion_apply
Source: https://github.com/facebookresearch/pytorch3d/blob/main/pytorch3d/transforms/rotation_conversions.py Apply the rotation given by a
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:370
↓ 4 callersMethodreset
(self)
HOIAffordanceMLLM/llava/train/train.py:88
↓ 4 callersMethodsave_results
(self, is_temp=False)
HOIAffordanceMLLM/llava/eval/evaluator.py:290
↓ 4 callersMethodsave_results
(self, is_temp=False)
HOIAffordanceMLLM/llava/eval/evaluator.py:554
↓ 4 callersMethodsave_results
(self, is_temp=False)
HOIAffordanceMLLM/llava/eval/evaluator.py:785
↓ 4 callersFunctionsquare_distance
Calculate Euclid distance between each two points. src^T * dst = xn * xm + yn * ym + zn * zm; sum(src^2, dim=-1) = xn*xn + yn*yn + zn*zn;
HOIAffordanceMLLM/ReConV2/segmentation/pointnet_util.py:22
↓ 4 callersFunctiontransform_obj_to_xdata
(obj_matrix)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:89
↓ 4 callersFunctionworld_info_from_env
()
HOIAffordanceMLLM/llava/model/Uni3D/utils/distributed.py:45
↓ 3 callersFunctionCutoutAbs
(img, v, **kwarg)
HOIAffordanceMLLM/ReConV2/utils/randaugment.py:43
↓ 3 callersMethod__init__
(self, num_group, group_size)
HOIAffordanceMLLM/llava/model/Uni3D/models/point_encoder.py:94
↓ 3 callersMethod__init__
( self, hand_input_nfeats, hand_output_nfeats, **kwargs )
Affordance-DrivenHOIDiffusion/lib/networks/refiner.py:15
↓ 3 callersFunction_flash_attn_backward
(do, q, k, v, o, lse, dq, dk, dv, bias=None, causal=False, softmax_scale=None)
HOIAffordanceMLLM/llava/model/language_model/mpt/flash_attn_triton.py:366
↓ 3 callersFunction_flash_attn_forward
(q, k, v, bias=None, causal=False, softmax_scale=None)
HOIAffordanceMLLM/llava/model/language_model/mpt/flash_attn_triton.py:329
↓ 3 callersMethod_register_module
(self, module_class, module_name=None, force=False)
HOIAffordanceMLLM/ReConV2/utils/registry.py:169
↓ 3 callersMethod_register_module
(self, module_class, module_name=None, force=False)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/registry.py:168
↓ 3 callersFunction_warmup_lr
(base_lr, warmup_length, step)
HOIAffordanceMLLM/llava/model/Uni3D/utils/scheduler.py:9
↓ 3 callersMethodaccuracy
Computes the accuracy over the k top predictions for the specified values of k
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:244
↓ 3 callersFunctionalign_frame
(total_dict)
Affordance-DrivenHOIDiffusion/lib/utils/frame.py:42
↓ 3 callersFunctionaxis_angle_to_rotmat
(axis_angle)
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:51
↓ 3 callersFunctionbuild_logger
(logger_name, logger_filename)
HOIAffordanceMLLM/llava/utils.py:17
↓ 3 callersFunctionbuild_model_and_diffusion
(args, lhand_layer, rhand_layer, test=False)
Affordance-DrivenHOIDiffusion/lib/utils/model_utils.py:48
↓ 3 callersFunctioncfg_from_yaml_file
(cfg_file)
HOIAffordanceMLLM/ReConV2/utils/config.py:41
↓ 3 callersMethodencode_pc
(self, pc)
HOIAffordanceMLLM/llava/model/Uni3D/models/uni3d.py:15
↓ 3 callersFunctionfarthest_point_sample
Input: xyz: pointcloud data, [B, N, 3] npoint: number of samples Return: centroids: sampled pointcloud index, [B, npo
HOIAffordanceMLLM/ReConV2/segmentation/pointnet_util.py:53
↓ 3 callersMethodforward_features
(self, pts)
HOIAffordanceMLLM/ReConV2/models/ReCon.py:312
↓ 3 callersFunctionfps
data B N 3 number int
HOIAffordanceMLLM/ReConV2/utils/misc.py:13
↓ 3 callersFunctionfps
data B N 3 number int
HOIAffordanceMLLM/ReConV2/segmentation/misc.py:14
↓ 3 callersFunctionfps
data B N 3 number int
HOIAffordanceMLLM/llava/model/Uni3D/models/point_encoder.py:7
↓ 3 callersMethodget
Get the registry record. Args: key (str): The class name in string format. Returns: class: The corresponding c
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/registry.py:123
↓ 3 callersFunctionget_augm_scale
(scale=0.2)
Affordance-DrivenHOIDiffusion/lib/utils/augm.py:124
↓ 3 callersFunctionget_contact_info
( lhand_pose_list, lhand_beta_list, lhand_trans_list, rhand_pose_list, rhand_beta_list, rha
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:99
↓ 3 callersMethodget_costs
(self)
HOIAffordanceMLLM/llava/eval/evaluator.py:335
↓ 3 callersFunctionget_l2_loss
( pred_lhand=None, pred_rhand=None, pred_obj=None, targ_lhand=None, targ_rhand=None, targ_obj
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:24
↓ 3 callersFunctionget_length_grouped_indices
(lengths, batch_size, world_size, generator=None, merge=True)
HOIAffordanceMLLM/llava/train/llava_trainer.py:88
↓ 3 callersMethodget_model
(self)
HOIAffordanceMLLM/llava/model/language_model/llava_mpt.py:65
↓ 3 callersFunctionget_object_hand_info
( object_model, clip_model, text, obj_root, data_config, mpnet=None, )
Affordance-DrivenHOIDiffusion/lib/utils/demo_utils.py:144
↓ 3 callersFunctionget_transforms
(resize_size=256, crop_size=224)
HOIAffordanceMLLM/ReConV2/utils/transforms.py:73
↓ 3 callersFunctionget_valid_mask_bunch
(is_lhand, is_rhand, max_nframes, duration)
Affordance-DrivenHOIDiffusion/lib/utils/demo_utils.py:227
↓ 3 callersMethodget_worker_status
(self, worker_name: str)
HOIAffordanceMLLM/llava/serve/controller.py:88
↓ 3 callersFunctionget_world_size
()
HOIAffordanceMLLM/llava/model/Uni3D/utils/utils.py:73
↓ 3 callersFunctionget_world_size
()
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/utils.py:73
↓ 3 callersMethodinitialize_vision_modules
(self, model_args, fsdp=None)
HOIAffordanceMLLM/llava/model/llava_arch.py:44
↓ 3 callersFunctionl2_loss_unit
(pred, targ, mask=None, weight=None)
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:16
↓ 3 callersFunctionmake_save_folder
(save_root)
Affordance-DrivenHOIDiffusion/lib/utils/file.py:25
↓ 3 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
HOIAffordanceMLLM/llava/train/train.py:216
↓ 3 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
HOIAffordanceMLLM/llava/train/inference.py:201
↓ 3 callersFunctionnormalize_pc
(pc)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/data.py:11
↓ 3 callersFunctionpad_tensor_list
(v_list: list)
Affordance-DrivenHOIDiffusion/lib/utils/torch.py:3
↓ 3 callersMethodprint_costs
(self)
HOIAffordanceMLLM/llava/eval/evaluator.py:331
↓ 3 callersFunctionproc_cond_contact_estimator_cov_map
(obj_scale, obj_feat, enc_text, npts, use_scale,affordance_map)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:247
↓ 3 callersFunctionread_json
(json_file)
Affordance-DrivenHOIDiffusion/lib/utils/file.py:61
↓ 3 callersMethodrender_video
(self, vertices, faces, mesh_kind, return_numpy=True)
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:178
↓ 3 callersFunctionrotmat_to_rot6d
(x)
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:107
↓ 3 callersMethodsafe_chat_complete
(self, messages, content_only=True, **kwargs)
HOIAffordanceMLLM/llava/eval/utils.py:53
↓ 3 callersFunctionsample_with_window_size
(pred, targ, valid_mask, window_size=20, window_step=1)
Affordance-DrivenHOIDiffusion/lib/utils/frame.py:62
↓ 3 callersMethodset_proj
(self)
HOIAffordanceMLLM/llava/model/multimodal_projector/builder.py:60
↓ 3 callersFunctionsmth_accel_loss_unit
(pred, targ, weight)
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:100
↓ 3 callersFunctionsmth_pos_loss_unit
(pred, targ, weight)
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:95
↓ 3 callersFunctionstart_evaluation
Args: results: dict or file path to the json file containing the dict output_file: the path the final evaluation results to be sa
HOIAffordanceMLLM/llava/eval/evaluator.py:829
↓ 3 callersMethodtest_modelnet40
(self)
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:286
↓ 3 callersMethodtest_objaverse_lvis
(self)
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:335
↓ 3 callersMethodtest_scanobjectnn
(self)
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:380
↓ 3 callersMethodupdate
(self, val, n=1)
HOIAffordanceMLLM/llava/train/inference.py:79
↓ 3 callersFunctionvote_last_response
(state, vote_type, model_selector, request: gr.Request)
HOIAffordanceMLLM/llava/serve/gradio_web_server.py:83
↓ 2 callersMethod__init__
(self, config)
HOIAffordanceMLLM/ReConV2/models/ReCon.py:234
↓ 2 callersMethod__init__
(self, npoint, radius, nsample, in_channel, mlp, group_all, knn=False)
HOIAffordanceMLLM/ReConV2/segmentation/pointnet_util.py:160
↓ 2 callersMethod__init__
(self, npoint, radius, nsample, in_channel, mlp, group_all)
HOIAffordanceMLLM/ReConV2/segmentation/models/pointnet2_utils.py:159
↓ 2 callersMethod__init__
(self, normalized_shape, eps=1e-05, weight=True, dtype=None, device=None)
HOIAffordanceMLLM/llava/model/language_model/mpt/norm.py:35
↓ 2 callersMethod__init__
(self)
HOIAffordanceMLLM/llava/model/multimodal_projector/builder.py:7
↓ 2 callersMethod__init__
(self, k=64)
Affordance-DrivenHOIDiffusion/lib/networks/pointnet.py:9
↓ 2 callersMethod__init__
( self, data_path, data_obj_pc_path, text_json, max_nframes,
Affordance-DrivenHOIDiffusion/lib/datasets/grab.py:175
↓ 2 callersMethod__init__
( self, data_path, data_obj_pc_path, text_json, max_nframes,
Affordance-DrivenHOIDiffusion/lib/datasets/h2o.py:170
↓ 2 callersMethod__init__
( self, data_path, data_obj_pc_path, text_json, max_nframes,
Affordance-DrivenHOIDiffusion/lib/datasets/arctic.py:172
↓ 2 callersFunction_bwd_kernel_one_col_block
(start_n, Q, K, V, Bias, DO, DQ, DK, DV, LSE, D, softmax_scale, stride_qm, stride_kn, stride_vn, stride_bm, st
HOIAffordanceMLLM/llava/model/language_model/mpt/flash_attn_triton.py:184
↓ 2 callersFunction_bwd_store_dk_dv
(dk_ptrs, dv_ptrs, dk, dv, offs_n, offs_d, seqlen_k, headdim, EVEN_M: tl.constexpr, EVEN_N: tl.constexpr, EVEN
HOIAffordanceMLLM/llava/model/language_model/mpt/flash_attn_triton.py:168
↓ 2 callersFunction_get_attn_modules
Helper that gets a list of the model's attention modules. Each module has a `bias` buffer used for causal masking. The Prefix LM conv
HOIAffordanceMLLM/llava/model/language_model/mpt/hf_prefixlm_converter.py:45
↓ 2 callersFunction_group_checkpoint_keys
Group keys based on common prefixes. A prefix is the string up to the final "." in each key. Args: keys (list[str]): list of para
HOIAffordanceMLLM/ReConV2/utils/checkpoint.py:79
↓ 2 callersFunction_group_checkpoint_keys
Group keys based on common prefixes. A prefix is the string up to the final "." in each key. Args: keys (list[str]): list of para
HOIAffordanceMLLM/ReConV2/segmentation/logger.py:208
↓ 2 callersFunction_group_to_str
Format a group of parameter name suffixes into a loggable string. Args: group (list[str]): list of parameter name suffixes. Retur
HOIAffordanceMLLM/ReConV2/utils/checkpoint.py:100
↓ 2 callersFunction_group_to_str
Format a group of parameter name suffixes into a loggable string. Args: group (list[str]): list of parameter name suffixes. Retur
HOIAffordanceMLLM/ReConV2/segmentation/logger.py:229
↓ 2 callersFunction_normal_param_init_fn_
(module: nn.Module, std: float, n_layers: int, d_model: Optional[int]=None, init_div_is_residual: Union[int, f
HOIAffordanceMLLM/llava/model/language_model/mpt/param_init_fns.py:124
↓ 2 callersFunction_reset_is_causal
(num_query_tokens: int, num_key_tokens: int, original_is_causal: bool)
HOIAffordanceMLLM/llava/model/language_model/mpt/attention.py:12
← previousnext →101–200 of 1,412, ranked by callers