MCPcopy Create free account

hub / github.com/YunzeMan/Situation3D / functions

Functions1,152 in github.com/YunzeMan/Situation3D

Methodbackward
r""" Parameters ---------- grad_out : torch.Tensor (B, C, npoint, nsample) tensor of the gradients of the output
lib/pointnet2/pointnet2_utils.py:235
Methodbackward
(ctx, a=None)
lib/pointnet2/pointnet2_utils.py:287
Functionbatch_matrix_function
(quats)
situation3d/utils/temp.py:42
Functionbatch_rotation_vector_to_matrix
(batch_rot_vec)
situation3d/models/sqa_module.py:33
Methodbefore_evaluation
(self, **kwargs)
3DLLM_BLIP2-base/lavis/models/base_model.py:96
Functionbox2d_iou
Compute 2D bounding box IoU. Input: box1: tuple of (xmin,ymin,xmax,ymax) box2: tuple of (xmin,ymin,xmax,ymax) Output:
situation3d/utils/box_util.py:242
Functionbox3d_iou_batch
Compute 3D bounding box IoU. Note: only for axis-aligned bounding boxes Input: corners1: numpy array (N,8,3), assume up directio
situation3d/utils/box_util.py:146
Functionbox3d_vol
corners: (8,3) no assumption on axis direction
situation3d/utils/box_util.py:75
Functionbrightness_func
same output as PIL.ImageEnhance.Contrast
3DLLM_BLIP2-base/lavis/processors/randaugment.py:125
Methodbuild
(self)
3DLLM_BLIP2-base/lavis/datasets/builders/video_qa_builder.py:18
Methodbuild
(self)
3DLLM_BLIP2-base/lavis/datasets/builders/image_text_pair_builder.py:56
Methodbuild
(self)
3DLLM_BLIP2-base/lavis/datasets/builders/imagefolder_builder.py:25
Methodbuild
(self, **kwargs)
3DLLM_BLIP2-base/lavis/processors/base_processor.py:23
Methodbuild_datasets
Build a dictionary of datasets, keyed by split 'train', 'valid', 'test'. Download dataset and annotations automatically if not exist.
3DLLM_BLIP2-base/lavis/tasks/base_task.py:35
Functioncache_url
This implementation downloads the remote resource and caches it locally. The resource will only be downloaded if not previously requested.
3DLLM_BLIP2-base/lavis/common/utils.py:234
Functioncenter_crop
(clip, crop_size)
3DLLM_BLIP2-base/lavis/processors/functional_video.py:59
Functioncleanup_dir
Utility for deleting a directory. Useful for cleaning the storage space that contains various training artifacts like checkpoints, data etc.
3DLLM_BLIP2-base/lavis/common/utils.py:398
Methodcollater
(self, samples)
3DLLM_BLIP2-base/lavis/datasets/datasets/base_dataset.py:46
Methodcollater
(self, samples)
3DLLM_BLIP2-base/lavis/datasets/datasets/vqa_datasets.py:10
Functioncollation_fn
:param batch: :return: coords: N x 4 (batch,x,y,z) feats: N x 3 labels: N colors: B x C x
lib/openscene/feature_loader.py:147
Functioncollation_fn
:param batch: :return: coords_batch: N x 4 (x,y,z,batch)
lib/openscene/point_loader.py:22
Functioncollation_fn_eval_all
:param batch: :return: coords: N x 4 (batch,x,y,z) feats: N x 3 labels: N colors: B x C x
lib/openscene/feature_loader.py:167
Functioncollation_fn_eval_all
:param batch: :return: coords_batch: N x 4 (x,y,z,batch)
lib/openscene/point_loader.py:36
Functioncolor_func
same output as PIL.ImageEnhance.Color
3DLLM_BLIP2-base/lavis/processors/randaugment.py:97
Methodcompute_metrics
Use accumulated predictions and groundtruths to compute Average Precision.
lib/ap_helper.py:254
Methodcompute_projection
Computes correspondances of points to pixels :param points: tensor containing all points of the point cloud (num_points, 3)
lib/projection.py:191
Functionconstruct_bbox_corners
(center, box_size)
lib/eval_helper.py:26
Functioncontrast_func
same output as PIL.ImageEnhance.Contrast
3DLLM_BLIP2-base/lavis/processors/randaugment.py:115
Functionconvert_labels_with_palette
Get image color palette for visualizing masks
situation3d/utils/segmentation_util.py:396
Functionconvex_hull_intersection
Compute area of two convex hull's intersection area. p1,p2 are a list of (x,y) tuples of hull vertices. return a list of (x,y) for th
situation3d/utils/box_util.py:63
Methodcopy_params
(self)
3DLLM_BLIP2-base/lavis/models/base_model.py:157
Methodcreate_custom_forward
(module)
3DLLM_BLIP2-base/lavis/models/med.py:507
Methodcreate_custom_forward
(module)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:472
Methodcreate_custom_forward
(module)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1043
Methodcreate_custom_forward
(module)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:686
Functioncreate_enet_for_3d
(num_2d_classes, model_path, num_3d_classes)
lib/enet.py:697
Functioncreate_file_symlink
Simply create the symlinks for a given file1 to file2. Useful during model checkpointing to symlinks to the latest successful checkpoint.
3DLLM_BLIP2-base/lavis/common/utils.py:253
Methodcuda_enabled
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:261
Methodcur_epoch
(self)
3DLLM_BLIP2-base/lavis/runners/runner_iter.py:57
Methodcustom_forward
(*inputs)
3DLLM_BLIP2-base/lavis/models/med.py:508
Methodcustom_forward
(*inputs)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:473
Methodcustom_forward
(*inputs)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1044
Methodcustom_forward
(*inputs)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:687
Functioncutout_func
(img, pad_size, replace=(0, 0, 0))
3DLLM_BLIP2-base/lavis/processors/randaugment.py:197
Functioncutout_level_to_args
(cutout_const, MAX_LEVEL, replace_value)
3DLLM_BLIP2-base/lavis/processors/randaugment.py:238
Methoddataloaders
A property to get and create dataloaders by split just in need. If no train_dataset_ratio is provided, concatenate map-style dataset
3DLLM_BLIP2-base/lavis/runners/runner_iter.py:184
Methoddataloaders
A property to get and create dataloaders by split just in need. If no train_dataset_ratio is provided, concatenate map-style dataset
3DLLM_BLIP2-base/lavis/runners/runner_base.py:174
Methoddatasets_cfg
(self)
3DLLM_BLIP2-base/lavis/common/config.py:140
Methoddeparallelize
(self)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1341
Methoddeparallelize
(self)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1539
Methoddeparallelize
(self)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1816
Methoddevice
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:69
Methoddevice
(self)
3DLLM_BLIP2-base/lavis/models/base_model.py:127
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
3DLLM_BLIP2-base/lavis/models/blip2_models/blip2.py:94
Methoddispl_item
(self, index)
3DLLM_BLIP2-base/lavis/datasets/datasets/threedvqa_datasets.py:22
Functiondownload_and_extract_archive
( url: str, download_root: str, extract_root: Optional[str] = None, filename: Optional[str] =
3DLLM_BLIP2-base/lavis/common/utils.py:213
Functiondownload_google_drive_url
Download a file from google drive Downloading an URL from google drive requires confirmation when the file of the size is too big (google
3DLLM_BLIP2-base/lavis/common/utils.py:108
Methoddummy_inputs
(self)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:771
Methodepoch
(self)
3DLLM_BLIP2-base/lavis/datasets/datasets/dataloader_utils.py:140
Functioneprint
(*args, **kwargs)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dllm.py:15
Functioneprint
(*args, **kwargs)
3DLLM_BLIP2-base/calculate_scores/calculate_score_sqa3d.py:15
Functioneprint
(*args, **kwargs)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dmvvqa.py:15
Functioneprint
(*args, **kwargs)
3DLLM_BLIP2-base/calculate_scores/calculate_score_scanqa.py:15
Functionequalize_func
same output as PIL.ImageOps.equalize PIL's implementation is different from cv2.equalize
3DLLM_BLIP2-base/lavis/processors/randaugment.py:52
Functioneval_det
Generic functions to compute precision/recall for object detection for multiple classes. Input: pred_all: map of {img_id:
situation3d/utils/eval_det.py:148
Functioneval_det_cls_wrapper
(arguments)
situation3d/utils/eval_det.py:143
Functionevaluate
(pred_ids, gt_ids, stdout=False, dataset='scannet_3d')
situation3d/utils/segmentation_util.py:85
Methodevaluate_only
Set to True to skip training.
3DLLM_BLIP2-base/lavis/runners/runner_base.py:310
Methodevaluation
(self, model, data_loader, **kwargs)
3DLLM_BLIP2-base/lavis/tasks/retrieval.py:32
Methodevaluation
(self, model, data_loader, cuda_enabled=True)
3DLLM_BLIP2-base/lavis/tasks/image_text_pretrain.py:17
Functionexport_mesh
(name, v, f, c=None)
situation3d/utils/segmentation_util.py:327
Functionexport_pointcloud
(name, points, colors=None, normals=None)
situation3d/utils/segmentation_util.py:310
Methodextra_repr
(self)
3DLLM_BLIP2-base/lavis/models/eva_vit.py:45
Functionextract_clip_img_feature_from_folder
extract CLIP image features from a folder of images.
situation3d/utils/segmentation_util.py:230
Methodextract_features
Extract features for multimodal or unimodal samples. Args: samples (dict): A dictionary of samples, containing the follow
3DLLM_BLIP2-base/lavis/models/blip2_models/blip2_qformer.py:331
Methodfeed_forward_chunk
(self, attention_output)
3DLLM_BLIP2-base/lavis/models/med.py:435
Methodfeed_forward_chunk
(self, attention_output)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:420
Methodfeed_forward_chunk_query
(self, attention_output)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:425
Functionflip_axis_to_camera
Flip X-right,Y-forward,Z-up to X-right,Y-down,Z-forward Input and output are both (N,3) array
lib/ap_helper.py:18
Functionflip_axis_to_depth
(pc)
lib/ap_helper.py:27
Functionfn
(m)
lib/pointnet2/pytorch_utils.py:264
MethodformatMessage
(self, record)
situation3d/utils/logger.py:15
Methodforward
(self, input, target)
situation3d/utils/segmentation_util.py:424
Methodforward
(self, data_dict)
situation3d/models/mink_unet.py:122
Methodforward
Forward method.
situation3d/models/mink_unet.py:308
Methodforward
encode the input descriptions
situation3d/models/sep_lang_module_bert.py:72
Methodforward
(self, x)
situation3d/models/mcan_sqa_module.py:33
Methodforward
(self, x)
situation3d/models/mcan_sqa_module.py:53
Methodforward
(self, x)
situation3d/models/mcan_sqa_module.py:65
Methodforward
(self, x, x_mask)
situation3d/models/mcan_sqa_module.py:92
Methodforward
(self, v, k, q, mask)
situation3d/models/mcan_sqa_module.py:128
Methodforward
(self, x)
situation3d/models/mcan_sqa_module.py:200
Methodforward
(self, x, x_mask)
situation3d/models/mcan_sqa_module.py:220
Methodforward
(self, x, y, x_mask, y_mask)
situation3d/models/mcan_sqa_module.py:252
Methodforward
(self, x, y, x_mask, y_mask)
situation3d/models/mcan_sqa_module.py:278
Methodforward
encode the input descriptions
situation3d/models/lang_module.py:75
Methodforward
(self, embeddings)
situation3d/models/sqa_module.py:100
Methodforward
(self, data_dict)
situation3d/models/sqa_module.py:281
Methodforward
(self, x)
situation3d/models/resnet_base.py:120
Methodforward
(self, inputs, targets)
lib/loss.py:20
← previousnext →701–800 of 1,152, ranked by callers