MCPcopy Create free account

hub / github.com/YunzeMan/Situation3D / functions

Functions1,152 in github.com/YunzeMan/Situation3D

Functionopt_block_config
lib/pointnet2/_ext_src/include/cuda_utils.h:21
Methodoptimizer
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:100
Functionoverwrite_config
(args, past_args)
situation3d/utils/misc.py:38
Methodparallelize
(self, device_map=None)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1329
Methodparallelize
(self, device_map=None)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1526
Methodparallelize
(self, device_map=None)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1805
Methodparam2obb
(self, center, heading_class, heading_residual, size_class, size_residual)
assets/data/scannet/model_util_scannet.py:156
Methodparam2obb_batch
(self, center, heading_class, heading_residual, size_class, size_residual)
assets/data/scannet/model_util_scannet.py:165
Functionparse
(x)
3DLLM_BLIP2-base/lavis/models/clip_vit.py:213
Functionparse_groundtruths
Parse groundtruth labels to OBB parameters. Args: end_points: dict {center_label, heading_class_label, heading_residual_
lib/ap_helper.py:180
Functionparse_predictions
Parse predictions to OBB parameters and suppress overlapping boxes Args: end_points: dict {point_clouds, center, heading
lib/ap_helper.py:40
Functionpoint_cloud_to_image_batch
Input is BxNx3 a batch of point cloud Output is BxIxIxnum_samplex3 Added on Feb 19
situation3d/utils/pc_utils.py:134
Functionpoint_cloud_to_volume_batch
Input is BxNx3 batch of point cloud Output is Bx(vsize^3)
situation3d/utils/pc_utils.py:39
Functionpoint_cloud_to_volume_v2_batch
Input is BxNx3 a batch of point cloud Output is BxVxVxVxnum_samplex3 Added on Feb 19
situation3d/utils/pc_utils.py:85
Methodpoints_in_frustum_cpu
Checks whether new_pts ly in the frustum defined by the coordinates of the corners coner_coords :param corner_coords: torch tensor o
lib/projection.py:157
Functionpoly_area
Ref: http://stackoverflow.com/questions/24467972/calculate-area-of-polygon-given-x-y-coordinates
situation3d/utils/box_util.py:54
Functionpoly_area_batch
Ref: http://stackoverflow.com/questions/24467972/calculate-area-of-polygon-given-x-y-coordinates
situation3d/utils/box_util.py:58
Functionpoly_learning_rate
poly learning rate policy
situation3d/utils/segmentation_util.py:273
Functionposterize_func
same output as PIL.ImageOps.posterize
3DLLM_BLIP2-base/lavis/processors/randaugment.py:182
Functionprecompute_text_related_properties
pre-compute text features, labelset, palette, and mapper.
situation3d/utils/segmentation_util.py:148
Methodpredict_answers
( self, samples, num_beams=5, inference_method="generate", use_nucleus
3DLLM_BLIP2-base/lavis/models/blip2_models/blip2_opt.py:248
Methodprepare_decoder_input_ids_from_labels
(self, labels: torch.Tensor)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1751
Methodprepare_inputs_for_generation
(self, input_ids, attention_mask=None, **model_kwargs)
3DLLM_BLIP2-base/lavis/models/med.py:995
Methodprepare_inputs_for_generation
(self, input_ids, past=None, attention_mask=None, **model_kwargs)
3DLLM_BLIP2-base/lavis/models/med.py:1146
Methodprepare_inputs_for_generation
(self, input_ids, query_embeds, past=None, attention_mask=None, **model_kwargs)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:998
Methodprepare_inputs_for_generation
( self, input_ids, past=None, attention_mask=None, head_mask=None,
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1724
Methodprepare_inputs_for_generation
( self, input_ids=None, query_embeds=None, past=None, attention_mask=N
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:980
Methodprint_help
(self)
3DLLM_BLIP2-base/lavis/common/config.py:258
FunctionprocessDigitArticle
(inText)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dllm.py:206
FunctionprocessDigitArticle
(inText)
3DLLM_BLIP2-base/calculate_scores/calculate_score_sqa3d.py:206
FunctionprocessDigitArticle
(inText)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dmvvqa.py:206
FunctionprocessDigitArticle
(inText)
3DLLM_BLIP2-base/calculate_scores/calculate_score_scanqa.py:206
FunctionprocessPunctuation
(inText)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dllm.py:194
FunctionprocessPunctuation
(inText)
3DLLM_BLIP2-base/calculate_scores/calculate_score_sqa3d.py:194
FunctionprocessPunctuation
(inText)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dmvvqa.py:194
FunctionprocessPunctuation
(inText)
3DLLM_BLIP2-base/calculate_scores/calculate_score_scanqa.py:194
Methodproject
forward pass of backprojection for 2d features onto 3d points :param label: image features (shape: (num_input_channels, proj_image_d
lib/projection.py:259
Methodproject
projects hidden states correctly to key/query states
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:484
Functionpyplot_draw_volume
vol is of size vsize*vsize*vsize output an image to output_filename
situation3d/utils/pc_utils.py:242
Functionqclass1
(question)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dllm.py:307
Functionqclass1
(question)
3DLLM_BLIP2-base/calculate_scores/calculate_score_scanqa.py:307
Functionquaternions_to_rotation_matrices
(quaternions)
situation3d/models/sqa_module.py:12
Functionread_label_mapping
(filename, label_from='raw_category', label_to='nyu40id')
assets/data/scannet/scannet_utils.py:56
Functionread_mesh_vertices
read XYZ for each vertex.
assets/data/scannet/scannet_utils.py:67
Functionread_mesh_vertices_rgb
read XYZ RGB for each vertex. Note: RGB values are in 0-255
assets/data/scannet/scannet_utils.py:80
Functionread_mesh_vertices_rgb_normal
read XYZ RGB normals point cloud from filename PLY file
assets/data/scannet/scannet_utils.py:97
Functionread_ply
read XYZ point cloud from filename PLY file
situation3d/utils/pc_utils.py:183
Methodregister_builder
r"""Register a dataset builder to registry with key 'name' Args: name: Key with which the builder will be registered. Us
3DLLM_BLIP2-base/lavis/common/registry.py:22
Methodregister_lr_scheduler
r"""Register a model to registry with key 'name' Args: name: Key with which the task will be registered. Usage:
3DLLM_BLIP2-base/lavis/common/registry.py:125
Methodregister_model
r"""Register a task to registry with key 'name' Args: name: Key with which the task will be registered. Usage:
3DLLM_BLIP2-base/lavis/common/registry.py:75
Methodregister_processor
r"""Register a processor to registry with key 'name' Args: name: Key with which the task will be registered. Usage:
3DLLM_BLIP2-base/lavis/common/registry.py:100
Methodregister_runner
r"""Register a model to registry with key 'name' Args: name: Key with which the task will be registered. Usage:
3DLLM_BLIP2-base/lavis/common/registry.py:147
Methodregister_task
r"""Register a task to registry with key 'name' Args: name: Key with which the task will be registered. Usage:
3DLLM_BLIP2-base/lavis/common/registry.py:50
Methodrescale
(param, layer_id)
3DLLM_BLIP2-base/lavis/models/eva_vit.py:366
Methodreset_classifier
(self, num_classes, global_pool="")
3DLLM_BLIP2-base/lavis/models/eva_vit.py:385
Functionresized_crop
Do spatial cropping and resizing to the video clip Args: clip (torch.tensor): Video clip to be cropped. Size is (C, T, H, W)
3DLLM_BLIP2-base/lavis/processors/functional_video.py:39
Methodresume_ckpt_path
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:321
Functionrotate_aligned_boxes
(input_boxes, rot_mat)
assets/data/scannet/model_util_scannet.py:24
Functionrotate_aligned_boxes_along_axis
(input_boxes, rot_mat, axis)
assets/data/scannet/model_util_scannet.py:47
Functionrotate_func
like PIL, rotate by degree, not radians
3DLLM_BLIP2-base/lavis/processors/randaugment.py:76
Functionrotate_pc_along_y
Input ps is NxC points with first 3 channels as XYZ z is facing forward, x is left ward, y is downward
situation3d/utils/pc_utils.py:265
Functionrotate_point_cloud
Input: (n,3), Output: (n,3)
situation3d/utils/pc_utils.py:252
Functionroty_batch
Rotation about the y-axis. t: (x1,x2,...xn) return: (x1,x2,...,xn,3,3)
situation3d/utils/pc_utils.py:291
Methodrun_cfg
(self)
3DLLM_BLIP2-base/lavis/common/config.py:136
Functionsa_create
Create share memory.
lib/openscene/point_loader.py:13
Methodsave_attn_gradients
(self, attn_gradients)
3DLLM_BLIP2-base/lavis/models/vit.py:76
Methodsave_attn_gradients
(self, attn_gradients)
3DLLM_BLIP2-base/lavis/models/med.py:143
Methodsave_attn_gradients
(self, attn_gradients)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:130
Functionsave_checkpoint
(state, is_best, sav_path, filename='model_last.pth.tar')
situation3d/utils/segmentation_util.py:180
Functionsave_file
Common i/o utility to handle saving data to various file formats. Supported: .pkl, .pickle, .npy, .json Specifically for .json, u
3DLLM_BLIP2-base/lavis/common/utils.py:267
Functionsave_frames_grid
(img_array, out_path)
3DLLM_BLIP2-base/lavis/datasets/data_utils.py:244
Methodscaler
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:132
Functionset_bn_momentum_default
(bn_momentum)
lib/pointnet2/pytorch_utils.py:262
Methodset_decoder
(self, decoder)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:837
Methodset_input_embeddings
(self, value)
3DLLM_BLIP2-base/lavis/models/med.py:674
Methodset_input_embeddings
(self, value)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:639
Methodset_input_embeddings
(self, new_embeddings)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1353
Methodset_input_embeddings
(self, new_embeddings)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1552
Methodset_input_embeddings
(self, new_embeddings)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1826
Methodset_input_embeddings
(self, value)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:526
Methodset_input_embeddings
(self, value)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:753
Methodset_input_embeddings
(self, value)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:828
Methodset_output_embeddings
(self, new_embeddings)
3DLLM_BLIP2-base/lavis/models/med.py:918
Methodset_output_embeddings
(self, new_embeddings)
3DLLM_BLIP2-base/lavis/models/med.py:1031
Methodset_output_embeddings
(self, new_embeddings)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:887
Methodset_output_embeddings
(self, new_embeddings)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:1041
Methodset_output_embeddings
(self, new_embeddings)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1557
Methodset_output_embeddings
(self, new_embeddings)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:834
Methodset_processors
(self, vis_processor, text_processor)
3DLLM_BLIP2-base/lavis/datasets/datasets/base_dataset.py:33
Functionset_seed
(seed, n_gpu)
situation3d/utils/misc.py:7
Functionsetup_logger
Initialize the detectron2 logger and set its verbosity level to "INFO". Args: output (str): a file name or a directory to save log. I
situation3d/utils/logger.py:29
Functionsetup_task
(cfg)
3DLLM_BLIP2-base/lavis/tasks/__init__.py:21
Methodsetup_task
(cls, cfg)
3DLLM_BLIP2-base/lavis/tasks/retrieval.py:27
Methodsetup_task
(cls, cfg)
3DLLM_BLIP2-base/lavis/tasks/dialogue.py:33
Methodsetup_task
(cls, cfg)
3DLLM_BLIP2-base/lavis/tasks/vqa_reading_comprehension.py:39
Methodsetup_task
(cls, **kwargs)
3DLLM_BLIP2-base/lavis/tasks/base_task.py:26
Methodsetup_task
(cls, cfg)
3DLLM_BLIP2-base/lavis/tasks/captioning.py:29
Methodshape
projection
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:476
Functionsharpness_func
The differences the this result and PIL are all on the 4 boundaries, the center areas are same
3DLLM_BLIP2-base/lavis/processors/randaugment.py:134
Functionshear_x_func
(img, factor, fill=(0, 0, 0))
3DLLM_BLIP2-base/lavis/processors/randaugment.py:155
← previousnext →1,001–1,100 of 1,152, ranked by callers