MCPcopy Create free account

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

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

Functionprint_text_data_num
()
Affordance-DrivenHOIDiffusion/preprocess/preprocessing_h2o.py:423
Functionproc_results
( x_lhand, x_rhand, x_obj, obj_verts, lhand_layer, rhand_layer, is_lhand, is_rhand, dat
Affordance-DrivenHOIDiffusion/lib/utils/demo_utils.py:26
Functionproc_results_kk
( x_lhand, x_rhand, x_obj, obj_verts, lhand_layer, rhand_layer, is_lhand, is_rhand, dat
Affordance-DrivenHOIDiffusion/lib/utils/demo_utils.py:49
Functionproc_rot_obj
( obj_verts, duration, rot_axis="y" )
Affordance-DrivenHOIDiffusion/lib/utils/visualize.py:10
Functionprocess_contact_frame_idx
(lcf_idx, rcf_idx)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:40
Functionprocess_contact_map
( dist_map, contact_frames )
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:31
Functionprocess_task
(i)
HOIAffordanceMLLM/llava/eval/eval_3dmmvet.py:28
Functionprocess_task
(i)
HOIAffordanceMLLM/llava/eval/eval_gapartnet.py:61
Methodpropagate
(point_index)
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:401
Methodput
(self, key, value)
HOIAffordanceMLLM/llava/eval/data/utils.py:45
Functionrandom_dropping
(pc, e)
HOIAffordanceMLLM/ReConV2/utils/misc.py:241
Functionrandom_dropping
(pc, e)
HOIAffordanceMLLM/ReConV2/segmentation/misc.py:242
Functionrandom_point_dropout
batch_pc: BxNx3
HOIAffordanceMLLM/ReConV2/utils/data.py:25
Functionrandom_point_dropout
batch_pc: BxNx3
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:241
Functionrandom_rotate_z
(pc)
HOIAffordanceMLLM/ReConV2/utils/data.py:4
Functionrandom_rotate_z
(pc)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/data.py:3
Methodrandom_sample
(self, pc, num)
HOIAffordanceMLLM/llava/model/Uni3D/data/datasets.py:343
Methodrandom_sample
(self, pc, num)
HOIAffordanceMLLM/llava/model/Uni3D/data/datasets.py:529
Functionrandom_scale
(partial, scale_range=[0.8, 1.2])
HOIAffordanceMLLM/ReConV2/utils/misc.py:251
Functionrandom_scale
(partial, scale_range=[0.8, 1.2])
HOIAffordanceMLLM/ReConV2/segmentation/misc.py:252
Functionrandom_scale_point_cloud
Randomly scale the point cloud. Scale is per point cloud. Input: BxNx3 array, original batch of point clouds Return:
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:228
Functionreceive_heart_beat
(request: Request)
HOIAffordanceMLLM/llava/serve/controller.py:269
Functionreduce_tensor
for acc kind, get the mean in each gpu
HOIAffordanceMLLM/ReConV2/utils/dist_utils.py:11
Functionrefresh_all_workers
()
HOIAffordanceMLLM/llava/serve/controller.py:251
Functionregenerate
(state, image_process_mode, request: gr.Request)
HOIAffordanceMLLM/llava/serve/gradio_web_server.py:113
Functionregister_empty_buffer
(module, name, buffer)
HOIAffordanceMLLM/llava/model/language_model/mpt/meta_init_context.py:67
Functionregister_empty_parameter
(module, name, param)
HOIAffordanceMLLM/llava/model/language_model/mpt/meta_init_context.py:60
Methodregister_module
Register a module. A record will be added to `self._module_dict`, whose key is the class name or the specified name, and value is the
HOIAffordanceMLLM/ReConV2/utils/registry.py:194
Methodregister_module
Register a module. A record will be added to `self._module_dict`, whose key is the class name or the specified name, and value is the
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/registry.py:193
Functionregister_worker
(request: Request)
HOIAffordanceMLLM/llava/serve/controller.py:243
Functionrelease_model_semaphore
(fn=None)
HOIAffordanceMLLM/llava/serve/model_worker.py:224
Methodrender_video
colors: T, N, 3 (tensor)
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:318
Methodrender_video
Renders a video from given vertex positions, faces, and colors. Args: verts_y_axis (tensor): Vertex positions for th
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:423
Functionrender_videos_hand
( renderer, lhand_verts, lhand_faces, rhand_verts, rhand_faces, obj_verts_tf, obj_faces
Affordance-DrivenHOIDiffusion/lib/utils/visualize.py:127
Methodrenderer_video_contact
(self, mesh)
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:215
Functionreplace_llama_attn_with_flash_attn
()
HOIAffordanceMLLM/llava/train/llama_flash_attn_monkey_patch.py:105
Functionreplace_llama_attn_with_xformers_attn
()
HOIAffordanceMLLM/llava/train/llama_xformer.py:19
Methodreset_access_count
(self, key)
HOIAffordanceMLLM/llava/eval/data/utils.py:58
Functionresume_model
(base_model, args, logger=None)
HOIAffordanceMLLM/ReConV2/tools/builder.py:110
Functionresume_optimizer
(optimizer, args, logger=None)
HOIAffordanceMLLM/ReConV2/tools/builder.py:137
Functionretry_with_exponential_backoff
Retry a function with exponential backoff.
HOIAffordanceMLLM/llava/eval/utils.py:7
Functionrotate_perturbation_point_cloud
Randomly perturb the point clouds by small rotations Input: BxNx3 array, original batch of point clouds Return: B
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:176
Functionrotate_perturbation_point_cloud_with_normal
Randomly perturb the point clouds by small rotations Input: BxNx6 array, original batch of point clouds and point normals R
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:106
Functionrotate_point_cloud
Randomly rotate the point clouds to augument the dataset rotation is per shape based along up direction Input: BxNx3 array,
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:46
Functionrotate_point_cloud_by_angle
Rotate the point cloud along up direction with certain angle. Input: BxNx3 array, original batch of point clouds Return:
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:133
Functionrotate_point_cloud_by_angle_with_normal
Rotate the point cloud along up direction with certain angle. Input: BxNx6 array, original batch of point clouds with normal
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:152
Functionrotate_point_cloud_with_normal
Randomly rotate XYZ, normal point cloud. Input: batch_xyz_normal: B,N,6, first three channels are XYZ, last 3 all normal
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:86
Functionrotate_point_cloud_z
Randomly rotate the point clouds to augument the dataset rotation is per shape based along up direction Input: BxNx3 array,
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:66
Functionrun_net
(args, config)
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:32
Functionrun_net
(args, config)
HOIAffordanceMLLM/ReConV2/tools/runner_finetune.py:36
Functionrun_net
(args, config, train_writer=None, val_writer=None)
HOIAffordanceMLLM/ReConV2/tools/runner_svm.py:43
Functionrun_net
(args, config)
HOIAffordanceMLLM/ReConV2/tools/runner_zeroshot.py:9
Functionsafe_save_model_for_hf_trainer
Collects the state dict and dump to disk.
HOIAffordanceMLLM/llava/train/train.py:286
Functionsafe_save_model_for_hf_trainer
Collects the state dict and dump to disk.
HOIAffordanceMLLM/llava/train/inference.py:271
Methodsampling
( self, model, obj_feat, enc_text, enc_none_text, max_nframes, hand_nfe
Affordance-DrivenHOIDiffusion/lib/networks/diffusion copy.py:217
Methodsampling_ddpm_loop_loss_guidance_contact_and_penetration
( self, model, obj_feat, enc_text, enc_none_text, max_nframes, hand_nfeats
Affordance-DrivenHOIDiffusion/lib/networks/diffusion.py:344
Methodsampling_loss_guidance
( self, model, obj_feat, enc_none_text, max_nframes, hand_nfeats, obj_n
Affordance-DrivenHOIDiffusion/lib/networks/diffusion copy.py:303
Functionsave_checkpoint
(base_model, optimizer, epoch, metrics, best_metrics, prefix, args, logger=None)
HOIAffordanceMLLM/ReConV2/tools/builder.py:149
Functionsave_mesh_obj
( vertices, faces, save_folder, )
Affordance-DrivenHOIDiffusion/lib/utils/file.py:108
Functionsave_on_master
(state, is_best, output_dir)
HOIAffordanceMLLM/llava/model/Uni3D/utils/utils.py:89
Functionsave_on_master
(state, is_best, output_dir)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/utils.py:89
Functionsave_on_master_tmp
(state, is_best, output_dir)
HOIAffordanceMLLM/llava/model/Uni3D/utils/utils.py:97
Functionsave_on_master_tmp
(state, is_best, output_dir)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/utils.py:97
Functionsave_pretrain_model
(base_model, optimizer, epoch, metrics, best_metrics, prefix, args, logger=None)
HOIAffordanceMLLM/ReConV2/tools/builder.py:162
Methodsave_video
(self, vertices, faces, mesh_kind, save_path)
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:198
Methodsave_video_contact
(self, mesh, save_path)
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:227
Methodsave_video_w_frame
(self, frames, save_path)
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:247
Functionscaled_all_reduce
Performs the scaled all_reduce operation on the provided tensors. The input tensors are modified in-place. Currently supports only the sum red
HOIAffordanceMLLM/llava/model/Uni3D/utils/utils.py:130
Functionscaled_all_reduce
Performs the scaled all_reduce operation on the provided tensors. The input tensors are modified in-place. Currently supports only the sum red
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/utils.py:130
Functionscaled_multihead_dot_product_attention
(query, key, value, n_heads, past_key_value=None, softmax_scale=None, attn_bias=None, key_padding_mask=None, i
HOIAffordanceMLLM/llava/model/language_model/mpt/attention.py:20
Methodscope
(self)
HOIAffordanceMLLM/ReConV2/utils/registry.py:113
Methodscope
(self)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/registry.py:112
Functionselect_from_groups
(data, num_groups=15)
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:513
Functionseprate_point_cloud
seprate point cloud: usage : using to generate the incomplete point cloud with a setted number.
HOIAffordanceMLLM/ReConV2/utils/misc.py:135
Functionseprate_point_cloud
seprate point cloud: usage : using to generate the incomplete point cloud with a setted number.
HOIAffordanceMLLM/ReConV2/segmentation/misc.py:136
Functionset_batch_size
(args, config)
HOIAffordanceMLLM/ReConV2/utils/dist_utils.py:28
Functionset_bn_momentum_default
(bn_momentum)
HOIAffordanceMLLM/ReConV2/utils/misc.py:94
Functionset_bn_momentum_default
(bn_momentum)
HOIAffordanceMLLM/ReConV2/segmentation/misc.py:95
Methodset_decoder
(self, decoder)
HOIAffordanceMLLM/llava/model/language_model/mpt/modeling_mpt.py:267
Methodset_input_embeddings
(self, value)
HOIAffordanceMLLM/llava/model/language_model/mpt/modeling_mpt.py:84
Methodset_input_embeddings
(self, value)
HOIAffordanceMLLM/llava/model/language_model/mpt/modeling_mpt.py:258
Methodset_output_embeddings
(self, new_embeddings)
HOIAffordanceMLLM/llava/model/language_model/mpt/modeling_mpt.py:264
Functionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
HOIAffordanceMLLM/ReConV2/utils/misc.py:45
Functionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
HOIAffordanceMLLM/ReConV2/segmentation/misc.py:46
Functionshift_point_cloud
Randomly shift point cloud. Shift is per point cloud. Input: BxNx3 array, original batch of point clouds Return:
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:214
Functionshuffle_data
Shuffle data and labels. Input: data: B,N,... numpy array label: B,... numpy array Return: shuffled dat
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:22
Functionshuffle_points
Shuffle orders of points in each point cloud -- changes FPS behavior. Use the same shuffling idx for the entire batch. Input:
HOIAffordanceMLLM/ReConV2/segmentation/provider.py:34
Functionsigmoid_ce_loss
Args: inputs: A float tensor of arbitrary shape. The predictions for each example. targets: A float tensor with t
HOIAffordanceMLLM/llava/model/language_model/affordancellm.py:608
Functionsmart_tokenizer_and_embedding_resize
Resize tokenizer and embedding. Note: This is the unoptimized version that may make your embedding size not be divisible by 64.
HOIAffordanceMLLM/llava/train/train.py:325
Functionsmart_tokenizer_and_embedding_resize
Resize tokenizer and embedding. Note: This is the unoptimized version that may make your embedding size not be divisible by 64.
HOIAffordanceMLLM/llava/train/inference.py:310
Methodstate_dict
(self)
HOIAffordanceMLLM/ReConV2/tools/runner_finetune.py:30
Functiontimeit
(tag, t)
HOIAffordanceMLLM/ReConV2/segmentation/pointnet_util.py:11
Functiontimeit
(tag, t)
HOIAffordanceMLLM/ReConV2/segmentation/models/pointnet2_utils.py:7
Functiontimeit
(tag, t)
HOIAffordanceMLLM/llava/model/language_model/affordancellm.py:84
Functiontorch_default_param_init_fn_
(module: nn.Module, verbose: int=0, **kwargs)
HOIAffordanceMLLM/llava/model/language_model/mpt/param_init_fns.py:10
Methodtrain_contrast
(self)
HOIAffordanceMLLM/ReConV2/tools/runner_pretrain.py:273
Functiontriton_flash_attn_fn
(query, key, value, n_heads, past_key_value=None, softmax_scale=None, attn_bias=None, key_padding_mask=None, i
HOIAffordanceMLLM/llava/model/language_model/mpt/attention.py:107
Functionupdate_config
(config)
Affordance-DrivenHOIDiffusion/lib/utils/file.py:34
Functionupvote_last_response
(state, model_selector, request: gr.Request)
HOIAffordanceMLLM/llava/serve/gradio_web_server.py:95
Functionvalidate_vote
(base_model, test_dataloader, epoch, args, config, logger=None, times=10)
HOIAffordanceMLLM/ReConV2/tools/runner_finetune.py:231
← previousnext →1,301–1,400 of 1,412, ranked by callers