MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 2 callersMethodload_from_dict
Load name and parameters from a dict. Args: json_dict (dict): A dict comes from self.to_dict().
aios_repo/detrsmpl/core/cameras/camera_parameters.py:338
↓ 2 callersMethodload_from_dict
Load name and parameters from a dict. Args: json_dict (dict): A dict comes from self.to_dict().
mmhuman3d/core/cameras/camera_parameters.py:338
↓ 2 callersFunctionload_from_pavi
load checkpoint through the file path prefixed with pavi. In distributed setting, this function download ckpt at all ranks to different temporary
mmcv/mmcv/runner/checkpoint.py:376
↓ 2 callersMethodload_optim_state_dict
Load optimizer state from dict.
sapiens/engine/mmengine/_strategy/base.py:834
↓ 2 callersMethodload_scheduler_state_dict
Load scheduler state from dict.
sapiens/engine/mmengine/_strategy/base.py:838
↓ 2 callersFunctionload_state_dict
Load state_dict to a module. This method is modified from :meth:`torch.nn.Module.load_state_dict`. Default value for ``strict`` is set to ``F
mmcv/mmcv/runner/checkpoint.py:65
↓ 2 callersFunctionload_url
r"""Loads the Torch serialized object at the given URL. If downloaded file is a zip file, it will be automatically decompressed If the
sapiens/engine/mmengine/utils/dl_utils/hub.py:81
↓ 2 callersFunctionlog_img_scale
Log image size. Args: img_scale (tuple): Image size to be logged. shape_order (str, optional): The order of image shape.
sapiens/det/mmdet/utils/logger.py:48
↓ 2 callersMethodlog_prob
(self, x)
blade/models/layers/realnvp.py:71
↓ 2 callersMethodloss
Calculate the loss in a batch. Args: bbox_feats (Tensor): of shape [N, C, H, W]. N is the number of bboxes.
sapiens/det/mmdet/models/tracking_heads/roi_embed_head.py:259
↓ 2 callersMethodloss
Perform forward propagation and loss calculation of the detection roi on the features of the upstream network. Args: x (t
sapiens/det/mmdet/models/roi_heads/scnet_roi_head.py:385
↓ 2 callersMethodloss
Calculate losses from multi-branch inputs and data samples. Args: multi_batch_inputs (Dict[str, Tensor]): The dict of multi-branc
sapiens/det/mmdet/models/detectors/semi_base.py:90
↓ 2 callersMethodloss
The forward function in training. Args: inputs (torch.Tensor): The input images. data_samples (List[DataSample]): All
sapiens/pretrain/mmpretrain/models/selfsup/mae.py:365
↓ 2 callersMethodloss
generate train_loss from the input tensor and data_samples. Args: images (Tensor): A batch of images. The shape of it should be
sapiens/pretrain/mmpretrain/models/multimodal/blip/blip_vqa.py:145
↓ 2 callersMethodloss_by_feat
Calculate the loss based on the features extracted by the detection head.
sapiens/det/mmdet/models/dense_heads/base_dense_head.py:155
↓ 2 callersMethodloss_by_feat
Compute losses of the head. Args: anchor_list (list[list[Tensor]]): Multi level anchors of each image.
sapiens/det/mmdet/models/dense_heads/cascade_rpn_head.py:560
↓ 2 callersMethodloss_by_feat
loss_by_feat() is implemented in StageCascadeRPNHead.
sapiens/det/mmdet/models/dense_heads/cascade_rpn_head.py:971
↓ 2 callersMethodloss_by_feat
Loss function. Args: all_cls_scores (Tensor): Classification scores for all decoder layers with shape (num_decode
sapiens/det/mmdet/models/dense_heads/maskformer_head.py:352
↓ 2 callersMethodloss_by_feat
Loss function. Only outputs from the last feature level are used for computing losses by default. Args: all_laye
sapiens/det/mmdet/models/dense_heads/detr_head.py:219
↓ 2 callersMethodloss_by_feat
Calculate losses. Args: x_split (Tensor): The embed features belonging to key image. ref_x_split (Tensor): The embed
sapiens/det/mmdet/models/tracking_heads/roi_embed_head.py:304
↓ 2 callersMethodloss_dn
Calculate denoising loss. Args: all_layers_denoising_cls_scores (Tensor): Classification scores of all decoder la
sapiens/det/mmdet/models/dense_heads/dino_head.py:196
↓ 2 callersFunctionlovasz_grad
Computes gradient of the Lovasz extension w.r.t sorted errors. See Alg. 1 in paper.
sapiens/seg/mmseg/models/losses/lovasz_loss.py:43
↓ 2 callersFunctionlovasz_hinge_flat
Binary Lovasz hinge loss. Args: logits (torch.Tensor): [P], logits at each prediction (between -infty and +infty). la
sapiens/seg/mmseg/models/losses/lovasz_loss.py:88
↓ 2 callersFunctionlovasz_softmax_flat
Multi-class Lovasz-Softmax loss. Args: probs (torch.Tensor): [P, C], class probabilities at each prediction (between 0 and 1)
sapiens/seg/mmseg/models/losses/lovasz_loss.py:157
↓ 2 callersFunctionmake_2tuple
(x)
DAv2/depth_anything_v2/dinov2_layers/patch_embed.py:40
↓ 2 callersFunctionmake_2tuple
(x)
DAv2/metric_depth/depth_anything_v2/dinov2_layers/patch_embed.py:40
↓ 2 callersFunctionmake_divisible
Make divisible function. This function rounds the channel number to the nearest value that can be divisible by the divisor. It is taken from
blade/models/utils/make_divisible.py:30
↓ 2 callersMethodmake_fake_data
(self, predictions, requires_grad)
aios_repo/detrsmpl/models/architectures/mesh_estimator.py:730
↓ 2 callersMethodmake_fake_data
(self, predictions, requires_grad)
mmhuman3d/models/architectures/mesh_estimator.py:726
↓ 2 callersFunctionmake_homegeneous_rotmat_batch
Appends a row of [0,0,0,1] to a batch size x 3 x 4 Tensor. Parameters ---------- :param input: A tensor of dimensions batch size x 3 x 4
aios_repo/detrsmpl/utils/transforms.py:586
↓ 2 callersFunctionmake_homegeneous_rotmat_batch
Appends a row of [0,0,0,1] to a batch size x 3 x 4 Tensor. Parameters ---------- :param input: A tensor of dimensions batch size x 3 x 4
mmhuman3d/utils/transforms.py:589
↓ 2 callersFunctionmake_image_bucket_position
(bucket_size, num_relative_distance)
sapiens/pretrain/mmpretrain/models/multimodal/ofa/ofa_modules.py:72
↓ 2 callersMethodmake_res_layer
Pack all blocks in a stage into a ``ResLayer``.
sapiens/det/mmdet/models/backbones/resnet.py:584
↓ 2 callersMethodmake_res_layer
(self, **kwargs)
sapiens/pretrain/mmpretrain/models/backbones/resnet.py:597
↓ 2 callersMethodmake_res_layer
Make a ResLayer.
sapiens/pose/mmpose/models/backbones/resnet.py:614
↓ 2 callersFunctionmake_sparse_convmodule
Make sparse convolution module. Args: in_channels (int): the number of input channels out_channels (int): the number of out chann
mmcv/tests/test_ops/test_spconv.py:37
↓ 2 callersFunctionmake_token_bucket_position
(bucket_size, max_position=1024)
sapiens/pretrain/mmpretrain/models/multimodal/ofa/ofa_modules.py:55
↓ 2 callersFunctionmakebarplot
(rs, ps, outDir, class_name, iou_type)
sapiens/det/tools/analysis_tools/coco_error_analysis.py:101
↓ 2 callersFunctionmakeplot
(rs, ps, outDir, class_name, iou_type)
sapiens/det/tools/analysis_tools/coco_error_analysis.py:41
↓ 2 callersMethodmapper
Dictionary mapper. Renames keys according to keymap provided. Args: d (dict): old dict keymap (dict): {'old_k
sapiens/seg/mmseg/datasets/transforms/transforms.py:2496
↓ 2 callersMethodmapper
Dictionary mapper. Renames keys according to keymap provided. Args: d (dict): old dict keymap (dict): {'old_key':'new
sapiens/det/mmdet/datasets/transforms/transforms.py:1705
↓ 2 callersMethodmapper
Dictionary mapper. Renames keys according to keymap provided. Args: d (dict): old dict keymap (dict): {'old_k
sapiens/pretrain/mmpretrain/datasets/transforms/processing.py:1256
↓ 2 callersFunctionmaybe_wrap_dim
mmcv/mmcv/ops/csrc/onnxruntime/cpu/reduce_ops.cpp:13
↓ 2 callersFunctionmerge_hparams
Merge hyperparameters into policy config. Only merge partial hyperparameters required of the policy. Args: policy (dict): Original p
sapiens/pretrain/mmpretrain/datasets/transforms/auto_augment.py:46
↓ 2 callersFunctionmesh_to_pointcloud_vc
Convert PyTorch3D vertex color `Meshes` to `PointClouds`. Args: meshes (Meshes): input meshes. include_textures (bool, optional):
mmhuman3d/utils/mesh_utils.py:82
↓ 2 callersFunctionmodel_forward
()
smplx_repo/transfer_model/transfer_model.py:94
↓ 2 callersFunctionmodulated_deform_conv_backward
mmcv/mmcv/ops/csrc/parrots/modulated_deform_conv.cpp:126
↓ 2 callersFunctionmodulated_deform_conv_backward
sapiens/cv/mmcv/ops/csrc/parrots/modulated_deform_conv.cpp:126
↓ 2 callersFunctionmodulated_deform_conv_forward
mmcv/mmcv/ops/csrc/parrots/modulated_deform_conv.cpp:48
↓ 2 callersFunctionmodulated_deform_conv_forward
sapiens/cv/mmcv/ops/csrc/parrots/modulated_deform_conv.cpp:48
↓ 2 callersFunctionmodulated_deformable_im2col_impl
mmcv/mmcv/ops/csrc/pytorch/modulated_deform_conv.cpp:5
↓ 2 callersFunctionmodulated_deformable_im2col_impl
mmcv/mmcv/ops/csrc/parrots/modulated_deform_conv.cpp:5
↓ 2 callersFunctionmodulated_deformable_im2col_impl
sapiens/cv/mmcv/ops/csrc/pytorch/modulated_deform_conv.cpp:15
↓ 2 callersFunctionmodulated_deformable_im2col_impl
sapiens/cv/mmcv/ops/csrc/parrots/modulated_deform_conv.cpp:5
↓ 2 callersMethodmomentum_update
Compute the moving average of the parameters using exponential moving average.
sapiens/det/mmdet/engine/hooks/mean_teacher_hook.py:99
↓ 2 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
aios_repo/models/aios/ops/functions/ms_deform_attn_func.py:70
↓ 2 callersFunctionmse_loss_with_gmof
Extended MSE Loss with GMOF.
mmhuman3d/models/losses/mse_loss.py:44
↓ 2 callersMethodname
(self)
aios_repo/models/registry.py:42
↓ 2 callersMethodname
(self)
mmcv/mmcv/utils/registry.py:219
↓ 2 callersMethodname
(self)
sapiens/engine/mmengine/registry/registry.py:233
↓ 2 callersFunctionnms3d
3D NMS function GPU implementation (for BEV boxes). Args: boxes (torch.Tensor): Input boxes with the shape of (N, 7) ([x, y,
mmcv/mmcv/ops/iou3d.py:92
↓ 2 callersFunctionnms3d_normal
Normal 3D NMS function GPU implementation. The overlap of two boxes for IoU calculation is defined as the exact overlapping area of the two boxes
mmcv/mmcv/ops/iou3d.py:116
↓ 2 callersFunctionnms_rotated_cpu
mmcv/mmcv/ops/csrc/pytorch/cpu/nms_rotated.cpp:59
↓ 2 callersFunctionnms_rotated_cpu
sapiens/cv/mmcv/ops/csrc/pytorch/cpu/nms_rotated.cpp:59
↓ 2 callersFunctionnms_rotated_npu
sapiens/cv/mmcv/ops/csrc/pytorch/npu/nms_rotated_npu.cpp:5
↓ 2 callersMethodno_sync
Enables ``no_sync`` context of all sub ``MMDistributedDataParallel`` modules.
sapiens/engine/mmengine/model/wrappers/seperate_distributed.py:155
↓ 2 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
aios_repo/detrsmpl/models/backbones/hrnet.py:398
↓ 2 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
mmhuman3d/models/backbones/hrnet.py:408
↓ 2 callersMethodnorm1
nn.Module: normalization layer after the first convolution layer
sapiens/seg/mmseg/models/backbones/resnet.py:281
↓ 2 callersMethodnorm1
(self)
sapiens/pretrain/mmpretrain/models/backbones/resnet.py:266
↓ 2 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
sapiens/pose/mmpose/models/backbones/resnet.py:261
↓ 2 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
aios_repo/detrsmpl/models/backbones/hrnet.py:403
↓ 2 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
mmhuman3d/models/backbones/hrnet.py:413
↓ 2 callersMethodnorm2
nn.Module: normalization layer after the second convolution layer
sapiens/det/mmdet/models/backbones/resnet.py:282
↓ 2 callersMethodnorm3
nn.Module: normalization layer after the third convolution layer
sapiens/seg/mmseg/models/backbones/resnet.py:291
↓ 2 callersFunctionnorm_cdf
(x)
mmcv/mmcv/cnn/utils/weight_init.py:675
↓ 2 callersFunctionnorm_cdf
(x)
sapiens/engine/mmengine/model/weight_init.py:654
↓ 2 callersFunctionnorm_vec
(vec)
blade/utils/mesh_utils.py:70
↓ 2 callersFunctionnorm_vec
(vec)
blade/transforms/transform3d/geometry.py:31
↓ 2 callersFunctionnormalize
Normalize input grid from [-1, 1] to [0, 1] Args: grid (torch.Tensor): The grid to be normalize, range [-1, 1]. Returns: tor
sapiens/cv/mmcv/ops/point_sample.py:119
↓ 2 callersMethodnormalize_depth
Normalize depth map to [0, 1] for each item in the batch with optimized tensor operations.
sapiens/seg/mmseg/models/losses/pointmap_silog_loss.py:149
↓ 2 callersMethodnormalize_depth
Normalize depth map to [0, 1] for each item in the batch with optimized tensor operations.
sapiens/seg/mmseg/models/losses/metric_silog_loss.py:150
↓ 2 callersMethodnormlize
Normalize weights. Args: weights (nn.Parameter): Weights to be normalized. Returns: nn.Parameters: Normalize
sapiens/cv/mmcv/cnn/rfsearch/operator.py:55
↓ 2 callersMethodnpu
Overrides this method to call :meth:`BaseDataPreprocessor.npu` additionally. Returns: nn.Module: The model itself.
sapiens/engine/mmengine/model/base_model/base_model.py:267
↓ 2 callersMethodocm_assign_ids
Apply Observation-Centric Momentum (OCM) to assign ids. OCM adds movement direction consistency into the association cost matrix. Thi
sapiens/det/mmdet/models/trackers/ocsort_tracker.py:185
↓ 2 callersMethodoffset_to_pts
Change from point offset to point coordinate.
sapiens/det/mmdet/models/dense_heads/reppoints_head.py:401
↓ 2 callersMethodoptim_state_dict
Get optimizer state dict.
sapiens/engine/mmengine/_strategy/base.py:794
↓ 2 callersFunctionoriented_box_intersection_2d
Calculate intersection area of 2d rotated boxes. Args: corners1 (Tensor): (B, N, 4, 2) First batch of boxes. corners2 (Tensor): (
mmcv/mmcv/ops/diff_iou_rotated.py:229
↓ 2 callersFunctionoriented_box_intersection_2d
Calculate intersection area of 2d rotated boxes. Args: corners1 (Tensor): (B, N, 4, 2) First batch of boxes. corners2 (Tensor): (
sapiens/cv/mmcv/ops/diff_iou_rotated.py:234
↓ 2 callersMethodpad_gt_masks
Pad gt_masks to shape of batch_input_shape.
sapiens/det/mmdet/models/data_preprocessors/data_preprocessor.py:213
↓ 2 callersFunctionparams_to_string
Convert parameter number into a string. Args: num_params (float): Parameter number to be converted. units (str | None): Converted
sapiens/cv/mmcv/cnn/utils/flops_counter.py:195
↓ 2 callersFunctionparse
(x)
mmcv/mmcv/utils/misc.py:39
↓ 2 callersMethodparse_basic_anno
Parse basic annotation for support and query set. Args: anno (dict): Annotation for single example. Return:
sapiens/pretrain/mmpretrain/datasets/flamingo.py:134
↓ 2 callersMethodparse_basic_anno
Parse basic annotation for support and query set. Args: anno (dict): Annotation for single example. coco (COCO): The
sapiens/pretrain/mmpretrain/datasets/flamingo.py:258
↓ 2 callersMethodparse_data_info
Parse raw annotation to target format. This method will return a dict which contains the data information of a sample. Args:
sapiens/pretrain/mmpretrain/datasets/multi_task.py:274
↓ 2 callersFunctionparse_gts
(gts, is_mot15)
sapiens/det/tools/dataset_converters/mot2coco.py:88
↓ 2 callersMethodparse_losses
Parses the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
sapiens/pose/mmpose/models/pose_estimators/topdown.py:154
↓ 2 callersFunctionparse_require_file
(fpath)
setup.py:85
↓ 2 callersFunctionparse_require_file
(fpath)
mmcv/setup.py:119
↓ 2 callersFunctionparse_require_file
(fpath)
sapiens/cv/setup.py:124
← previousnext →2,801–2,900 of 19,095, ranked by callers