MCPcopy Create free account

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

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

↓ 2 callersMethod_save
(self, output_dir: Optional[str] = None, state_dict=None)
HOIAffordanceMLLM/llava/train/llava_trainer.py:260
↓ 2 callersMethod_set_config_defaults
(self, config, config_defaults)
HOIAffordanceMLLM/llava/model/language_model/mpt/configuration_mpt.py:90
↓ 2 callersMethod_validate_config
(self)
HOIAffordanceMLLM/llava/model/language_model/mpt/configuration_mpt.py:96
↓ 2 callersFunctionaugment_pc
(data)
HOIAffordanceMLLM/ReConV2/utils/data.py:102
↓ 2 callersFunctionauto_upgrade
(config)
HOIAffordanceMLLM/llava/model/utils.py:4
↓ 2 callersFunctionbatched_index_select
:param input: [B, N1, *] :param dim: the dim to be selected :param index: [B, N2] :return: [B, N2, *] selected result
Affordance-DrivenHOIDiffusion/lib/utils/proc_output.py:174
↓ 2 callersMethodbuild
(self, *args, **kwargs)
HOIAffordanceMLLM/ReConV2/utils/registry.py:147
↓ 2 callersMethodbuild_opti_sche
(self)
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:129
↓ 2 callersFunctionbuild_refiner
(args, test=False)
Affordance-DrivenHOIDiffusion/lib/utils/model_utils.py:27
↓ 2 callersFunctionbuild_vision_projector
(config, delay_load=False, **kwargs)
HOIAffordanceMLLM/llava/model/multimodal_projector/builder.py:93
↓ 2 callersFunctionbuild_vision_tower
(vision_tower_cfg, **kwargs)
HOIAffordanceMLLM/llava/model/multimodal_encoder/builder.py:4
↓ 2 callersFunctionbytes_to_unicode
Returns list of utf-8 byte and a corresponding list of unicode strings. The reversible bpe codes work on unicode strings. This means you
HOIAffordanceMLLM/llava/model/Uni3D/utils/tokenizer.py:18
↓ 2 callersFunctioncalculate_volume
(bbox)
HOIAffordanceMLLM/llava/eval/eval_gapartnet.py:12
↓ 2 callersFunctioncfg_from_yaml_file
(cfg_file)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/config.py:37
↓ 2 callersFunctioncheck_valid_inputs
(*tensors, valid_dtypes=[torch.float16, torch.bfloat16])
HOIAffordanceMLLM/llava/model/language_model/mpt/attention.py:64
↓ 2 callersMethodcount
(self, idx=None)
HOIAffordanceMLLM/ReConV2/utils/AverageMeter.py:30
↓ 2 callersFunctioncreate_optimizer
(args, model, return_params=False)
HOIAffordanceMLLM/llava/model/Uni3D/utils/optim.py:196
↓ 2 callersMethodddpm_loop_loss_guidance
( self, sample_lhand, sample_rhand, sample_obj, model, obj_feat, enc_none_text,
Affordance-DrivenHOIDiffusion/lib/networks/diffusion copy.py:340
↓ 2 callersMethoddevice
(self)
HOIAffordanceMLLM/llava/model/multimodal_encoder/clip_encoder.py:58
↓ 2 callersMethoddict
(self)
HOIAffordanceMLLM/llava/conversation.py:115
↓ 2 callersFunctiondict_to_cuda
(input_dict)
HOIAffordanceMLLM/utils/utils.py:153
↓ 2 callersFunctiondict_to_cuda
(input_dict)
HOIAffordanceMLLM/llava/train/train.py:1178
↓ 2 callersMethoddisplay
(self, batch)
HOIAffordanceMLLM/llava/model/Uni3D/main.py:677
↓ 2 callersMethodencode_points
(self, points)
HOIAffordanceMLLM/llava/model/llava_arch.py:102
↓ 2 callersFunctioneuler2mat
Convert euler angles to rotation matrix. :param angle: [3] or [b, 3] :return rotmat: [3] or [b, 3, 3] source https://github.
HOIAffordanceMLLM/ReConV2/datasets/pc_render.py:47
↓ 2 callersFunctionfarthest_point_sample
Input: xyz: pointcloud data, [N, D] npoint: number of samples Return: centroids: sampled pointcloud index, [npoint, D
HOIAffordanceMLLM/ReConV2/datasets/ModelNetDataset.py:30
↓ 2 callersFunctionfarthest_point_sample
Input: xyz: pointcloud data, [B, N, 3] npoint: number of samples Return: centroids: sampled pointcloud index, [B, npo
HOIAffordanceMLLM/ReConV2/segmentation/models/pointnet2_utils.py:60
↓ 2 callersFunctionfarthest_point_sample
Input: xyz: pointcloud data, [B, N, 3] npoint: number of samples Return: centroids: sampled pointcloud index, [B, npo
HOIAffordanceMLLM/llava/model/language_model/affordancellm.py:140
↓ 2 callersFunctionfn
(m)
HOIAffordanceMLLM/ReConV2/utils/misc.py:95
↓ 2 callersMethodforward
(self, pred, target)
HOIAffordanceMLLM/llava/model/language_model/affordancellm.py:60
↓ 2 callersMethodforward_7d_batch
( self, angles, global_orient, transl, query_names: list, fwd_
Affordance-DrivenHOIDiffusion/lib/models/object_arctic.py:42
↓ 2 callersFunctionget_NN
:param src_xyz: [B, N1, 3] :param trg_xyz: [B, N2, 3] :return: nn_dists, nn_dix: all [B, 3000] tensor for NN distance and index in N2
Affordance-DrivenHOIDiffusion/lib/utils/proc_output.py:136
↓ 2 callersFunctionget_all_parameters
(args, model)
HOIAffordanceMLLM/llava/model/Uni3D/utils/optim.py:178
↓ 2 callersFunctionget_augm_trans
(x_trans, y_trans, z_trans)
Affordance-DrivenHOIDiffusion/lib/utils/augm.py:117
↓ 2 callersFunctionget_conv_log_filename
()
HOIAffordanceMLLM/llava/serve/gradio_web_server.py:32
↓ 2 callersFunctionget_distance_map_loss
( pred_ldist, pred_rdist, targ_ldist, targ_rdist, weight=None, )
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:107
↓ 2 callersFunctionget_filtered_loss_valid_map
(loss, valid_map, weight=None)
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:185
↓ 2 callersFunctionget_grad_norm_
(parameters, norm_type: float = 2.0)
HOIAffordanceMLLM/llava/model/Uni3D/utils/optim.py:229
↓ 2 callersMethodget_graph_feature
(self, coor_q, x_q, coor_k, x_k)
HOIAffordanceMLLM/llava/model/language_model/affordancellm.py:531
↓ 2 callersFunctionget_hand2obj_dist
(hand_joints, obj_pc, obj_pc_normal)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:384
↓ 2 callersFunctionget_hand_layer_out
(hand_params, hand_layer)
Affordance-DrivenHOIDiffusion/lib/utils/proc_output.py:26
↓ 2 callersFunctionget_hand_obj_dist_map
( pred_lhand, pred_rhand, pred_obj, obj_pc, lhand_layer, rhand_layer, dataset_name, obj_pc_top_idx=N
Affordance-DrivenHOIDiffusion/lib/utils/proc_output.py:106
↓ 2 callersFunctionget_hand_org
(hand_pose, hand_beta, hand_trans, hand_layer)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:188
↓ 2 callersFunctionget_interior
:param src_face_normal: [B, 778, 3], surface normal of every vert in the source mesh :param src_xyz: [B, 778, 3], source mesh vertices xyz
Affordance-DrivenHOIDiffusion/lib/utils/proc_output.py:154
↓ 2 callersFunctionget_joint_contact_loss
( pred_lhand, pred_rhand, lhand_obj_cont_v, rhand_obj_cont_v, lhand_layer, rhand_layer, mask
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:42
↓ 2 callersFunctionget_logger
Initialize and get a logger by name. If the logger has not been initialized, this method will initialize the logger by adding one or two handl
HOIAffordanceMLLM/ReConV2/segmentation/logger.py:41
↓ 2 callersFunctionget_logger
Initialize and get a logger by name. If the logger has not been initialized, this method will initialize the logger by adding one or two handl
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/logger.py:29
↓ 2 callersMethodget_loss
( self, input_lhand, input_rhand, refined_obj, targ_lhand, targ_rhand, obj_verts_
Affordance-DrivenHOIDiffusion/lib/networks/refiner.py:68
↓ 2 callersMethodget_mean_logvar
(self, encoded, dim)
Affordance-DrivenHOIDiffusion/lib/networks/cvae.py:20
↓ 2 callersFunctionget_missing_parameters_message
Get a logging-friendly message to report parameter names (keys) that are in the model but not found in a checkpoint. Args: keys (
HOIAffordanceMLLM/ReConV2/utils/checkpoint.py:12
↓ 2 callersFunctionget_model_list
()
HOIAffordanceMLLM/llava/serve/gradio_web_server.py:38
↓ 2 callersFunctionget_object_hand_info
( object_model, clip_model, text, obj_root, data_config, mpnet=None, )
Affordance-DrivenHOIDiffusion/lib/utils/eval.py:120
↓ 2 callersFunctionget_pairs
Return set of symbol pairs in a word. Word is represented as tuple of symbols (symbols being variable-length strings).
HOIAffordanceMLLM/llava/model/Uni3D/utils/tokenizer.py:40
↓ 2 callersFunctionget_penet_hand_obj_loss
(hand_verts, hand_normal, obj_pc, valid_mask_hand)
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:230
↓ 2 callersFunctionget_penetration_loss
( pred_X0_lhand, pred_X0_rhand, pred_X0_obj, lhand_layer, rhand_layer, obj_pc_org, valid_mask_lh
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:202
↓ 2 callersFunctionget_pytorch3d_meshes
(pred_X0_hand, hand_layer)
Affordance-DrivenHOIDiffusion/lib/utils/proc_output.py:128
↓ 2 callersMethodget_queue_length
(self)
HOIAffordanceMLLM/llava/serve/model_worker.py:108
↓ 2 callersFunctionget_relative_orientation_loss
( pred_lhand, pred_rhand, pred_obj, targ_lhand, targ_rhand, targ_obj, mask_lhand, ma
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:121
↓ 2 callersMethodget_status
(self)
HOIAffordanceMLLM/llava/serve/model_worker.py:115
↓ 2 callersFunctionget_unexpected_parameters_message
Get a logging-friendly message to report parameter names (keys) that are in the checkpoint but not found in the model. Args: keys
HOIAffordanceMLLM/ReConV2/utils/checkpoint.py:29
↓ 2 callersFunctionget_valid_mask_bunch
(is_lhand, is_rhand, max_nframes, duration)
Affordance-DrivenHOIDiffusion/lib/utils/eval.py:200
↓ 2 callersFunctionget_which_hands_inter
(lcf_idx, rcf_idx)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:178
↓ 2 callersMethodget_worker_address
(self, model_name: str)
HOIAffordanceMLLM/llava/serve/controller.py:120
↓ 2 callersFunctiongpt_get_score
(question, question_type, answer_model, answer_label, model="gpt-3.5-turbo")
HOIAffordanceMLLM/llava/eval/gpt_eval.py:10
↓ 2 callersMethodinitialize_lisa_modules
(self, config)
HOIAffordanceMLLM/llava/model/language_model/affordancellm.py:679
↓ 2 callersMethodinitialize_vision_tokenizer
(self, model_args, tokenizer)
HOIAffordanceMLLM/llava/model/llava_arch.py:255
↓ 2 callersFunctionis_dist_avail_and_initialized
()
HOIAffordanceMLLM/llava/model/Uni3D/utils/utils.py:65
↓ 2 callersFunctionis_dist_avail_and_initialized
()
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/utils.py:65
↓ 2 callersFunctionis_main_process
()
HOIAffordanceMLLM/llava/model/Uni3D/utils/utils.py:85
↓ 2 callersFunctionis_main_process
()
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/utils.py:85
↓ 2 callersFunctionjoint_contact_loss_unit
(pred, targ, mask=None, weight=None, loss_type="l2")
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:56
↓ 2 callersFunctionknn_point
Input: nsample: max sample number in local region xyz: all points, [B, N, C] new_xyz: query points, [B, S, C] Return:
HOIAffordanceMLLM/ReConV2/utils/knn.py:26
↓ 2 callersMethodlist_models
(self)
HOIAffordanceMLLM/llava/serve/controller.py:112
↓ 2 callersMethodload_from_checkpoint
(self, path)
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:132
↓ 2 callersMethodload_model_from_ckpt
(self, ckpt_path, log=True)
HOIAffordanceMLLM/ReConV2/models/ReCon.py:473
↓ 2 callersFunctionmake_model_result_folder
(root, train_type)
Affordance-DrivenHOIDiffusion/lib/utils/file.py:17
↓ 2 callersMethodmask_cond
(self, cond, force_mask=False)
Affordance-DrivenHOIDiffusion/lib/networks/texthom.py:79
↓ 2 callersMethodmodel_parallel
(self)
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:114
↓ 2 callersFunctionnnsearch
HOIAffordanceMLLM/ReConV2/extensions/chamfer_distance/chamfer_distance.cpp:59
↓ 2 callersFunctionparse_args
()
HOIAffordanceMLLM/ReConV2/segmentation/main.py:51
↓ 2 callersFunctionpc_normalize
(pc)
HOIAffordanceMLLM/ReConV2/segmentation/pointnet_util.py:15
↓ 2 callersMethodprepare_inputs_labels_for_multimodal
( self, input_ids, attention_mask, past_key_values, labels, points )
HOIAffordanceMLLM/llava/model/llava_arch.py:107
↓ 2 callersMethodprint_results
(self)
HOIAffordanceMLLM/llava/eval/evaluator.py:318
↓ 2 callersMethodprint_results
(self)
HOIAffordanceMLLM/llava/eval/evaluator.py:587
↓ 2 callersMethodprint_results
(self)
HOIAffordanceMLLM/llava/eval/evaluator.py:813
↓ 2 callersFunctionproc_obj_feat_final_train
(cov_map, obj_scale, obj_cent, obj_feat, use_obj_scale_centroid, use_contact_feat)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:370
↓ 2 callersFunctionproc_results
( x_lhand, x_rhand, x_obj, obj_verts, lhand_layer, rhand_layer, is_lhand, is_rhand, dataset
Affordance-DrivenHOIDiffusion/lib/utils/eval.py:26
↓ 2 callersFunctionprocess_hand_keypoints
(hand_poses, hand_betas, hand_trans, hand_layer)
Affordance-DrivenHOIDiffusion/lib/utils/proc_arctic.py:34
↓ 2 callersFunctionprocess_hand_pose_h2o
(hand_pose, hand_trans, extrinsic_matrix)
Affordance-DrivenHOIDiffusion/lib/utils/proc_h2o.py:40
↓ 2 callersFunctionprocess_hand_trans_h2o
(hand_pose, hand_beta, hand_trans, extrinsic_matrix, hand_layer)
Affordance-DrivenHOIDiffusion/lib/utils/proc_h2o.py:48
↓ 2 callersFunctionprocess_obj_result
(obj_verts, obj_params, dataset_name, obj_top_idx=None)
Affordance-DrivenHOIDiffusion/lib/utils/data.py:30
↓ 2 callersMethodproess_data
(self, d)
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:258
↓ 2 callersFunctionquaternion_raw_multiply
Source: https://github.com/facebookresearch/pytorch3d/blob/main/pytorch3d/transforms/rotation_conversions.py Multiply two quaternions.
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:348
↓ 2 callersFunctionquery_ball_point
Input: radius: local region radius nsample: max sample number in local region xyz: all points, [B, N, 3] new_xyz:
HOIAffordanceMLLM/ReConV2/segmentation/pointnet_util.py:76
↓ 2 callersFunctionquery_ball_point
Input: radius: local region radius nsample: max sample number in local region xyz: all points, [B, N, 3] new_xyz:
HOIAffordanceMLLM/ReConV2/segmentation/models/pointnet2_utils.py:84
↓ 2 callersFunctionquery_ball_point
Input: radius: local region radius nsample: max sample number in local region xyz: all points, [B, N, 3] new_xyz:
HOIAffordanceMLLM/llava/model/language_model/affordancellm.py:164
↓ 2 callersFunctionrandom_scale_point_cloud
Randomly scale the point cloud. Scale is per point cloud. Input: BxNx3 array, original batch of point clouds Return:
HOIAffordanceMLLM/llava/model/Uni3D/data/datasets.py:88
↓ 2 callersFunctionrandom_seed
(seed=42, rank=0)
HOIAffordanceMLLM/llava/model/Uni3D/main.py:33
↓ 2 callersFunctionrank0_print
(*args)
HOIAffordanceMLLM/llava/train/train.py:142
↓ 2 callersFunctionrank0_print
(*args)
HOIAffordanceMLLM/llava/train/inference.py:127
← previousnext →201–300 of 1,412, ranked by callers