MCPcopy Create free account

hub / github.com/Lizhuoling/UniMODE / functions

Functions454 in github.com/Lizhuoling/UniMODE

Functiondraw_bev
(canvas_bev, z3d, l3d, w3d, x3d, ry3d, color=(0, 200, 200), scale=1, thickness=2)
model/vis/vis.py:27
Functiondraw_circle
(im, pos, radius=5, thickness=1, color=(250, 100, 100), fill=True)
model/vis/vis.py:558
Functiondraw_scene_view
Draws a scene from multiple different modes. Args: im (array): the image to draw onto K (array): the 3x3 matrix for projecti
model/vis/vis.py:212
Functiondraw_transparent_square
(im, pos, alpha=1, radius=5, color=(250, 100, 100))
model/vis/vis.py:689
Functionestimate_truncation
(K, box3d, R, imW, imH)
model/util/math_util.py:746
Functionestimate_visibility
(K, box3d, pose, width, height, device=None)
model/util/math_util.py:729
Functioneuler2mat
(euler)
model/util/math_util.py:87
Functioneva02_base_patch14_xattn_fusedLN_NaiveSwiGLU_subln_RoPE
(pretrained=False, **kwargs)
model/modeling/backbone/eva.py:756
Functioneva02_large_patch14_xattn_fusedLN_NaiveSwiGLU_subln_RoPE
(pretrained=False, **kwargs)
model/modeling/backbone/eva.py:785
Functioneva02_small_patch14_xattn_fusedLN_SwiGLU_preln_RoPE
(pretrained=False, **kwargs)
model/modeling/backbone/eva.py:728
Functioneva02_tiny_patch14_xattn_fusedLN_SwiGLU_preln_RoPE
(pretrained=False, **kwargs)
model/modeling/backbone/eva.py:700
Methodextra_repr
(self)
model/modeling/backbone/eva.py:122
Functionfile_parts
(file_path)
model/util/util.py:17
Methodforward
(self, x)
model/modeling/backbone/eva_det.py:59
Methodforward
(self, x)
model/modeling/backbone/eva_det.py:103
Methodforward
(self, x)
model/modeling/backbone/eva_det.py:191
Methodforward
(self, x)
model/modeling/backbone/eva_det.py:266
Methodforward
(self, x)
model/modeling/backbone/eva_det.py:423
Methodforward
Args: x: Tensor of shape (N,C,H,W). H, W must be a multiple of ``self.size_divisibility``. Returns: dict[str
model/modeling/backbone/eva_det.py:551
Methodforward
(self, x, residual=None)
model/modeling/backbone/dla.py:55
Methodforward
(self, x, residual=None)
model/modeling/backbone/dla.py:92
Methodforward
(self, x, residual=None)
model/modeling/backbone/dla.py:136
Methodforward
(self, *x)
model/modeling/backbone/dla.py:167
Methodforward
(self, x, residual=None, children=None)
model/modeling/backbone/dla.py:218
Methodforward
(self, x)
model/modeling/backbone/dla.py:469
Methodforward
(self, x)
model/modeling/backbone/vovnet.py:171
Methodforward
(self, x)
model/modeling/backbone/vovnet.py:182
Methodforward
(self, x)
model/modeling/backbone/vovnet.py:243
Methodforward
(self, x)
model/modeling/backbone/vovnet.py:373
Methodforward
(self, x)
model/modeling/backbone/densenet.py:23
Methodforward
(self, x)
model/modeling/backbone/convnext.py:32
Methodforward
(self, x)
model/modeling/backbone/convnext.py:54
Methodforward
(self, x)
model/modeling/backbone/convnext.py:143
Methodforward
(self, x)
model/modeling/backbone/convnext.py:163
Methodforward
(self, x)
model/modeling/backbone/convnext.py:206
Methodforward
(self, x)
model/modeling/backbone/shufflenet.py:26
Methodforward
(self, t)
model/modeling/backbone/eva.py:88
Methodforward
(self, x)
model/modeling/backbone/eva.py:119
Methodforward
(self, x)
model/modeling/backbone/eva.py:143
Methodforward
(self, x)
model/modeling/backbone/eva.py:171
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
model/modeling/backbone/eva.py:257
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
model/modeling/backbone/eva.py:390
Methodforward
(self, x, **kwargs)
model/modeling/backbone/eva.py:439
Methodforward
(self)
model/modeling/backbone/eva.py:477
Methodforward
(self)
model/modeling/backbone/eva.py:525
Methodforward
(self, x, return_patch_tokens=True)
model/modeling/backbone/eva.py:694
Methodforward
(self, x)
model/modeling/backbone/mnasnet.py:23
Methodforward
(self, x)
model/modeling/backbone/resnet.py:43
Methodforward
(self, batched_inputs: List[Dict[str, torch.Tensor]])
model/modeling/meta_arch/MM_UniMODE.py:36
Methodforward
(self, feat, Ks, batched_inputs)
model/modeling/detector3d/center_head.py:72
Methodforward
(self, prediction, target)
model/modeling/detector3d/center_head.py:226
Methodforward
Input: cam_voxel_feat shape: (B, cam_C, voxel_z, voxel_y, voxel_x) point_feat shape: (B, point_C, voxel_z, voxel_x)
model/modeling/detector3d/mm_dv_attn.py:35
Methodforward
(self, src, mask, pos_embed, query_embed, reg_branches=None, **kwargs)
model/modeling/detector3d/detr_transformer.py:53
Methodforward
(self, src, mask: Optional[Tensor] = None, src_key_padding_mask: Optional[Tens
model/modeling/detector3d/detr_transformer.py:76
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
model/modeling/detector3d/detr_transformer.py:101
Methodforward
(self, src, src_mask: Optional[Tensor] = None, src_key_padding_mask: Optional[
model/modeling/detector3d/detr_transformer.py:195
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
model/modeling/detector3d/detr_transformer.py:303
Methodforward
Forward function for `MultiheadAttention`. **kwargs allow passing a more general data flow when combining with other operations in `tr
model/modeling/detector3d/detr_transformer.py:385
Methodforward
Input: - srcs: List([bs, c, h, w]) - masks: List([bs, h, w])
model/modeling/detector3d/deformable_detr.py:101
Methodforward
(self, src, pos, reference_points, spatial_shapes, level_start_index, padding_mask=None, dataset_group_pred =
model/modeling/detector3d/deformable_detr.py:187
Methodforward
(self, src, spatial_shapes, level_start_index, valid_ratios, pos=None, padding_mask=None, dataset_group_pred =
model/modeling/detector3d/deformable_detr.py:243
Methodforward
(self, tgt, query_pos, reference_points, src, src_spatial_shapes, level_start_index, src_padding_mask=None, da
model/modeling/detector3d/deformable_detr.py:302
Methodforward
(self, tgt, reference_points, src, src_spatial_shapes, src_level_start_index, src_valid_ratios,
model/modeling/detector3d/deformable_detr.py:366
Methodforward
(self, x, dataset_group_pred=None)
model/modeling/detector3d/deformable_detr.py:434
Methodforward
(self, x)
model/modeling/detector3d/deformable_detr.py:456
Methodforward
(self, x)
model/modeling/detector3d/depthnet.py:27
Methodforward
(self, x)
model/modeling/detector3d/depthnet.py:89
Methodforward
(self, x, x_se)
model/modeling/detector3d/depthnet.py:124
Methodforward
(self, x)
model/modeling/detector3d/depthnet.py:147
Methodforward
Input: x shape: (B, in_c, H, W) Ks shape: (B, 3, 3)
model/modeling/detector3d/depthnet.py:215
Methodforward
Implements the multihead softmax attention. Arguments --------- q: The tensor containing the query. (B, T, H, D)
model/modeling/detector3d/attention.py:52
Methodforward
x: (batch, seqlen, hidden_dim) (where hidden_dim = num heads * head dim) key_padding_mask: bool tensor of shape (batch, seqlen)
model/modeling/detector3d/attention.py:131
Methodforward
(self, images, points, batched_inputs)
model/modeling/detector3d/detector3d.py:163
Methodforward
(self, cam_feat, point_feat, pts_valid_mask, Ks, scale_ratios, img_mask, batched_inputs, ori_img_resolution, c
model/modeling/detector3d/detector3d.py:640
Methodforward
(self, x, c)
model/modeling/detector3d/detector3d.py:998
Methodforward
Input: cam_bev_feat shape: (B, C, bev_y, bev_x) point_bev_feat: (B, C, bev_y, bev_x) update_cam_bev_feat:
model/modeling/detector3d/mutual_info_inpaint.py:24
Methodforward
Forward function.
model/modeling/neck/cp_fpn.py:152
Methodforward
(self, points)
model/spconv_voxelize/spconv_voxelize.py:58
Methodforward
:param query (N, Length_{query}, C) :param reference_points (N, Length_{query}, n_levels, 2), range
model/deformable_ops/modules/ms_deform_attn.py:78
Methodforward
(ctx, value, value_spatial_shapes, value_level_start_index, sampling_locations, attention_weights, im2col_step
model/deformable_ops/functions/ms_deform_attn_func.py:23
Methodforward
(self, meshes_world, **kwargs)
model/util/math_util.py:845
Methodforward
(self, x)
model/util/grid_mask.py:21
Methodforward
Forward function for `SinePositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
model/util/position_encoding.py:59
Methodforward
Forward function for `LearnedPositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
model/util/position_encoding.py:141
Methodforward
Forward function for `voxel pooling. Args: geom_xyz (Tensor): xyz coord for each voxel with the shape of [num_pro
voxel_pooling/voxel_pooling_train.py:13
Methodfrom_config
(cls, cfg, is_train: bool = True)
model/data/dataset_mapper.py:86
Functiongen_sineembed_for_position
(pos_tensor)
model/modeling/detector3d/deformable_detr.py:461
Functiongeneralized_box_iou
Generalized IoU from https://giou.stanford.edu/ The boxes should be in [x0, y0, x1, y1] format Returns a [N, M] pairwise matrix, where
model/util/util.py:340
Methodget_2D_matching
(self, cls_scores_list, proj3dcenter_preds, ori_img_resolution, assign_results)
model/modeling/detector3d/detector3d.py:947
Methodget_2D_matching_single
(self, cls_scores, proj3dcenter_pred, novel_cls_gt, ori_img_resolution, assign_result)
model/modeling/detector3d/detector3d.py:953
Methodget_classifier
(self)
model/modeling/backbone/eva.py:653
Functionget_color
(ind=None, hex=False)
model/util/util.py:291
Functionget_filter_settings_from_cfg
(cfg=None)
model/data/datasets.py:53
Functionget_global_dataset_stats
(path_to_stats=None, reset=False)
model/data/datasets.py:26
Methodget_lr
(self)
model/solver/build.py:148
Methodget_matching_single
Description: One-to-one matching for a single image.
model/modeling/detector3d/detector3d.py:939
Methodget_num_layers
(self)
model/modeling/backbone/eva.py:646
Methodget_proposal_pos_embed
(self, proposals)
model/modeling/detector3d/deformable_detr.py:77
Functionget_rank
()
model/util/torch_dist.py:4
Functionget_version
()
model/data/datasets.py:23
← previousnext →301–400 of 454, ranked by callers