MCPcopy Create free account

hub / github.com/Tsinghua-MARS-Lab/CVT-Occ / functions

Functions691 in github.com/Tsinghua-MARS-Lab/CVT-Occ

Methodforward
(self, x)
projects/mmdet3d_plugin/bevformer/modules/resnet.py:74
Methodforward
Forward function. Args: multi_level_feats (list[torch.Tensor]): Current multi level img features from the upstream net
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head_waymo.py:99
Methodforward
Forward function. Args: multi_level_feats (list[torch.Tensor]): Current multi level img features from the upstream net
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head.py:73
Methodforward
Forward function of occupancy head of solofusion. Args: bev_feats (torch.Tensor): shape (bs, embed_dims=256, bev_h, bev_w
projects/mmdet3d_plugin/bevformer/dense_heads/solo_head_occ_waymo.py:129
Methodforward
Calls either forward_train or forward_test depending on whether return_loss=True. Note this setting will change the expected inputs
projects/mmdet3d_plugin/bevformer/detectors/occformer_waymo.py:150
Methodforward
Calls either forward_train or forward_test depending on whether return_loss=True. Note this setting will change the expected inputs
projects/mmdet3d_plugin/bevformer/detectors/occformer.py:156
Methodforward
(self, input, target, weight=None, avg_fact
projects/mmdet3d_plugin/bevformer/loss/ohem.py:43
Methodforward
(self, input, target, weight=None, avg_fact
projects/mmdet3d_plugin/bevformer/loss/ohem.py:101
Methodforward
(self, input, target)
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:132
Methodforward
Forward function.
projects/mmdet3d_plugin/models/necks/fpn.py:154
Methodforward
Forward function. Args: x (torch.Tensor): 4D Tensor in (N, C, H, W) shape. Returns: list[torch.Tensor]: Mult
projects/mmdet3d_plugin/models/necks/second_fpn.py:85
Methodforward
Transform image-view feature into bird-eye-view feature. Args: input (list(torch.tensor)): of (image-view feature, rots, trans,
projects/mmdet3d_plugin/models/necks/view_transformer.py:281
Methodforward
(self, x)
projects/mmdet3d_plugin/models/backbones/vovnet.py:161
Methodforward
(self, x)
projects/mmdet3d_plugin/models/backbones/vovnet.py:172
Methodforward
(self, x)
projects/mmdet3d_plugin/models/backbones/vovnet.py:210
Methodforward
(self, x)
projects/mmdet3d_plugin/models/backbones/vovnet.py:341
Methodforward
(self, x)
projects/mmdet3d_plugin/models/backbones/bevdetresnet.py:18
Methodforward
(self, x)
projects/mmdet3d_plugin/models/backbones/bevdetresnet.py:62
Methodforward
(self, x)
projects/mmdet3d_plugin/models/utils/grid_mask.py:85
Methodforward
Forward function for `LearnedPositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
projects/mmdet3d_plugin/models/utils/positional_encoding.py:41
Methodforward
Forward function for `LearnedPositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
projects/mmdet3d_plugin/models/utils/positional_encoding.py:109
Methodforward
(self, tensor)
projects/mmdet3d_plugin/models/utils/position_embedding.py:15
Methodforward_dummy
(self, img)
projects/mmdet3d_plugin/bevformer/detectors/occformer_waymo.py:146
Methodforward_dummy
(self, img)
projects/mmdet3d_plugin/bevformer/detectors/occformer.py:152
Methodforward_dummy
(self, points=None, img_metas=None, img_inputs=None, **kwargs)
projects/mmdet3d_plugin/bevformer/detectors/bevdet_solo.py:147
Methodforward_pts_train
Forward function for point cloud branch. Args: pts_feats (list[torch.Tensor]): Features of point cloud branch gt_bbox
projects/mmdet3d_plugin/bevformer/detectors/centerpoint_solo.py:51
Methodforward_test
Forward function for testing. Args: inputs (list[Tensor]): List of multi-level img features. img_metas (list[dict
projects/mmdet3d_plugin/bevformer/modules/decode_head.py:241
Methodforward_test
Test function for the model. Args: (all arg are be wrapped one more list. after we take it out, the type of each paramet
projects/mmdet3d_plugin/bevformer/detectors/solofusion.py:831
Methodforward_test
Args: points (list[torch.Tensor]): the outer list indicates test-time augmentations and inner torch.Tensor should
projects/mmdet3d_plugin/bevformer/detectors/bevdet_solo.py:95
Methodforward_train
Forward function for training. Args: inputs (list[Tensor]): List of multi-level img features. img_metas (list[dict]
projects/mmdet3d_plugin/bevformer/modules/decode_head.py:225
Methodforward_train
Args: img (torch.Tensor): multi view image input of current frame. shape (B, N, C, H, W) voxel_semantics (torch.Tenso
projects/mmdet3d_plugin/bevformer/detectors/solofusion.py:599
Methodforward_train
Forward training function. Args: points (list[torch.Tensor], optional): Points of each sample. Defaults to None.
projects/mmdet3d_plugin/bevformer/detectors/bevdet_solo.py:50
FunctiongetCellCoordinates
(points, voxelSize)
projects/mmdet3d_plugin/datasets/occ_metrics.py:38
FunctiongetNumUniqueCells
(cells)
projects/mmdet3d_plugin/datasets/occ_metrics.py:42
Methodget_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
projects/mmdet3d_plugin/datasets/zltwaymo.py:108
Functionget_dense_voxel_coors
(self,bev_)
projects/mmdet3d_plugin/bevformer/modules/dts_transformer.py:516
Methodget_depth_loss
This was updated to be more similar to BEVDepth's original depth loss function.
projects/mmdet3d_plugin/bevformer/detectors/solofusion.py:190
Methodget_infos
Get data infos. This method gets information from the raw data. Args: num_workers (int): Number of threads to be used. D
tools/data_converter/sunrgbd_data_utils.py:134
Methodget_mlp_input
(self, rot, tran, intrin, post_rot, post_tran, bda)
projects/mmdet3d_plugin/models/necks/view_transformer.py:301
Methodget_occ
Generate Occupancy semantics prediction. Args: preds_dicts (dict): with keys "bev_embed, occ, extra" occ
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head_waymo.py:335
Methodget_occ
Generate Occupancy semantics prediction. Args: preds_dicts (dict): with keys "bev_embed, occ, extra" occ (tor
projects/mmdet3d_plugin/bevformer/dense_heads/solo_head_occ_waymo.py:202
Functionget_open3d_color
(i, begin=0)
tools/vis_tools/utils.py:46
Functionget_sample_data
Returns the data path as well as all annotations related to that sample_data. Note that the boxes are transformed into the current sensor's
tools/analysis_tools/visual.py:172
Functionget_voxel_features
obtain bev features.
projects/mmdet3d_plugin/bevformer/modules/dts_transformer.py:259
Functionhinge_jaccard_loss
Multi-class Hinge Jaccard loss probas: [B, C, H, W] Variable, class probabilities at each prediction (between 0 and 1). Inter
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:260
Functioninit_weights
Initialize the transformer weights.
projects/mmdet3d_plugin/bevformer/modules/dts_transformer.py:234
Methodinit_weights
Initialize the transformer weights.
projects/mmdet3d_plugin/bevformer/modules/pyramid_transformer.py:235
Methodinit_weights
Initialize the transformer weights.
projects/mmdet3d_plugin/bevformer/modules/hybrid_transformer.py:248
Methodinit_weights
Initialize the transformer weights.
projects/mmdet3d_plugin/bevformer/modules/occ_transformer_waymo.py:169
Methodinit_weights
Initialize the transformer weights.
projects/mmdet3d_plugin/bevformer/modules/transformer.py:86
Methodinit_weights
Initialize weights of the DeformDETR head.
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head_waymo.py:94
Methodinit_weights
Initialize weights of the DeformDETR head.
projects/mmdet3d_plugin/bevformer/dense_heads/solo_head_occ_waymo.py:125
Functioniou
Array of IoU for each (non ignored) class
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:53
Functioniou_binary
IoU for foreground class binary: 1 foreground, 0 background
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:33
Functionisnan
(x)
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:297
Functionjaccard_loss
Something wrong with this loss Multi-class Lovasz-Softmax loss probas: [B, C, H, W] Variable, class probabilities at each prediction (b
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:232
Methodjust_evaluate
Evaluation in KITTI protocol. Args: results (list[dict]): Testing results of the dataset. metric (str | list[str]): M
projects/mmdet3d_plugin/datasets/zltwaymo.py:348
Functionkitti_anno_to_label_file
(annos, folder)
tools/data_converter/kitti_data_utils.py:505
Functionload_view_point
(pcd, filename)
tools/vis_tools/vis_occ.py:253
Methodloss
Loss function. Args: voxel_semantics (torch.Tensor): Shape (bs, w, h, total_z) valid_mask (torch.Tensor)
projects/mmdet3d_plugin/bevformer/dense_heads/occformer_head_waymo.py:169
Methodloss
Loss function of occupancy head of solofusion. Args: voxel_semantics (torch.Tensor): 3D occupancy ground truth. shape (B,
projects/mmdet3d_plugin/bevformer/dense_heads/solo_head_occ_waymo.py:150
Functionlovasz_hinge
Binary Lovasz hinge loss logits: [B, H, W] Variable, logits at each pixel (between -\infty and +\infty) labels: [B, H, W] Tensor, bin
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:78
Functionlovasz_softmax
Multi-class Lovasz-Softmax loss probas: [B, C, H, W] Variable, class probabilities at each prediction (between 0 and 1). Inte
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:153
Functionmap_func
(idx)
tools/data_converter/kitti_data_utils.py:234
Functionmiddle
(fn)
projects/mmdet3d_plugin/models/utils/bricks.py:8
Methodparse_one_object
Parse one instance in kitti format and convert them to `Object` proto. Args: instance_idx (int): Index of the
projects/mmdet3d_plugin/core/evaluation/kitti2waymo.py:106
Methodper_class_precision
precision = TP / (TP + FP). But I do not use it, it can be added easily.
projects/mmdet3d_plugin/datasets/occ_metrics.py:108
Methodper_class_recall
recall = TP / (TP + FN). But I do not use it, it can be added easily.
projects/mmdet3d_plugin/datasets/occ_metrics.py:102
Functionplot_curve
(log_dicts, args)
tools/analysis_tools/analyze_logs.py:38
Functionpost_act_block
(in_channels, out_channels, kernel_size, indice_key=None, stride=1, padding=0, conv_type='
projects/mmdet3d_plugin/bevformer/modules/dts_transformer.py:29
Methodprocess_single_scene
(sample_idx)
tools/data_converter/sunrgbd_data_utils.py:149
Methodprocess_single_scene
(sample_idx)
tools/data_converter/s3dis_data_utils.py:56
Methodprocess_single_scene
(sample_idx)
tools/data_converter/scannet_data_utils.py:118
Functionrender_annotation
Render selected annotation. :param anntoken: Sample_annotation token. :param margin: How many meters in each direction to include in L
tools/analysis_tools/visual.py:45
Functionrotz
Rotation about the z-axis.
tools/vis_tools/vis_occ.py:92
Methodrun_iter
(self, data_batch, train_mode, **kwargs)
projects/mmdet3d_plugin/bevformer/runner/epoch_based_runner.py:57
Functionrun_time
(name)
projects/mmdet3d_plugin/models/utils/bricks.py:7
Functionsave_tensor
(tensor, path, pad_value=254.0,)
projects/mmdet3d_plugin/models/utils/visual.py:15
Methodsavepath
(name)
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:683
Methodserialize
Serialize instance into json-friendly format.
projects/mmdet3d_plugin/datasets/nuscenes_eval.py:147
Methodset_epoch
(self, epoch)
projects/mmdet3d_plugin/datasets/samplers/my_group_batch_sampler.py:136
Methodset_epoch
(self, epoch)
projects/mmdet3d_plugin/datasets/samplers/group_sampler.py:108
Methodset_prob
(self, epoch, max_epoch)
projects/mmdet3d_plugin/models/utils/grid_mask.py:18
Methodset_prob
(self, epoch, max_epoch)
projects/mmdet3d_plugin/models/utils/grid_mask.py:82
Methodstep
Performs a single optimization step. Args: closure (callable, optional): A closure that reevaluates the model and
projects/mmdet3d_plugin/models/opt/adamw.py:60
Methodtrain
Convert the model into training mode while keep normalization layer freezed.
projects/mmdet3d_plugin/models/backbones/vovnet.py:366
Functiontrain_model
A function wrapper for launching model training according to cfg. Because we need different eval_hook in runner. Should be deprecated in the
projects/mmdet3d_plugin/bevformer/apis/train.py:38
Functionvideo
(voxel_path, save_path, vis_voxel01=True, interval=5, vis_3d=False)
tools/vis_tools/vis_occ.py:266
Functionworker_init_fn
(worker_id, num_workers, rank, seed)
projects/mmdet3d_plugin/datasets/builder.py:113
Functionwrapper
(*args, **kwargs)
projects/mmdet3d_plugin/models/utils/bricks.py:9
Functionxloss
Cross entropy loss
projects/mmdet3d_plugin/bevformer/loss/lovasz_losses.py:226
← previous601–691 of 691, ranked by callers