MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 3 callersMethodget_extended_attention_mask
Makes broadcastable attention and causal masks so that future and masked tokens are ignored. Arguments: attention_mask (:
sapiens/pretrain/mmpretrain/models/multimodal/blip2/Qformer.py:369
↓ 3 callersFunctionget_external_models
()
mmcv/mmcv/runner/checkpoint.py:183
↓ 3 callersMethodget_intermediate_layers
( self, x: torch.Tensor, n: Union[int, Sequence] = 1, # Layers or n last layers to ta
DAv2/depth_anything_v2/dinov2.py:320
↓ 3 callersFunctionget_intrinsic_matrix
Get intrisic matrix (or its inverse) given f and c. Args: f (list): focal length, fx, fy c (list): principal point offset, x0, y0
mmhuman3d/data/datasets/pipelines/hybrik_transforms.py:209
↓ 3 callersMethodget_iphone_color_resolution
Get color image resolution of an iPhone RGB camera by iPhone id. Args: iphone_id (int, optional): ID of an iPhone
aios_repo/detrsmpl/data/data_structures/smc_reader.py:330
↓ 3 callersMethodget_iphone_extrinsics
Get extrinsics(cam2world) of an iPhone RGB camera by iPhone id. Args: iphone_id (int, optional): ID of an iPhone,
aios_repo/detrsmpl/data/data_structures/smc_reader.py:276
↓ 3 callersMethodget_iphone_extrinsics
Get extrinsics(cam2world) of an iPhone RGB camera by iPhone id. Args: iphone_id (int, optional): ID of an iPhone,
mmhuman3d/data/data_structures/smc_reader.py:276
↓ 3 callersMethodget_key_strict
Get value of attribute key_strict. Returns: bool: Whether to raise error when setting unsupported keys.
mmhuman3d/data/data_structures/human_data.py:200
↓ 3 callersMethodget_keypoints2d
Get keypoints2d projected from keypoints3d. Args: device (str): Device name, should be Kinect or iPhone.
mmhuman3d/data/data_structures/smc_reader.py:692
↓ 3 callersMethodget_kinect_color_intrinsics
Get intrinsics of a kinect RGB camera by kinect id. Args: kinect_id (int): ID of a kinect, starts from 0.
mmhuman3d/data/data_structures/smc_reader.py:172
↓ 3 callersMethodget_kinect_color_resolution
Get resolution of a kinect RGB camera by kinect id. Args: kinect_id (int): ID of a kinect, starts from 0.
mmhuman3d/data/data_structures/smc_reader.py:190
↓ 3 callersMethodget_limb_idxs
(self, convention)
blade/models/losses/prior_loss.py:106
↓ 3 callersFunctionget_loading_pipeline
Only keep loading image and annotations related configuration. Args: pipeline (list[dict]): Data pipeline configs. Returns:
sapiens/det/mmdet/datasets/utils.py:37
↓ 3 callersFunctionget_local_maximum
Extract local maximum pixel with given kernel. Args: heat (Tensor): Target heatmap. kernel (int): Kernel size of max pooling. Def
sapiens/det/mmdet/models/utils/gaussian_target.py:218
↓ 3 callersMethodget_local_path
Download data from ``filepath`` and write the data to local path. ``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It
mmcv/mmcv/fileio/file_client.py:1140
↓ 3 callersFunctionget_local_rank
()
blade/utils/helpers.py:63
↓ 3 callersMethodget_lr
Get the learning rate of the optimizer. Provide unified interface to get learning rate of optimizer. Returns: Dict[str,
sapiens/engine/mmengine/optim/optimizer/base.py:123
↓ 3 callersFunctionget_mapping
Get mapping list from src to dst. Args: src (str): source data type from keypoints_factory. dst (str): destination data type from
mmhuman3d/core/conventions/keypoints_mapping/__init__.py:248
↓ 3 callersFunctionget_max_cuda_memory
Returns the maximum GPU memory occupied by tensors in megabytes (MB) for a given device. By default, this returns the peak allocated memory since
sapiens/engine/mmengine/device/utils.py:54
↓ 3 callersFunctionget_mluops_version
(file_path)
sapiens/cv/setup.py:304
↓ 3 callersMethodget_ndc_camera_transform
(self, **kwargs)
blade/cameras/pytorch3d_wrapper/cameras.py:805
↓ 3 callersMethodget_ndc_camera_transform
(self, **kwargs)
aios_repo/detrsmpl/core/cameras/cameras.py:781
↓ 3 callersMethodget_ndc_camera_transform
(self, **kwargs)
mmhuman3d/core/cameras/cameras.py:796
↓ 3 callersMethodget_norm_pix_mean_var
(self, target)
sapiens/pretrain/mmpretrain/models/heads/mae_head.py:116
↓ 3 callersMethodget_options
(self, mode)
mmcv/mmcv/device/ipu/runner.py:138
↓ 3 callersMethodget_padding
(self, dilation)
sapiens/cv/mmcv/cnn/rfsearch/operator.py:192
↓ 3 callersMethodget_points
Get points according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. batch_im
sapiens/det/mmdet/models/dense_heads/reppoints_head.py:354
↓ 3 callersMethodget_positive_map
(self, tokenized, tokens_positive)
sapiens/det/mmdet/models/detectors/grounding_dino.py:143
↓ 3 callersMethodget_positive_map
(self, tokenized, tokens_positive)
sapiens/det/mmdet/models/detectors/glip.py:272
↓ 3 callersFunctionget_results
(filename, dataset='coco', task='bbox', metric=None,
sapiens/det/tools/analysis_tools/robustness_eval.py:196
↓ 3 callersFunctionget_simcc_maximum
Get maximum response location and value from simcc representations. Note: instance number: N num_keypoints: K heatmap hei
sapiens/pose/mmpose/codecs/utils/post_processing.py:69
↓ 3 callersFunctionget_state_dict
Get state_dict from a file or URI. Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``, ``open-mmlab://xx
sapiens/pose/mmpose/models/backbones/utils/utils.py:83
↓ 3 callersMethodget_targets
A wrapper for computing ATSS and FCOS targets for points in multiple images. Args: cls_scores (list[Tensor]): Box iou-awa
sapiens/det/mmdet/models/dense_heads/vfnet_head.py:530
↓ 3 callersMethodget_tokens_and_prompts
Get the tokens positive and prompts for the caption.
sapiens/det/mmdet/models/detectors/grounding_dino.py:95
↓ 3 callersMethodget_tokens_and_prompts
Get the tokens positive and prompts for the caption.
sapiens/det/mmdet/models/detectors/glip.py:238
↓ 3 callersFunctionget_topk_from_heatmap
Get top k positions from heatmap. Args: scores (Tensor): Target heatmap with shape [batch, num_classes, height, width].
sapiens/det/mmdet/models/utils/gaussian_target.py:235
↓ 3 callersFunctionget_transform_idx
Returns the index of the transform in a pipeline. Args: pipeline (List[dict] | List[BaseTransform]): The transforms list. target
sapiens/pretrain/mmpretrain/datasets/transforms/utils.py:38
↓ 3 callersFunctionget_uncertain_point_coords_with_randomness
Get ``num_points`` most uncertain points with random points during train. Sample points in [0, 1] x [0, 1] coordinate space based on their
sapiens/det/mmdet/models/utils/point_sample.py:61
↓ 3 callersFunctiongrid_sampler_unnormalize
mmcv/mmcv/ops/csrc/onnxruntime/cpu/gridSample.cpp:29
↓ 3 callersFunctionhard_voxelize_forward_impl
sapiens/cv/mmcv/ops/csrc/pytorch/voxelization.cpp:15
↓ 3 callersMethodimage_cover
Paste the foreground on the background.
sapiens/pose/mmpose/visualization/simcc_vis.py:129
↓ 3 callersFunctionimage_tensor2numpy
(tensor)
blade/utils/torch_utils.py:144
↓ 3 callersFunctionimages_to_array
Read a folder of images as an array of (f * h * w * 3). Args: input_folder (str): folder of input images. resolution (Option
aios_repo/detrsmpl/utils/ffmpeg_utils.py:402
↓ 3 callersMethodimport_wandb
(self)
mmcv/mmcv/runner/hooks/logger/wandb.py:92
↓ 3 callersFunctionimresize
Resize image to a given size. Args: img (ndarray): The input image. size (tuple[int]): Target size (w, h). return_scale (
mmcv/mmcv/image/geometric.py:86
↓ 3 callersFunctionimshow
Show an image. Args: img (str or ndarray): The image to be displayed. win_name (str): The window name. wait_time (int): V
mmcv/mmcv/visualization/image.py:37
↓ 3 callersFunctionimshow
Show an image. Args: img (str or ndarray): The image to be displayed. win_name (str): The window name. wait_time (int): V
sapiens/cv/mmcv/visualization/image.py:42
↓ 3 callersFunctionimwrite
Write image to file. Note: In v1.4.1 and later, add `file_client_args` parameters. Warning: The parameter `auto_mkdir` will
mmcv/mmcv/image/io.py:288
↓ 3 callersMethodinfer_image
(self, raw_image, input_size=518)
DAv2/depth_anything_v2/dpt.py:210
↓ 3 callersMethodinference
Inference with slide/whole style. Args: inputs (Tensor): The input image of shape (N, 3, H, W). batch_img_metas (List
sapiens/seg/mmseg/models/segmentors/multimodal_encoder_decoder.py:335
↓ 3 callersMethodinference
Inference with slide/whole style. Args: inputs (Tensor): The input image of shape (N, 3, H, W). batch_img_metas (List
sapiens/seg/mmseg/models/segmentors/encoder_decoder.py:348
↓ 3 callersMethodinit
(self, options, **kwargs)
mmcv/mmcv/device/ipu/dataloader.py:163
↓ 3 callersMethodinit_weights
Initialize model weights.
aios_repo/detrsmpl/models/discriminators/pose_discriminator.py:121
↓ 3 callersMethodinit_weights
Initialize model weights.
mmhuman3d/models/discriminators/pose_discriminator.py:123
↓ 3 callersMethodinit_weights
(self)
sapiens/cv/mmcv/ops/modulated_deform_conv.py:298
↓ 3 callersMethodinitiate
Create track from unassociated measurement. Args: measurement (ndarray): Bounding box coordinates (x, y, a, h) with
sapiens/det/mmdet/models/task_modules/tracking/kalman_filter.py:96
↓ 3 callersFunctioninterpolate
Args: feat (torch.Tensor): [B, C, H, W] image features uv (torch.Tensor): [B, 2, N] uv coordinates in the image plane
aios_repo/detrsmpl/models/heads/pare_head.py:160
↓ 3 callersFunctioninterpolate
Args: feat (torch.Tensor): [B, C, H, W] image features uv (torch.Tensor): [B, 2, N] uv coordinates in the image plane
mmhuman3d/models/heads/pare_head.py:158
↓ 3 callersFunctioninverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
aios_repo/detrsmpl/models/utils/transformer.py:63
↓ 3 callersFunctionis_filepath
(x)
sapiens/engine/mmengine/utils/path.py:37
↓ 3 callersFunctionis_method_overridden
Check if a method of base class is overridden in derived class. Args: method (str): the method name to check. base_class (type):
sapiens/engine/mmengine/utils/misc.py:431
↓ 3 callersMethodis_perspective
Boolean of whether is perspective.
aios_repo/detrsmpl/core/cameras/cameras.py:664
↓ 3 callersMethodis_perspective
Boolean of whether is perspective.
mmhuman3d/core/cameras/cameras.py:678
↓ 3 callersFunctionis_rocm_pytorch
Check whether the PyTorch is compiled on ROCm.
sapiens/engine/mmengine/utils/dl_utils/parrots_wrapper.py:38
↓ 3 callersFunctionisdir
Check whether a file path is a directory. Args: filepath (str or Path): Path to be checked whether it is a directory.
sapiens/engine/mmengine/fileio/io.py:317
↓ 3 callersFunctionisr_p
Importance-based Sample Reweighting (ISR_P), positive part. Args: cls_score (Tensor): Predicted classification scores. bbox_pred
sapiens/det/mmdet/models/losses/pisa_loss.py:41
↓ 3 callersFunctionjoin_meshes_as_batch
Join the meshes along the batch dim. Args: meshes (Union[ParametricMeshes, List[ParametricMeshes, Meshes, List[Meshes]]]): Me
aios_repo/detrsmpl/core/renderer/torch3d_renderer/meshes.py:436
↓ 3 callersFunctionjoin_meshes_as_batch
Join the meshes along the batch dim. Args: meshes (Union[ParametricMeshes, List[ParametricMeshes, Meshes, List[Meshes]]]): Me
mmhuman3d/core/renderer/torch3d_renderer/meshes.py:441
↓ 3 callersFunctionkeypoint_3d_auc
Calculate the Area Under the Curve (3DAUC) computed for a range of 3DPCK thresholds. Paper ref: `Monocular 3D Human Pose Estimation In The Wil
aios_repo/detrsmpl/core/evaluation/eval_utils.py:192
↓ 3 callersFunctionkeypoint_3d_pck
Calculate the Percentage of Correct Keypoints (3DPCK) w. or w/o rigid alignment. Paper ref: `Monocular 3D Human Pose Estimation In The Wild Us
aios_repo/detrsmpl/core/evaluation/eval_utils.py:142
↓ 3 callersMethodlist_dir_or_file
Scan a directory to find the interested directories or files in arbitrary order. Note: Petrel has no concept of directori
sapiens/engine/mmengine/fileio/backends/petrel_backend.py:678
↓ 3 callersMethodload
Load camera name and parameters from a file.
aios_repo/detrsmpl/core/cameras/camera_parameters.py:332
↓ 3 callersMethodload
Load camera name and parameters from a file.
mmhuman3d/core/cameras/camera_parameters.py:332
↓ 3 callersFunctionload_from_http
load checkpoint through HTTP or HTTPS scheme path. In distributed setting, this function only download checkpoint at local rank 0. Args:
mmcv/mmcv/runner/checkpoint.py:346
↓ 3 callersFunctionload_from_http
load checkpoint through HTTP or HTTPS scheme path. In distributed setting, this function only download checkpoint at local rank 0. Args:
sapiens/engine/mmengine/runner/checkpoint.py:384
↓ 3 callersMethodload_or_resume
load or resume checkpoint.
sapiens/engine/mmengine/runner/runner.py:1686
↓ 3 callersMethodload_or_resume
load or resume checkpoint.
sapiens/engine/mmengine/runner/_flexible_runner.py:1154
↓ 3 callersMethodload_param_decoder
Build decoders for each pose.
aios_repo/detrsmpl/models/heads/expose_head.py:235
↓ 3 callersMethodload_param_decoder
Build decoders for each pose.
mmhuman3d/models/heads/expose_head.py:237
↓ 3 callersMethodload_regressor
Build regressor for ExPose Head.
aios_repo/detrsmpl/models/heads/expose_head.py:224
↓ 3 callersMethodload_regressor
Build regressor for ExPose Head.
mmhuman3d/models/heads/expose_head.py:227
↓ 3 callersMethodlog_every
(self, iterable, print_freq, header=None, logger=None)
aios_repo/util/misc.py:258
↓ 3 callersMethodloss
Loss function. Only outputs from the last feature level are used for computing losses by default. Args: all_cls_
aios_repo/detrsmpl/models/heads/detr_head.py:336
↓ 3 callersMethodloss
(self, inputs1: Tensor, inputs2: Tensor, data_samples1: SampleList, data_samples2: SampleList)
sapiens/seg/mmseg/models/segmentors/stereo_pointmap_estimator.py:314
↓ 3 callersMethodloss
Calculate losses from a batch of inputs and data samples.
sapiens/seg/mmseg/models/segmentors/base.py:132
↓ 3 callersMethodloss
(self, inputs1: Tensor, inputs2: Tensor, data_samples1: SampleList, data_samples2: SampleList)
sapiens/seg/mmseg/models/segmentors/stereo_correspondences_estimator.py:235
↓ 3 callersMethodloss
Calculate losses from a batch of inputs and data samples. Args: inputs (Tensor): Input images. data_samples (list[:ob
sapiens/seg/mmseg/models/segmentors/pointmap_estimator.py:124
↓ 3 callersMethodloss
Calculate losses from a batch of inputs and data samples. Args: inputs (Tensor): Input images. data_samples (list[:ob
sapiens/seg/mmseg/models/segmentors/depth_estimator.py:179
↓ 3 callersMethodloss
Calculate losses from a batch of inputs and data samples. Args: inputs (Tensor): Input images. data_samples (list[:ob
sapiens/seg/mmseg/models/segmentors/encoder_decoder.py:192
↓ 3 callersMethodloss
Calculate losses from a batch of inputs and data samples. Args: inputs (Tensor): Input images. data_samples (list[:ob
sapiens/seg/mmseg/models/segmentors/hdri_estimator.py:124
↓ 3 callersMethodloss_by_feat_single
Calculate the loss of a single scale level based on the features extracted by the detection head. Args: anchors (Tensor):
sapiens/det/mmdet/models/dense_heads/ld_head.py:72
↓ 3 callersMethodmake_block_plugins
make plugins for block. Args: in_channels (int): Input channels of plugin. plugins (list[dict]): List of plugins cfg
aios_repo/detrsmpl/models/backbones/resnet.py:239
↓ 3 callersMethodmake_block_plugins
make plugins for block. Args: in_channels (int): Input channels of plugin. plugins (list[dict]): List of plugins cfg
mmhuman3d/models/backbones/resnet.py:240
↓ 3 callersMethodmake_block_plugins
make plugins for block. Args: in_channels (int): Input channels of plugin. plugins (list[dict]): List of plugins cfg
sapiens/seg/mmseg/models/backbones/resnet.py:250
↓ 3 callersFunctionmake_divisible
Make divisible function. This function rounds the channel number down to the nearest value that can be divisible by the divisor. Args:
sapiens/pose/mmpose/models/backbones/utils/make_divisible.py:30
↓ 3 callersFunctionmake_grid
Concat list of pictures into a single big picture, align height here.
sapiens/pretrain/tools/visualization/browse_dataset.py:124
↓ 3 callersFunctionmask2bbox
Obtain tight bounding boxes of binary masks. Args: masks (Tensor): Binary mask of shape (n, h, w). Returns: Tensor: Bboxe wi
sapiens/det/mmdet/structures/mask/utils.py:84
↓ 3 callersFunctionmask_matrix_nms
Matrix NMS for multi-class masks. Args: masks (Tensor): Has shape (num_instances, h, w) labels (Tensor): Labels of corresponding
sapiens/det/mmdet/models/layers/matrix_nms.py:33
↓ 3 callersMethodmedian
(self)
aios_repo/util/misc.py:106
↓ 3 callersMethodmetainfo_keys
Returns: list: Contains all keys in metainfo_fields.
sapiens/engine/mmengine/structures/base_data_element.py:350
← previousnext →1,701–1,800 of 19,095, ranked by callers