MCPcopy Create free account

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

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

↓ 1 callersMethodprint_results
(self)
HOIAffordanceMLLM/llava/eval/traditional_evaluator.py:151
↓ 1 callersFunctionproc_obj_feat_cov
( contact_estimator, obj_scale, obj_feat, enc_text, npts, use_scale, use_contact_feat,
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:282
↓ 1 callersFunctionproc_obj_feat_cov_old
( contact_estimator, obj_scale, obj_feat, enc_text, npts, use_scale, use_contact_feat,
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:302
↓ 1 callersFunctionproc_obj_feat_final_old
( contact_estimator, obj_scale, obj_cent, obj_feat, enc_text, npts, use_obj_scale_centr
Affordance-DrivenHOIDiffusion/lib/utils/proc.py:346
↓ 1 callersFunctionprocess_object
(obj_angle, obj_rot, obj_trans, obj_name, object_model)
Affordance-DrivenHOIDiffusion/lib/utils/proc_arctic.py:47
↓ 1 callersFunctionprocesse_params
(hand_data_path, obj_data_path)
Affordance-DrivenHOIDiffusion/lib/utils/data.py:53
↓ 1 callersMethodpropagate_colors
Propagates colors to adjacent vertices in the mesh. Args: points (array): List of vertex coordinates.
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:378
↓ 1 callersMethodput_colors
(self, mesh, mesh_idx)
Affordance-DrivenHOIDiffusion/lib/utils/renderer.py:272
↓ 1 callersFunctionquaternion_invert
Source: https://github.com/facebookresearch/pytorch3d/blob/main/pytorch3d/transforms/rotation_conversions.py Given a quaternion representin
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:394
↓ 1 callersFunctionquaternion_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert quaternion vector to angle axis of rotation. Adapted from
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:146
↓ 1 callersFunctionquaternion_to_rotation_matrix
Convert quaternion coefficients to rotation matrix. Args: quat: size = [B, 4] 4 <===>(w, x, y, z) Returns: Rotation matrix
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:58
↓ 1 callersFunctionrandom_point_dropout
batch_pc: BxNx3
HOIAffordanceMLLM/llava/model/Uni3D/data/datasets.py:79
↓ 1 callersFunctionrandom_point_dropout
batch_pc: BxNx3
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/data.py:20
↓ 1 callersFunctionrandom_sample
(pc, num)
HOIAffordanceMLLM/llava/mm_utils.py:142
↓ 1 callersMethodrandom_sample
(self, pc, num)
HOIAffordanceMLLM/ReConV2/datasets/HybridDataset.py:55
↓ 1 callersMethodrandom_sample
(self, pc, num)
HOIAffordanceMLLM/ReConV2/datasets/HybridDataset.py:152
↓ 1 callersMethodrandom_sample
(self, pc, num)
HOIAffordanceMLLM/ReConV2/datasets/ShapeNet55Dataset.py:84
↓ 1 callersMethodrandom_sample
(self, pc, num)
HOIAffordanceMLLM/ReConV2/datasets/Cap3D.py:49
↓ 1 callersFunctionrandom_scale_point_cloud
(data, scale_low=0.8, scale_high=1.25)
HOIAffordanceMLLM/ReConV2/utils/data.py:35
↓ 1 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/utils/data.py:29
↓ 1 callersMethodread_file
(self, path, number_dict=None)
HOIAffordanceMLLM/llava/train/aff_rea_dataset.py:303
↓ 1 callersFunctionread_pkl
(pkl_file)
Affordance-DrivenHOIDiffusion/lib/utils/file.py:66
↓ 1 callersMethodread_single_img
(self, view_index, index)
HOIAffordanceMLLM/ReConV2/datasets/HybridDataset.py:61
↓ 1 callersMethodread_single_img
(self, sample, view_index)
HOIAffordanceMLLM/ReConV2/datasets/ShapeNet55Dataset.py:89
↓ 1 callersMethodread_single_img
(self, view_index, index)
HOIAffordanceMLLM/ReConV2/datasets/Cap3D.py:54
↓ 1 callersFunctionread_text_file
(file_path)
HOIAffordanceMLLM/llava/train/aff_rea_dataset.py:60
↓ 1 callersFunctionreal_proj
(pc, imsize=256)
HOIAffordanceMLLM/ReConV2/generate_depth_map.py:24
↓ 1 callersMethodreceive_heart_beat
(self, worker_name: str, queue_length: int)
HOIAffordanceMLLM/llava/serve/controller.py:173
↓ 1 callersMethodrefresh_all_workers
(self)
HOIAffordanceMLLM/llava/serve/controller.py:104
↓ 1 callersFunctionrelative_rotation_matrix
(R1, R2)
Affordance-DrivenHOIDiffusion/lib/utils/loss.py:197
↓ 1 callersMethodremove_stable_workers_by_expiration
(self)
HOIAffordanceMLLM/llava/serve/controller.py:183
↓ 1 callersFunctionrender_motion
( renderer, obj_verts_tf, obj_faces, lhand_vertices, lhand_faces, is_lhand, rhand_verti
Affordance-DrivenHOIDiffusion/lib/utils/visualize.py:34
↓ 1 callersFunctionrender_motion_hand
( renderer, obj_verts_tf, obj_faces, lhand_vertices, lhand_faces, is_lhand, rhand_verti
Affordance-DrivenHOIDiffusion/lib/utils/visualize.py:65
↓ 1 callersMethodreset
(self)
HOIAffordanceMLLM/ReConV2/utils/AverageMeter.py:8
↓ 1 callersMethodreset
(self)
HOIAffordanceMLLM/llava/model/Uni3D/main.py:643
↓ 1 callersMethodreset
(self)
HOIAffordanceMLLM/llava/train/inference.py:73
↓ 1 callersMethodreset
(self)
Affordance-DrivenHOIDiffusion/lib/utils/metric.py:5
↓ 1 callersFunctionrewrite_to_high_level
(sentence: str, model: str = "gpt-4o")
DataProcess/high_level_instructions.py:4
↓ 1 callersFunctionrotate_perturbation_point_cloud
Randomly perturb the point clouds by small rotations Input: BxNx3 array, original batch of point clouds Return: B
HOIAffordanceMLLM/ReConV2/utils/data.py:56
↓ 1 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/utils/data.py:55
↓ 1 callersFunctionrotate_point_cloud
Randomly rotate the point clouds to augument the dataset rotation is per shape based along up direction Input: BxNx3 array,
HOIAffordanceMLLM/ReConV2/utils/data.py:81
↓ 1 callersFunctionrotation_matrix_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to Rodrigues vector Args: rot
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:112
↓ 1 callersFunctionrotation_matrix_to_quaternion
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to 4d quaternion vector This algorithm
Affordance-DrivenHOIDiffusion/lib/utils/rot.py:202
↓ 1 callersFunctionsample_and_group
Input: npoint: radius: nsample: xyz: input points position data, [B, N, 3] points: input points data, [B,
HOIAffordanceMLLM/ReConV2/segmentation/pointnet_util.py:99
↓ 1 callersFunctionsample_and_group
Input: npoint: radius: nsample: xyz: input points position data, [B, N, 3] points: input points data, [B,
HOIAffordanceMLLM/ReConV2/segmentation/models/pointnet2_utils.py:107
↓ 1 callersFunctionsample_and_group
Input: npoint: radius: nsample: xyz: input points position data, [B, N, 3] points: input points data, [B,
HOIAffordanceMLLM/llava/model/language_model/affordancellm.py:187
↓ 1 callersFunctionsample_and_group_all
Input: xyz: input points position data, [B, N, 3] points: input points data, [B, N, D] Return: new_xyz: sampled point
HOIAffordanceMLLM/ReConV2/segmentation/pointnet_util.py:139
↓ 1 callersFunctionsample_and_group_all
Input: xyz: input points position data, [B, N, 3] points: input points data, [B, N, D] Return: new_xyz: sampled point
HOIAffordanceMLLM/ReConV2/segmentation/models/pointnet2_utils.py:138
↓ 1 callersFunctionsample_and_group_all
Input: xyz: input points position data, [B, N, 3] points: input points data, [B, N, D] Return: new_xyz: sampled point
HOIAffordanceMLLM/llava/model/language_model/affordancellm.py:218
↓ 1 callersFunctionsample_frame_index
(frame_indices, window_size, window_step)
Affordance-DrivenHOIDiffusion/lib/utils/frame.py:73
↓ 1 callersMethodsampling_loss_guidance
( self, model, obj_feat, enc_none_text, max_nframes, hand_nfeats, obj_n
Affordance-DrivenHOIDiffusion/lib/networks/diffusion.py:307
↓ 1 callersMethodsampling_projection
( self, model, obj_feat, enc_none_text, max_nframes, hand_nfeats, obj_n
Affordance-DrivenHOIDiffusion/lib/networks/diffusion copy.py:434
↓ 1 callersFunctionsave_experiment_config
(args, config, logger=None)
HOIAffordanceMLLM/ReConV2/utils/config.py:66
↓ 1 callersFunctionsave_experiment_config
(args, config, logger = None)
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/config.py:60
↓ 1 callersMethodsave_results
(self)
HOIAffordanceMLLM/llava/eval/traditional_evaluator.py:138
↓ 1 callersFunctionsearch_object
( clip_model, mpnet, text_feat_clip, text_feat_mpnet, data_config )
Affordance-DrivenHOIDiffusion/lib/utils/eval.py:218
↓ 1 callersFunctionsearch_object
( clip_model, mpnet, text_feat_clip, text_feat_mpnet, data_config )
Affordance-DrivenHOIDiffusion/lib/utils/demo_utils.py:245
↓ 1 callersFunctionsearch_object_shape_e
( clip_model, mpnet, text_feat_clip, text_feat_mpnet, obj_names, )
Affordance-DrivenHOIDiffusion/lib/utils/eval.py:246
↓ 1 callersFunctionsearch_object_shape_e
( clip_model, mpnet, text_feat_clip, text_feat_mpnet, obj_names, )
Affordance-DrivenHOIDiffusion/lib/utils/demo_utils.py:273
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
HOIAffordanceMLLM/llava/model/Uni3D/utils/utils.py:50
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/utils.py:50
↓ 1 callersFunctionsetup_logging
(log_file, level, include_host=False)
HOIAffordanceMLLM/llava/model/Uni3D/utils/logger.py:4
↓ 1 callersFunctionsetup_openai
(model_name)
HOIAffordanceMLLM/llava/eval/utils.py:69
↓ 1 callersFunctionshift_point_cloud
Randomly shift point cloud. Shift is per point cloud. Input: BxNx3 array, original batch of point clouds Return:
HOIAffordanceMLLM/ReConV2/utils/data.py:42
↓ 1 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/utils/data.py:42
↓ 1 callersMethodsimplied_morton_sorting
Simplifying the Morton code sorting to iterate and set the nearest patch to the last patch as the next patch, we found this to be more effici
HOIAffordanceMLLM/ReConV2/models/transformer.py:171
↓ 1 callersFunctionsmall_param_init_fn_
(module: nn.Module, n_layers: int, d_model: int, init_div_is_residual: Union[int, float, str, bool]=True, emb_
HOIAffordanceMLLM/llava/model/language_model/mpt/param_init_fns.py:137
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
HOIAffordanceMLLM/llava/eval/model_vqa.py:16
↓ 1 callersMethodsplit_scope_key
Split scope and key. The first scope will be split from key. Examples: >>> Registry.split_scope_key('mmdet.ResNet')
HOIAffordanceMLLM/ReConV2/utils/registry.py:90
↓ 1 callersMethodsplit_scope_key
Split scope and key. The first scope will be split from key. Examples: >>> Registry.split_scope_key('mmdet.ResNet')
HOIAffordanceMLLM/llava/model/Uni3D/data/utils/registry.py:89
↓ 1 callersFunctionsplit_to_even_chunks
Split a list of indices into `chunks` chunks of roughly equal lengths.
HOIAffordanceMLLM/llava/train/llava_trainer.py:38
↓ 1 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/utils/knn.py:4
↓ 1 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/knn.py:4
↓ 1 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/Uni3D/models/point_encoder.py:30
↓ 1 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/traditional_evaluator.py:158
↓ 1 callersFunctionstart_generation
(model, tokenizer, conv, dataloader, annos, prompt_index, output_dir, output_file)
HOIAffordanceMLLM/llava/eval/eval_objaverse.py:79
↓ 1 callersFunctionstart_generation
(model, tokenizer, conv, dataloader, prompt_index, output_dir, output_file)
HOIAffordanceMLLM/llava/eval/eval_modelnet_cls.py:72
↓ 1 callersMethodsummary
(self)
HOIAffordanceMLLM/utils/utils.py:100
↓ 1 callersMethodsummary
(self)
HOIAffordanceMLLM/llava/train/train.py:127
↓ 1 callersMethodsummary
(self)
HOIAffordanceMLLM/llava/train/inference.py:112
↓ 1 callersFunctiontest
(base_model, test_dataloader, args, config, logger=None)
HOIAffordanceMLLM/ReConV2/tools/runner_finetune.py:319
↓ 1 callersFunctiontest_net
(args, config)
HOIAffordanceMLLM/ReConV2/tools/runner_finetune.py:303
↓ 1 callersFunctiontest_vote
(base_model, test_dataloader, epoch, args, config, logger=None, times=10)
HOIAffordanceMLLM/ReConV2/tools/runner_finetune.py:366
↓ 1 callersFunctiontest_zeroshot_3d
(args, model, clip_model)
HOIAffordanceMLLM/llava/model/Uni3D/main.py:603
↓ 1 callersFunctiontokenize
(raw_text, device="cuda")
Affordance-DrivenHOIDiffusion/lib/networks/clip.py:30
↓ 1 callersFunctiontrain
Main training loop.
HOIAffordanceMLLM/train_ds.py:392
↓ 1 callersFunctiontrain
(train_loader, clip_model, model, criterion, optimizer, scaler, scheduler, epoch, args)
HOIAffordanceMLLM/llava/model/Uni3D/main.py:377
↓ 1 callersFunctiontrain
()
HOIAffordanceMLLM/llava/train/inference.py:816
↓ 1 callersFunctiontrain_epoch
Main training loop.
HOIAffordanceMLLM/llava/train/train.py:1191
↓ 1 callersFunctiontransform_train
(resize_size=256, crop_size=224)
HOIAffordanceMLLM/ReConV2/utils/transforms.py:59
↓ 1 callersFunctionvalidate
(base_model, test_dataloader, epoch, args, config, best_metrics, logger=None)
HOIAffordanceMLLM/ReConV2/tools/runner_finetune.py:192
↓ 1 callersFunctionvalidate
(val_loader, model_engine, epoch, writer,length)
HOIAffordanceMLLM/llava/train/train.py:1269
↓ 1 callersFunctionvalidate
(val_loader, model_engine, epoch, writer,length)
HOIAffordanceMLLM/llava/train/inference.py:786
↓ 1 callersFunctionviolates_moderation
Check whether the text violates OpenAI moderation API.
HOIAffordanceMLLM/llava/utils.py:102
↓ 1 callersFunctionwandb_login
( config, config_model, project_name=None, model_name=None, relogin=True )
Affordance-DrivenHOIDiffusion/lib/utils/file.py:71
↓ 1 callersFunctionwarmup_cosine_lr
(optimizer, args, steps)
HOIAffordanceMLLM/llava/model/Uni3D/utils/scheduler.py:25
↓ 1 callersFunctionwhitespace_clean
(text)
HOIAffordanceMLLM/llava/model/Uni3D/utils/tokenizer.py:58
↓ 1 callersMethodworker_api_generate_stream
(self, params)
HOIAffordanceMLLM/llava/serve/controller.py:193
↓ 1 callersMethodworker_api_get_status
(self)
HOIAffordanceMLLM/llava/serve/controller.py:220
FunctionAutoContrast
(img, **kwarg)
HOIAffordanceMLLM/ReConV2/utils/randaugment.py:16
← previousnext →601–700 of 1,412, ranked by callers