Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/blade
/ functions
Functions
19,095 in github.com/NVlabs/blade
⨍
Functions
19,095
◇
Types & classes
3,728
↳
Endpoints
57
↓ 2 callers
Method
_dump_log
(self, log_dict: Dict, runner)
mmcv/mmcv/runner/hooks/logger/text.py:208
↓ 2 callers
Method
_expand_betas
A helper function to expand the betas's first dim to match batch size such that the same beta parameters can be used for all frames in a
aios_repo/detrsmpl/models/registrants/smplify.py:778
↓ 2 callers
Method
_expand_betas
A helper function to expand the betas's first dim to match batch size such that the same beta parameters can be used for all frames in a
mmhuman3d/models/registrants/smplify.py:778
↓ 2 callers
Method
_export_chrome_trace
Exporting content.
sapiens/engine/mmengine/hooks/profiler_hook.py:270
↓ 2 callers
Method
_extract_feat
Extract features from the single modality. Args: inputs (Union[torch.Tensor, dict]): A batch of inputs. For image
sapiens/pretrain/mmpretrain/models/multimodal/blip/blip_retrieval.py:337
↓ 2 callers
Function
_fastforward
If the given module has only a single child and matches statistics with that child, merge statistics and their names into one row. Then repea
sapiens/engine/mmengine/analysis/print_helper.py:370
↓ 2 callers
Method
_file2dict
(filename)
aios_repo/util/config.py:77
↓ 2 callers
Function
_filtered_lrelu_cuda
Fast CUDA implementation of `filtered_lrelu()` using custom ops. Args: up (int): Integer upsampling factor. Defaults to 1. down (
sapiens/cv/mmcv/ops/filtered_lrelu.py:246
↓ 2 callers
Method
_flatten
Flatten the dict.
sapiens/engine/mmengine/visualization/vis_backend.py:860
↓ 2 callers
Method
_flip
Flip images, bounding boxes and semantic segmentation map.
sapiens/seg/mmseg/datasets/transforms/transforms.py:1113
↓ 2 callers
Method
_flip
(img, direction: Tuple[bool, bool, bool])
sapiens/seg/mmseg/datasets/transforms/transforms.py:2327
↓ 2 callers
Function
_flip_axis_angle
Flip axis_angle horizontally. Args: r (np.ndarray([3])) Returns: f_flipped
aios_repo/detrsmpl/data/datasets/pipelines/transforms.py:264
↓ 2 callers
Method
_flip_seg_map
Flip segmentation map horizontally, vertically or diagonally. Args: seg_map (numpy.ndarray): segmentation map, shape (H, W).
sapiens/cv/mmcv/transforms/processing.py:1294
↓ 2 callers
Function
_flip_smpl_pose
Flip SMPL pose parameters horizontally. Args: pose (np.ndarray([72])): SMPL pose parameters Returns: pose_flipped
mmhuman3d/data/datasets/pipelines/transforms.py:214
↓ 2 callers
Function
_format_pred
format various label to List[indices].
sapiens/pretrain/mmpretrain/evaluation/metrics/retrieval.py:427
↓ 2 callers
Function
_format_target
format various label to List[indices].
sapiens/pretrain/mmpretrain/evaluation/metrics/retrieval.py:451
↓ 2 callers
Method
_forward
GAU Forward function.
sapiens/pose/mmpose/models/utils/rtmcc_block.py:264
↓ 2 callers
Method
_forward_feature
Forward function for feature maps before classifying each pixel with ``self.cls_seg`` fc. Args: inputs (list[Tensor]): Li
sapiens/seg/mmseg/models/decode_heads/psp_head.py:123
↓ 2 callers
Method
_forward_head
Forward for head part which is called after every decoder layer. Args: decoder_out (Tensor): in shape (batch_size, num_queries, c
sapiens/det/mmdet/models/dense_heads/mask2former_head.py:365
↓ 2 callers
Method
_forward_head
Forward for head part which is called after every decoder layer. Args: decoder_out (Tensor): in shape (num_queries, batch_size, c
sapiens/det/mmdet/models/tracking_heads/mask2former_track_head.py:468
↓ 2 callers
Method
_freeze_stages
(self)
aios_repo/detrsmpl/models/backbones/resnet.py:607
↓ 2 callers
Method
_freeze_stages
(self)
aios_repo/models/aios/backbones/swin_transformer.py:651
↓ 2 callers
Method
_freeze_stages
(self)
mmhuman3d/models/backbones/resnet.py:617
↓ 2 callers
Method
_freeze_stages
Freeze stages param and norm stats.
sapiens/seg/mmseg/models/backbones/hrnet.py:598
↓ 2 callers
Method
_freeze_stages
Freeze stages param and norm stats.
sapiens/seg/mmseg/models/backbones/resnet.py:668
↓ 2 callers
Method
_freeze_stages
(self)
sapiens/pretrain/mmpretrain/models/backbones/vig.py:686
↓ 2 callers
Method
_freeze_stages
(self)
sapiens/pretrain/mmpretrain/models/backbones/densenet.py:348
↓ 2 callers
Method
_freeze_stages
(self)
sapiens/pretrain/mmpretrain/models/backbones/convnext.py:413
↓ 2 callers
Method
_freeze_stages
(self)
sapiens/pretrain/mmpretrain/models/backbones/riformer.py:391
↓ 2 callers
Method
_freeze_stages
(self)
sapiens/pretrain/mmpretrain/models/backbones/efficientformer.py:614
↓ 2 callers
Method
_freeze_stages
(self)
sapiens/pretrain/mmpretrain/models/backbones/convmixer.py:199
↓ 2 callers
Method
_freeze_stages
(self)
sapiens/pretrain/mmpretrain/models/backbones/poolformer.py:424
↓ 2 callers
Method
_freeze_stages
(self)
sapiens/pretrain/mmpretrain/models/backbones/resnet.py:649
↓ 2 callers
Method
_freeze_stages
Freeze patch_embed layer, some parameters and stages.
sapiens/pretrain/mmpretrain/models/selfsup/mocov3.py:136
↓ 2 callers
Method
_freeze_stages
Freeze parameters.
sapiens/pose/mmpose/models/backbones/hrnet.py:553
↓ 2 callers
Method
_freeze_stages
Freeze parameters.
sapiens/pose/mmpose/models/backbones/vipnas_resnet.py:580
↓ 2 callers
Method
_freeze_stages
(self)
sapiens/pose/mmpose/models/backbones/vgg.py:213
↓ 2 callers
Method
_freeze_stages
Freeze parameters.
sapiens/pose/mmpose/models/backbones/resnet.py:669
↓ 2 callers
Method
_fuse_glbctx
Fuse global context feats with roi feats. Args: roi_feats (Tensor): RoI features. glbctx_feat (Tensor): Global contex
sapiens/det/mmdet/models/roi_heads/scnet_roi_head.py:110
↓ 2 callers
Function
_get_3rd_point
To calculate the affine matrix, three pairs of points are required. This function is used to get the 3rd point, given 2D points a & b. The 3r
aios_repo/detrsmpl/data/datasets/pipelines/transforms.py:117
↓ 2 callers
Function
_get_3rd_point
To calculate the affine matrix, three pairs of points are required. This function is used to get the 3rd point, given 2D points a & b. The 3r
mmhuman3d/data/datasets/pipelines/transforms.py:108
↓ 2 callers
Function
_get_3rd_point
To calculate the affine matrix, three pairs of points are required. This function is used to get the 3rd point, given 2D points a & b. The 3r
sapiens/pose/mmpose/structures/bbox/transforms.py:373
↓ 2 callers
Function
_get_activation_fn
Return an activation function given a string
blade/models/transformer/transformer.py:313
↓ 2 callers
Function
_get_activation_fn
Return an activation function given a string.
aios_repo/detrsmpl/core/post_processing/speed_up/deciwatch.py:729
↓ 2 callers
Function
_get_activation_fn
Return an activation function given a string.
aios_repo/models/aios/utils.py:192
↓ 2 callers
Function
_get_activation_fn
Return an activation function given a string.
mmhuman3d/core/post_processing/speed_up/deciwatch.py:729
↓ 2 callers
Function
_get_batch_size
(dataloader)
sapiens/engine/mmengine/runner/_flexible_runner.py:1686
↓ 2 callers
Method
_get_bboxes_single
Transform outputs from the last decoder layer into bbox predictions for each image. Args: cls_score (Tensor): Box score l
aios_repo/detrsmpl/models/heads/detr_head.py:702
↓ 2 callers
Method
_get_border
Get final border for the target size. This function generates a ``final_border`` according to image's shape. The area between ``final
sapiens/det/mmdet/datasets/transforms/transforms.py:1970
↓ 2 callers
Function
_get_cfg_metainfo
Get target meta information from all 'metafile.yml' defined in `mode- index.yml` of external package. Args: package_path (str): Path
sapiens/engine/mmengine/config/utils.py:77
↓ 2 callers
Function
_get_clones
(module, N)
blade/models/transformer/transformer.py:309
↓ 2 callers
Function
_get_clones
(module, N)
mmhuman3d/core/post_processing/speed_up/deciwatch.py:710
↓ 2 callers
Method
_get_coarse_point_feats
Sample from fine grained features. Args: prev_output (list[Tensor]): Prediction of previous decode head. points (Tens
sapiens/seg/mmseg/models/decode_heads/point_head.py:186
↓ 2 callers
Function
_get_config_module
Load a configuration as a python module.
sapiens/det/mmdet/testing/_utils.py:60
↓ 2 callers
Method
_get_deconv_cfg
get deconv padding, output padding according to kernel size.
aios_repo/detrsmpl/models/heads/pare_head.py:464
↓ 2 callers
Method
_get_deconv_cfg
get deconv padding, output padding according to kernel size.
mmhuman3d/models/heads/pare_head.py:464
↓ 2 callers
Method
_get_epoch
Get current epoch according to mode. Args: runner (Runner): The runner of the training/testing/validation process
sapiens/engine/mmengine/runner/log_processor.py:549
↓ 2 callers
Function
_get_external_cfg_base_path
Get base config path of external package. Args: package_path (str): Path of external package. cfg_name (str): External relative c
sapiens/engine/mmengine/config/utils.py:127
↓ 2 callers
Function
_get_file_backend
Return a file backend based on the prefix or backend_args. Args: prefix (str): Prefix of uri. backend_args (dict): Arguments to i
sapiens/engine/mmengine/fileio/io.py:112
↓ 2 callers
Method
_get_fine_grained_point_feats
Sample from fine grained features. Args: x (list[Tensor]): Feature pyramid from by neck or backbone. points (Tensor):
sapiens/seg/mmseg/models/decode_heads/point_head.py:162
↓ 2 callers
Method
_get_fine_grained_point_feats
Sample fine grained feats from each level feature map and concatenate them together. Args: x (tuple[Tensor]): Feature map
sapiens/det/mmdet/models/roi_heads/point_rend_roi_head.py:158
↓ 2 callers
Method
_get_heatmap_weights
Generate weight array for heatmaps. Args: heatmaps (np.ndarray): Root and keypoint (optional) heatmaps fg_weight (flo
sapiens/pose/mmpose/codecs/spr.py:148
↓ 2 callers
Function
_get_im2col_indices_along_dim
(g, input_d, kernel_size_d, dilation_d, padding_d, stride_d)
mmcv/mmcv/onnx/symbolic.py:215
↓ 2 callers
Method
_get_iter
Get current iteration index. Args: runner (Runner): The runner of the training/testing/validation process.
sapiens/engine/mmengine/runner/log_processor.py:531
↓ 2 callers
Method
_get_mask
Generate the heatmap mask w.r.t. the given mask, target weight and `skip_empty_channel` setting. Returns: Tensor: The mas
sapiens/pose/mmpose/models/losses/heatmap_loss.py:100
↓ 2 callers
Function
_get_mmengine_home
()
sapiens/engine/mmengine/runner/checkpoint.py:76
↓ 2 callers
Method
_get_ori_dataset_idx
Convert global index to local index. Args: idx: Global index of ``RepeatDataset``. Returns: idx (int): Local
sapiens/engine/mmengine/dataset/dataset_wrapper.py:283
↓ 2 callers
Function
_get_package_and_cfg_path
Get package name and relative config path. Args: cfg_path (str): External relative config path with 'package::'. Returns: Tu
sapiens/engine/mmengine/config/utils.py:142
↓ 2 callers
Method
_get_pad_shape
Get the pad_shape of each image based on data and pad_size_divisor.
sapiens/det/mmdet/models/data_preprocessors/data_preprocessor.py:179
↓ 2 callers
Method
_get_predictions
Post-process the output of head. Including softmax and set ``pred_label`` of data samples.
sapiens/pretrain/mmpretrain/models/heads/cls_head.py:165
↓ 2 callers
Method
_get_real_position
(self)
mmcv/mmcv/video/io.py:146
↓ 2 callers
Method
_get_real_position
(self)
sapiens/cv/mmcv/video/io.py:150
↓ 2 callers
Method
_get_serialized_subset
Get subset of serialized data information list. Args: indices (int or Sequence[int]): If type of indices is int,
sapiens/engine/mmengine/dataset/base_dataset.py:675
↓ 2 callers
Method
_get_serialized_subset
Get subset of serialized data information list. Args: indices (int or Sequence[int]): If type of indices is int,
sapiens/pretrain/mmpretrain/datasets/_airstore_base_dataset.py:676
↓ 2 callers
Method
_get_shape_mlp
mlp layers for shape regression.
aios_repo/detrsmpl/models/heads/pare_head.py:401
↓ 2 callers
Method
_get_shape_mlp
mlp layers for shape regression.
mmhuman3d/models/heads/pare_head.py:401
↓ 2 callers
Method
_get_subset_index
Given a data sample's global index, return the index of the sub- dataset the data sample belongs to, and the local index within that s
sapiens/seg/mmseg/datasets/general_dataset_wrappers.py:81
↓ 2 callers
Method
_get_subset_index
Given a data sample's global index, return the index of the sub- dataset the data sample belongs to, and the local index within that s
sapiens/seg/mmseg/datasets/dataset_wrappers.py:84
↓ 2 callers
Method
_get_subset_index
Given a data sample's global index, return the index of the sub- dataset the data sample belongs to, and the local index within that s
sapiens/seg/mmseg/datasets/normal_dataset_wrappers.py:81
↓ 2 callers
Method
_get_subset_index
Given a data sample's global index, return the index of the sub- dataset the data sample belongs to, and the local index within that s
sapiens/seg/mmseg/datasets/depth_dataset_wrappers.py:81
↓ 2 callers
Method
_get_subset_index
Given a data sample's global index, return the index of the sub- dataset the data sample belongs to, and the local index within that s
sapiens/pretrain/mmpretrain/datasets/dataset_wrappers.py:59
↓ 2 callers
Method
_get_subset_index
Given a data sample's global index, return the index of the sub- dataset the data sample belongs to, and the local index within that s
sapiens/pose/mmpose/datasets/dataset_wrappers.py:76
↓ 2 callers
Method
_get_transform_idx
Returns the index of the transform in a pipeline. If the transform is not found, returns -1.
sapiens/seg/mmseg/apis/mmseg_inferencer.py:399
↓ 2 callers
Method
_get_unfold_size
(unfold: nn.Unfold, input_size)
sapiens/pretrain/mmpretrain/models/backbones/t2t_vit.py:197
↓ 2 callers
Method
_get_valid_sigma
Ensure the `value_range` to be either a single value or a sequence of two values. If the `value_range` is a sequence, generate a random
sapiens/seg/mmseg/datasets/transforms/transforms.py:1957
↓ 2 callers
Method
_get_valid_value
Convert value to python built-in type. Args: value (torch.Tensor or np.ndarray or np.number or int or float): val
sapiens/engine/mmengine/logging/message_hub.py:352
↓ 2 callers
Method
_get_weight
(self, weight)
mmcv/mmcv/cnn/bricks/conv_ws.py:124
↓ 2 callers
Method
_get_weight
(self, weight: torch.Tensor)
sapiens/cv/mmcv/cnn/bricks/conv_ws.py:131
↓ 2 callers
Function
_group_by_module
Converts statistics organized first by statistic type and then by module to statistics organized first by module and then by statistic type.
sapiens/engine/mmengine/analysis/print_helper.py:110
↓ 2 callers
Function
_imrenormalize
Re-normalize the image.
sapiens/det/mmdet/models/utils/image.py:63
↓ 2 callers
Method
_indices_of_rank
Slice the infinite indices by rank.
sapiens/det/mmdet/datasets/samplers/multi_source_sampler.py:145
↓ 2 callers
Function
_init_group
Initialize a group, which is composed of the keypoints, keypoint scores and the tag of each keypoint.
sapiens/pose/mmpose/codecs/associative_embedding.py:97
↓ 2 callers
Method
_init_layers
Initialize layers of the head.
sapiens/det/mmdet/models/dense_heads/condinst_head.py:794
↓ 2 callers
Method
_init_rule
Initialize rule, key_indicator, comparison_func, and best score. If key_indicator is a list of string and rule is a string, all metric in
sapiens/engine/mmengine/hooks/checkpoint_hook.py:609
↓ 2 callers
Function
_initialize
(module: nn.Module, cfg: Dict, wholemodule: bool = False)
mmcv/mmcv/cnn/utils/weight_init.py:554
↓ 2 callers
Function
_initialize
(module, cfg, wholemodule=False)
sapiens/engine/mmengine/model/weight_init.py:540
↓ 2 callers
Method
_integral_xyz_target_generator
(self, joints_3d, joints_3d_vis, num_joints, depth_factor)
aios_repo/detrsmpl/data/datasets/pipelines/hybrik_transforms.py:713
↓ 2 callers
Method
_integral_xyz_target_generator
(self, joints_3d, joints_3d_vis, num_joints, depth_factor)
mmhuman3d/data/datasets/pipelines/hybrik_transforms.py:714
↓ 2 callers
Function
_interpolate_as
Interpolate the `source` (4D) to the shape of the `target`.
sapiens/det/mmdet/models/utils/misc.py:97
↓ 2 callers
Method
_is_in
check whether the `param_group` is in the`param_group_list`
sapiens/engine/mmengine/optim/optimizer/default_constructor.py:185
← previous
next →
2,101–2,200 of 19,095, ranked by callers