Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YunzeMan/Situation3D
/ functions
Functions
1,152 in github.com/YunzeMan/Situation3D
⨍
Functions
1,152
◇
Types & classes
257
↳
Endpoints
2
Method
backward
r""" Parameters ---------- grad_out : torch.Tensor (B, C, npoint, nsample) tensor of the gradients of the output
lib/pointnet2/pointnet2_utils.py:235
Method
backward
(ctx, a=None)
lib/pointnet2/pointnet2_utils.py:287
Function
batch_matrix_function
(quats)
situation3d/utils/temp.py:42
Function
batch_rotation_vector_to_matrix
(batch_rot_vec)
situation3d/models/sqa_module.py:33
Method
before_evaluation
(self, **kwargs)
3DLLM_BLIP2-base/lavis/models/base_model.py:96
Function
box2d_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
Function
box3d_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
Function
box3d_vol
corners: (8,3) no assumption on axis direction
situation3d/utils/box_util.py:75
Function
brightness_func
same output as PIL.ImageEnhance.Contrast
3DLLM_BLIP2-base/lavis/processors/randaugment.py:125
Method
build
(self)
3DLLM_BLIP2-base/lavis/datasets/builders/video_qa_builder.py:18
Method
build
(self)
3DLLM_BLIP2-base/lavis/datasets/builders/image_text_pair_builder.py:56
Method
build
(self)
3DLLM_BLIP2-base/lavis/datasets/builders/imagefolder_builder.py:25
Method
build
(self, **kwargs)
3DLLM_BLIP2-base/lavis/processors/base_processor.py:23
Method
build_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
Function
cache_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
Function
center_crop
(clip, crop_size)
3DLLM_BLIP2-base/lavis/processors/functional_video.py:59
Function
cleanup_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
Method
collater
(self, samples)
3DLLM_BLIP2-base/lavis/datasets/datasets/base_dataset.py:46
Method
collater
(self, samples)
3DLLM_BLIP2-base/lavis/datasets/datasets/vqa_datasets.py:10
Function
collation_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
Function
collation_fn
:param batch: :return: coords_batch: N x 4 (x,y,z,batch)
lib/openscene/point_loader.py:22
Function
collation_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
Function
collation_fn_eval_all
:param batch: :return: coords_batch: N x 4 (x,y,z,batch)
lib/openscene/point_loader.py:36
Function
color_func
same output as PIL.ImageEnhance.Color
3DLLM_BLIP2-base/lavis/processors/randaugment.py:97
Method
compute_metrics
Use accumulated predictions and groundtruths to compute Average Precision.
lib/ap_helper.py:254
Method
compute_projection
Computes correspondances of points to pixels :param points: tensor containing all points of the point cloud (num_points, 3)
lib/projection.py:191
Function
construct_bbox_corners
(center, box_size)
lib/eval_helper.py:26
Function
contrast_func
same output as PIL.ImageEnhance.Contrast
3DLLM_BLIP2-base/lavis/processors/randaugment.py:115
Function
convert_labels_with_palette
Get image color palette for visualizing masks
situation3d/utils/segmentation_util.py:396
Function
convex_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
Method
copy_params
(self)
3DLLM_BLIP2-base/lavis/models/base_model.py:157
Method
create_custom_forward
(module)
3DLLM_BLIP2-base/lavis/models/med.py:507
Method
create_custom_forward
(module)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:472
Method
create_custom_forward
(module)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1043
Method
create_custom_forward
(module)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:686
Function
create_enet_for_3d
(num_2d_classes, model_path, num_3d_classes)
lib/enet.py:697
Function
create_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
Method
cuda_enabled
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:261
Method
cur_epoch
(self)
3DLLM_BLIP2-base/lavis/runners/runner_iter.py:57
Method
custom_forward
(*inputs)
3DLLM_BLIP2-base/lavis/models/med.py:508
Method
custom_forward
(*inputs)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:473
Method
custom_forward
(*inputs)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1044
Method
custom_forward
(*inputs)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_opt.py:687
Function
cutout_func
(img, pad_size, replace=(0, 0, 0))
3DLLM_BLIP2-base/lavis/processors/randaugment.py:197
Function
cutout_level_to_args
(cutout_const, MAX_LEVEL, replace_value)
3DLLM_BLIP2-base/lavis/processors/randaugment.py:238
Method
dataloaders
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
Method
dataloaders
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
Method
datasets_cfg
(self)
3DLLM_BLIP2-base/lavis/common/config.py:140
Method
deparallelize
(self)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1341
Method
deparallelize
(self)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1539
Method
deparallelize
(self)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:1816
Method
device
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:69
Method
device
(self)
3DLLM_BLIP2-base/lavis/models/base_model.py:127
Function
disabled_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
Method
displ_item
(self, index)
3DLLM_BLIP2-base/lavis/datasets/datasets/threedvqa_datasets.py:22
Function
download_and_extract_archive
( url: str, download_root: str, extract_root: Optional[str] = None, filename: Optional[str] =
3DLLM_BLIP2-base/lavis/common/utils.py:213
Function
download_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
Method
dummy_inputs
(self)
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:771
Method
epoch
(self)
3DLLM_BLIP2-base/lavis/datasets/datasets/dataloader_utils.py:140
Function
eprint
(*args, **kwargs)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dllm.py:15
Function
eprint
(*args, **kwargs)
3DLLM_BLIP2-base/calculate_scores/calculate_score_sqa3d.py:15
Function
eprint
(*args, **kwargs)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dmvvqa.py:15
Function
eprint
(*args, **kwargs)
3DLLM_BLIP2-base/calculate_scores/calculate_score_scanqa.py:15
Function
equalize_func
same output as PIL.ImageOps.equalize PIL's implementation is different from cv2.equalize
3DLLM_BLIP2-base/lavis/processors/randaugment.py:52
Function
eval_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
Function
eval_det_cls_wrapper
(arguments)
situation3d/utils/eval_det.py:143
Function
evaluate
(pred_ids, gt_ids, stdout=False, dataset='scannet_3d')
situation3d/utils/segmentation_util.py:85
Method
evaluate_only
Set to True to skip training.
3DLLM_BLIP2-base/lavis/runners/runner_base.py:310
Method
evaluation
(self, model, data_loader, **kwargs)
3DLLM_BLIP2-base/lavis/tasks/retrieval.py:32
Method
evaluation
(self, model, data_loader, cuda_enabled=True)
3DLLM_BLIP2-base/lavis/tasks/image_text_pretrain.py:17
Function
export_mesh
(name, v, f, c=None)
situation3d/utils/segmentation_util.py:327
Function
export_pointcloud
(name, points, colors=None, normals=None)
situation3d/utils/segmentation_util.py:310
Method
extra_repr
(self)
3DLLM_BLIP2-base/lavis/models/eva_vit.py:45
Function
extract_clip_img_feature_from_folder
extract CLIP image features from a folder of images.
situation3d/utils/segmentation_util.py:230
Method
extract_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
Method
feed_forward_chunk
(self, attention_output)
3DLLM_BLIP2-base/lavis/models/med.py:435
Method
feed_forward_chunk
(self, attention_output)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:420
Method
feed_forward_chunk_query
(self, attention_output)
3DLLM_BLIP2-base/lavis/models/blip2_models/Qformer.py:425
Function
flip_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
Function
flip_axis_to_depth
(pc)
lib/ap_helper.py:27
Function
fn
(m)
lib/pointnet2/pytorch_utils.py:264
Method
formatMessage
(self, record)
situation3d/utils/logger.py:15
Method
forward
(self, input, target)
situation3d/utils/segmentation_util.py:424
Method
forward
(self, data_dict)
situation3d/models/mink_unet.py:122
Method
forward
Forward method.
situation3d/models/mink_unet.py:308
Method
forward
encode the input descriptions
situation3d/models/sep_lang_module_bert.py:72
Method
forward
(self, x)
situation3d/models/mcan_sqa_module.py:33
Method
forward
(self, x)
situation3d/models/mcan_sqa_module.py:53
Method
forward
(self, x)
situation3d/models/mcan_sqa_module.py:65
Method
forward
(self, x, x_mask)
situation3d/models/mcan_sqa_module.py:92
Method
forward
(self, v, k, q, mask)
situation3d/models/mcan_sqa_module.py:128
Method
forward
(self, x)
situation3d/models/mcan_sqa_module.py:200
Method
forward
(self, x, x_mask)
situation3d/models/mcan_sqa_module.py:220
Method
forward
(self, x, y, x_mask, y_mask)
situation3d/models/mcan_sqa_module.py:252
Method
forward
(self, x, y, x_mask, y_mask)
situation3d/models/mcan_sqa_module.py:278
Method
forward
encode the input descriptions
situation3d/models/lang_module.py:75
Method
forward
(self, embeddings)
situation3d/models/sqa_module.py:100
Method
forward
(self, data_dict)
situation3d/models/sqa_module.py:281
Method
forward
(self, x)
situation3d/models/resnet_base.py:120
Method
forward
(self, inputs, targets)
lib/loss.py:20
← previous
next →
701–800 of 1,152, ranked by callers