MCPcopy Create free account

hub / github.com/YunzeMan/Situation3D / functions

Functions1,152 in github.com/YunzeMan/Situation3D

Functionshear_y_func
(img, factor, fill=(0, 0, 0))
3DLLM_BLIP2-base/lavis/processors/randaugment.py:190
MethodshowQA
Display the specified annotations. :param anns (array of object): annotations to display :return: None
3DLLM_BLIP2-base/lavis/common/vqa_tools/vqa.py:141
Methodshow_n_params
(self, return_str=True)
3DLLM_BLIP2-base/lavis/models/base_model.py:99
Methodsize2class
Convert 3D box size (l,w,h) to size class and size residual
assets/data/scannet/model_util_scannet.py:142
Methodskeleton_to_depth
(self, p)
lib/projection.py:24
Functionsmoothl1_loss
(error, delta=1.0)
lib/loss.py:6
Functionsolarize_func
same output as PIL.ImageOps.posterize
3DLLM_BLIP2-base/lavis/processors/randaugment.py:87
Methodstep
(self, epoch=None)
situation3d/utils/lr_scheduler.py:32
Methodstep
(self, cur_epoch, cur_step)
3DLLM_BLIP2-base/lavis/common/optims.py:60
Functionstep_learning_rate
Sets the learning rate to the base LR decayed by 10 every step epochs
situation3d/utils/segmentation_util.py:267
Methodsynchronize_between_processes
Warning: does not synchronize the deque!
3DLLM_BLIP2-base/lavis/common/logger.py:37
Methodtest_splits
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:295
Functionthree_interpolate
lib/pointnet2/_ext_src/src/interpolate.cpp:42
Functionthree_interpolate_grad
lib/pointnet2/_ext_src/src/interpolate.cpp:71
Functionthree_nn
lib/pointnet2/_ext_src/src/interpolate.cpp:14
Functiontile
(x, dim, n_tile)
3DLLM_BLIP2-base/lavis/models/base_model.py:223
Functionto_google_drive_download_url
Utility function to transform a view URL of google drive to a download URL for google drive Example input: https://drive.google.c
3DLLM_BLIP2-base/lavis/common/utils.py:93
Functionto_tensor
Convert tensor data type from uint8 to float, divide value by 255.0 and permute the dimensions of clip tensor Args: clip (torch.t
3DLLM_BLIP2-base/lavis/processors/functional_video.py:72
Functiontokens_score
(ref: str,pred: str)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dllm.py:239
Functiontokens_score
(ref: str,pred: str)
3DLLM_BLIP2-base/calculate_scores/calculate_score_sqa3d.py:239
Functiontokens_score
(ref: str,pred: str)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dmvvqa.py:239
Functiontokens_score
(ref: str,pred: str)
3DLLM_BLIP2-base/calculate_scores/calculate_score_scanqa.py:239
Functiontokens_unigram_f_value
(ref: str,pred: str)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dllm.py:231
Functiontokens_unigram_f_value
(ref: str,pred: str)
3DLLM_BLIP2-base/calculate_scores/calculate_score_sqa3d.py:231
Functiontokens_unigram_f_value
(ref: str,pred: str)
3DLLM_BLIP2-base/calculate_scores/calculate_score_3dmvvqa.py:231
Functiontokens_unigram_f_value
(ref: str,pred: str)
3DLLM_BLIP2-base/calculate_scores/calculate_score_scanqa.py:231
Methodtrain_epoch
( self, epoch, model, data_loader, optimizer, lr_scheduler,
3DLLM_BLIP2-base/lavis/tasks/base_task.py:98
Methodtrain_iters
( self, epoch, start_iters, iters_per_inner_epoch, model, data
3DLLM_BLIP2-base/lavis/tasks/base_task.py:123
Methodtrain_loader
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:325
Methodtrain_splits
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:301
Functiontranslate_x_func
same output as PIL.Image.transform
3DLLM_BLIP2-base/lavis/processors/randaugment.py:162
Functiontranslate_y_func
same output as PIL.Image.transform
3DLLM_BLIP2-base/lavis/processors/randaugment.py:172
Methodunregister
r"""Remove an item from registry with key 'name' Args: name: Key which needs to be removed. Usage:: from mmf
3DLLM_BLIP2-base/lavis/common/registry.py:290
Methodunshape
reshape
3DLLM_BLIP2-base/lavis/models/blip2_models/modeling_t5.py:480
Methoduse_dist_eval_sampler
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:317
Methoduse_distributed
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:76
Methodvalid_splits
(self)
3DLLM_BLIP2-base/lavis/runners/runner_base.py:286
Methodvalid_step
(self, model, samples)
3DLLM_BLIP2-base/lavis/tasks/multimodal_classification.py:24
Methodvalid_step
(self, model, samples)
3DLLM_BLIP2-base/lavis/tasks/dialogue.py:51
Methodvalid_step
(self, model, samples)
3DLLM_BLIP2-base/lavis/tasks/vqa_reading_comprehension.py:61
Methodvalid_step
(self, model, samples)
3DLLM_BLIP2-base/lavis/tasks/vqa_reading_comprehension.py:158
Methodvalid_step
(self, model, samples)
3DLLM_BLIP2-base/lavis/tasks/vqa.py:92
Methodvalid_step
(self, model, samples)
3DLLM_BLIP2-base/lavis/tasks/captioning.py:47
Functionvisualize_labels
(u_index, labels, palette, out_name, loc='lower left', ncol=7)
situation3d/utils/segmentation_util.py:340
Methodvoxelize
(self, coords, feats, labels, center=None, link=None, return_ind=False)
lib/openscene/voxelizer_dev.py:35
Methodwrap
(builder_cls)
3DLLM_BLIP2-base/lavis/common/registry.py:34
Functionwrapper
(*args, **kwargs)
3DLLM_BLIP2-base/lavis/common/dist_utils.py:105
Functionwrite_bbox
Export scene bbox to meshes Args: scene_bbox: (N x 6 numpy array): xyz pos of center and 3 lengths out_filename: (string) filename
situation3d/utils/pc_utils.py:354
Functionwrite_oriented_bbox_camera_coord
Export oriented (around Y axis) scene bbox to meshes Args: scene_bbox: (N x 7 numpy array): xyz pos of center and 3 lengths (dx,dy,dz)
situation3d/utils/pc_utils.py:423
Functionwrite_ply
input: Nx3, write points to filename as PLY format.
situation3d/utils/pc_utils.py:191
Functionwrite_ply_color
Color (N,3) points with labels (N) within range 0 ~ num_classes-1 as OBJ file
situation3d/utils/pc_utils.py:198
Functionwrite_ply_rgb
Color (N,3) points with RGB colors (N,3) within range [0,255] as OBJ file
situation3d/utils/pc_utils.py:219
← previous1,101–1,152 of 1,152, ranked by callers