MCPcopy Create free account

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

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

↓ 2 callersMethodregister_to_controller
(self)
HOIAffordanceMLLM/llava/serve/model_worker.py:75
↓ 2 callersMethodregister_worker
(self, worker_name: str, check_heart_beat: bool, worker_status: dict)
HOIAffordanceMLLM/llava/serve/controller.py:69
↓ 2 callersMethodremove_worker
(self, worker_name: str)
HOIAffordanceMLLM/llava/serve/controller.py:101
↓ 2 callersFunctionrender_videos
( renderer, lhand_verts, lhand_faces, rhand_verts, rhand_faces, obj_verts_tf, obj_faces
Affordance-DrivenHOIDiffusion/lib/utils/visualize.py:111
↓ 2 callersMethodreparameterize
(self, mu, logvar)
Affordance-DrivenHOIDiffusion/lib/networks/cvae.py:15
↓ 2 callersMethodresume_processing
(self)
HOIAffordanceMLLM/llava/eval/evaluator.py:140
↓ 2 callersMethodresume_processing
(self)
HOIAffordanceMLLM/llava/eval/evaluator.py:365
↓ 2 callersMethodresume_processing
(self)
HOIAffordanceMLLM/llava/eval/evaluator.py:616
↓ 2 callersFunctionrms_norm
(x, weight=None, eps=1e-05)
HOIAffordanceMLLM/llava/model/language_model/mpt/norm.py:27
↓ 2 callersFunctionrot6d_to_axis_angle
(rot6d)
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:44
↓ 2 callersFunctionrotate_perturbation_point_cloud
Randomly perturb the point clouds by small rotations Input: BxNx3 array, original batch of point clouds Return: B
HOIAffordanceMLLM/llava/model/Uni3D/data/datasets.py:127
↓ 2 callersFunctionrotate_point_cloud
Randomly rotate the point clouds to augument the dataset rotation is per shape based along up direction Input: BxNx3 array,
HOIAffordanceMLLM/llava/model/Uni3D/data/datasets.py:59
↓ 2 callersFunctionsave_video
(frames, fps, save_path)
Affordance-DrivenHOIDiffusion/lib/utils/file.py:91
↓ 2 callersFunctionsearch_hand
(clip_model, mpnet, text_feat_clip, text_feat_mpnet)
Affordance-DrivenHOIDiffusion/lib/utils/eval.py:265
↓ 2 callersFunctionsearch_hand
(clip_model, mpnet, text_feat_clip, text_feat_mpnet)
Affordance-DrivenHOIDiffusion/lib/utils/demo_utils.py:292
↓ 2 callersFunctionselect_from_groups
(data, num_groups=15, test=False)
Affordance-DrivenHOIDiffusion/lib/utils/proc_output.py:14
↓ 2 callersMethodsend_heart_beat
(self)
HOIAffordanceMLLM/llava/serve/model_worker.py:87
↓ 2 callersFunctionshift_point_cloud
Randomly shift point cloud. Shift is per point cloud. Input: BxNx3 array, original batch of point clouds Return:
HOIAffordanceMLLM/llava/model/Uni3D/data/datasets.py:101
↓ 2 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/models/pointnet2_utils.py:19
↓ 2 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/llava/model/language_model/affordancellm.py:96
↓ 2 callersMethodsynchronize
(self)
HOIAffordanceMLLM/llava/model/Uni3D/main.py:683
↓ 2 callersFunctionthing2dev
(thing, dev)
Affordance-DrivenHOIDiffusion/lib/utils/thing.py:3
↓ 2 callersFunctionto_categorical
1-hot encodes a tensor
HOIAffordanceMLLM/ReConV2/segmentation/main.py:43
↓ 2 callersFunctiontrain
()
HOIAffordanceMLLM/llava/train/train.py:677
↓ 2 callersMethodtrain_one_epoch
(self, epoch)
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:176
↓ 2 callersMethodval
(self, idx=None)
HOIAffordanceMLLM/ReConV2/utils/AverageMeter.py:24
↓ 2 callersFunctionvalidate
(val_loader, model_engine, epoch, writer, args)
HOIAffordanceMLLM/train_ds.py:512
↓ 2 callersFunctionvalidate
(logger, num_part, classifier, testDataLoader, num_classes)
HOIAffordanceMLLM/ReConV2/segmentation/main.py:268
↓ 1 callersFunctionSIM
(map1, map2, eps=1e-12)
HOIAffordanceMLLM/llava/train/train.py:1337
↓ 1 callersMethod__init__
(self, config, **kwargs)
HOIAffordanceMLLM/ReConV2/datasets/ScanObjectNNDataset.py:13
↓ 1 callersMethod__init__
(self, config: LlamaConfig)
HOIAffordanceMLLM/llava/model/language_model/llava_llama.py:37
↓ 1 callersMethod__init__
(self, config: MPTConfig)
HOIAffordanceMLLM/llava/model/language_model/llava_mpt.py:37
↓ 1 callersMethod__init__
(self, d_model: int, expansion_ratio: int, device: Optional[str]=None)
HOIAffordanceMLLM/llava/model/language_model/mpt/blocks.py:10
↓ 1 callersMethod__init__
(self, config: MPTConfig)
HOIAffordanceMLLM/llava/model/language_model/mpt/modeling_mpt.py:35
↓ 1 callersMethod__init__
(self, d_model: int, n_heads: int, attn_impl: str='triton', clip_qkv: Optional[float]=None, qk_ln: bool=False,
HOIAffordanceMLLM/llava/model/language_model/mpt/attention.py:158
↓ 1 callersMethod__init__
(self, inputs, output_dir, output_file, model_type="gpt-3.5-turbo-0613")
HOIAffordanceMLLM/llava/eval/evaluator.py:340
↓ 1 callersMethod__init__
(self, name, fmt=":f", summary_type=Summary.AVERAGE)
HOIAffordanceMLLM/llava/train/train.py:82
↓ 1 callersMethod__init__
(self, name, fmt=":f", summary_type=Summary.AVERAGE)
HOIAffordanceMLLM/llava/train/inference.py:67
↓ 1 callersMethod__len__
(self)
Affordance-DrivenHOIDiffusion/lib/datasets/grab.py:59
↓ 1 callersMethod__len__
(self)
Affordance-DrivenHOIDiffusion/lib/datasets/h2o.py:59
↓ 1 callersMethod__len__
(self)
Affordance-DrivenHOIDiffusion/lib/datasets/arctic.py:59
↓ 1 callersMethod__len__
(self)
Affordance-DrivenHOIDiffusion/lib/datasets/arctic.py:127
↓ 1 callersMethod_add_children
Add children for a registry. The ``registry`` will be added as children based on its scope. The parent registry could build objects fr
HOIAffordanceMLLM/ReConV2/utils/registry.py:150
↓ 1 callersMethod_add_children
Add children for a registry. The ``registry`` will be added as children based on its scope. The parent registry could build objects fr
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/registry.py:149
↓ 1 callersMethod_apply_prefix_mask
(self, attn_bias: torch.Tensor, prefix_mask: torch.Tensor)
HOIAffordanceMLLM/llava/model/language_model/mpt/modeling_mpt.py:119
↓ 1 callersMethod_apply_sequence_id
(self, attn_bias: torch.Tensor, sequence_id: torch.LongTensor)
HOIAffordanceMLLM/llava/model/language_model/mpt/modeling_mpt.py:134
↓ 1 callersMethod_attn_bias
(self, device, dtype, attention_mask: Optional[torch.ByteTensor]=None, prefix_mask: Optional[torch.ByteTensor]
HOIAffordanceMLLM/llava/model/language_model/mpt/modeling_mpt.py:88
↓ 1 callersFunction_convert_bloom_causal_lm_to_prefix_lm
Converts a BLOOM Causal LM to a Prefix LM. Supported HuggingFace model classes: - `BloomForCausalLM` See `convert_hf_causal_lm_to_pr
HOIAffordanceMLLM/llava/model/language_model/mpt/hf_prefixlm_converter.py:113
↓ 1 callersFunction_convert_gpt_causal_lm_to_prefix_lm
Converts a GPT-style Causal LM to a Prefix LM. Supported HuggingFace model classes: - `GPT2LMHeadModel` - `GPTNeoForCausalLM`
HOIAffordanceMLLM/llava/model/language_model/mpt/hf_prefixlm_converter.py:29
↓ 1 callersFunction_convert_opt_causal_lm_to_prefix_lm
Converts an OPT Causal LM to a Prefix LM. Supported HuggingFace model classes: - `OPTForCausalLM` See `convert_hf_causal_lm_to_prefi
HOIAffordanceMLLM/llava/model/language_model/mpt/hf_prefixlm_converter.py:269
↓ 1 callersMethod_get_batch_fmtstr
(self, num_batches)
HOIAffordanceMLLM/utils/utils.py:147
↓ 1 callersMethod_get_batch_fmtstr
(self, num_batches)
HOIAffordanceMLLM/llava/model/Uni3D/main.py:687
↓ 1 callersMethod_get_batch_fmtstr
(self, num_batches)
HOIAffordanceMLLM/llava/train/train.py:64
↓ 1 callersMethod_get_batch_fmtstr
(self, num_batches)
HOIAffordanceMLLM/llava/train/inference.py:49
↓ 1 callersMethod_get_item
(self, index)
HOIAffordanceMLLM/ReConV2/datasets/ModelNetDataset.py:126
↓ 1 callersMethod_get_item
(self, index)
HOIAffordanceMLLM/ReConV2/segmentation/dataset.py:37
↓ 1 callersMethod_get_item
(self, index)
HOIAffordanceMLLM/llava/eval/data/modelnet.py:73
↓ 1 callersMethod_load_objaverse_point_cloud
(self, object_id)
HOIAffordanceMLLM/llava/eval/data/object_point_dataset.py:143
↓ 1 callersMethod_load_point_cloud
(self, object_id, type='objaverse')
HOIAffordanceMLLM/llava/eval/data/object_point_dataset.py:139
↓ 1 callersMethod_mask_center_rand
center : B G 3 -------------- mask : B G (bool)
HOIAffordanceMLLM/ReConV2/models/ReCon.py:118
↓ 1 callersFunction_normal_init_
(std, mean=0.0)
HOIAffordanceMLLM/llava/model/language_model/mpt/param_init_fns.py:121
↓ 1 callersMethod_read_bin
(cls, file_path)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/io.py:47
↓ 1 callersMethod_read_h5
(cls, file_path)
HOIAffordanceMLLM/ReConV2/datasets/io.py:35
↓ 1 callersMethod_read_h5
(cls, file_path)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/io.py:42
↓ 1 callersMethod_read_npy
(cls, file_path)
HOIAffordanceMLLM/ReConV2/datasets/io.py:23
↓ 1 callersMethod_read_npy
(cls, file_path)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/io.py:26
↓ 1 callersMethod_read_npz
(cls, file_path)
HOIAffordanceMLLM/ReConV2/datasets/io.py:27
↓ 1 callersMethod_read_pcd
(cls, file_path)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/io.py:32
↓ 1 callersMethod_read_txt
(cls, file_path)
HOIAffordanceMLLM/ReConV2/datasets/io.py:31
↓ 1 callersMethod_read_txt
(cls, file_path)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/io.py:38
↓ 1 callersMethod_sanity_check
(self, angles, global_orient, transl, query_names, fwd_template)
Affordance-DrivenHOIDiffusion/lib/models/object_arctic.py:141
↓ 1 callersFunctionaccuracy
Computes the accuracy over the k top predictions for the specified values of k
HOIAffordanceMLLM/llava/model/Uni3D/main.py:693
↓ 1 callersFunctionadapt_tokenizer_for_denoising
Adds sentinel tokens and padding token (if missing). Expands the tokenizer vocabulary to include sentinel tokens used in mixture-of-denoiser
HOIAffordanceMLLM/llava/model/language_model/mpt/adapt_tokenizer.py:6
↓ 1 callersFunctionadd_argument
(config, parser, parent_key=None)
Affordance-DrivenHOIDiffusion/lib/utils/file.py:36
↓ 1 callersFunctionadd_weight_decay
(model, weight_decay=1e-5, skip_list=())
HOIAffordanceMLLM/ReConV2/segmentation/main.py:148
↓ 1 callersFunctionapply_delta
(base_model_path, target_model_path, delta_path)
HOIAffordanceMLLM/llava/model/apply_delta.py:13
↓ 1 callersFunctionassign_learning_rate
(optimizer, new_lr)
HOIAffordanceMLLM/llava/model/Uni3D/utils/scheduler.py:4
↓ 1 callersFunctionattn_bias_shape
(attn_impl, n_heads, seq_len, alibi, prefix_lm, causal, use_sequence_id)
HOIAffordanceMLLM/llava/model/language_model/mpt/attention.py:258
↓ 1 callersMethodavg
(self, idx=None)
HOIAffordanceMLLM/ReConV2/utils/AverageMeter.py:36
↓ 1 callersFunctionaxis_angle_to_rot6d
(axis_angle)
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:37
↓ 1 callersFunctionbasic_clean
(text)
HOIAffordanceMLLM/llava/model/Uni3D/utils/tokenizer.py:52
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t =
Affordance-DrivenHOIDiffusion/lib/networks/diffusion.py:18
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t =
Affordance-DrivenHOIDiffusion/lib/networks/diffusion copy.py:14
↓ 1 callersMethodbetter_than
(self, other)
HOIAffordanceMLLM/ReConV2/tools/runner_finetune.py:24
↓ 1 callersMethodbpe
(self, token)
HOIAffordanceMLLM/llava/model/Uni3D/utils/tokenizer.py:82
↓ 1 callersMethodbuild
(self, *args, **kwargs)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/registry.py:146
↓ 1 callersMethodbuild_3d_dataset
(self, args, config)
HOIAffordanceMLLM/llava/model/Uni3D/data/datasets.py:698
↓ 1 callersFunctionbuild_alibi_bias
(n_heads, seq_len, full=False, alibi_bias_max=8, device=None, dtype=None)
HOIAffordanceMLLM/llava/model/language_model/mpt/attention.py:292
↓ 1 callersFunctionbuild_attn_bias
(attn_impl, attn_bias, n_heads, seq_len, causal=False, alibi=False, alibi_bias_max=8)
HOIAffordanceMLLM/llava/model/language_model/mpt/attention.py:272
↓ 1 callersFunctionbuild_dataset_from_cfg
Build a dataset, defined by `dataset_name`. Args: cfg (eDICT): Returns: Dataset: a constructed dataset specified by data
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/build.py:6
↓ 1 callersFunctionbuild_demo
(embed_mode)
HOIAffordanceMLLM/llava/serve/gradio_web_server.py:308
↓ 1 callersFunctionbuild_lambda_bnsche
(model, config)
HOIAffordanceMLLM/ReConV2/utils/misc.py:36
↓ 1 callersFunctionbuild_lambda_sche
(opti, config)
HOIAffordanceMLLM/ReConV2/utils/misc.py:27
↓ 1 callersFunctionbuild_model_from_cfg
Build a dataset, defined by `dataset_name`. Args: cfg (eDICT): Returns: Dataset: a constructed dataset specified by data
HOIAffordanceMLLM/ReConV2/models/build.py:7
↓ 1 callersFunctionbuild_mpnet
(args)
Affordance-DrivenHOIDiffusion/lib/utils/model_utils.py:21
↓ 1 callersFunctioncalculate_intersection
(bbox1, bbox2)
HOIAffordanceMLLM/llava/eval/eval_gapartnet.py:19
↓ 1 callersFunctioncfg_from_yaml_file
(cfg_file)
HOIAffordanceMLLM/llava/model/Uni3D/data/datasets.py:668
↓ 1 callersFunctioncfg_from_yaml_file
(cfg_file)
HOIAffordanceMLLM/llava/eval/data/utils.py:270
↓ 1 callersMethodcheck_model_type
(self)
HOIAffordanceMLLM/llava/eval/evaluator.py:135
↓ 1 callersMethodchildren
(self)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/registry.py:120
← previousnext →301–400 of 1,412, ranked by callers