MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 2 callersFunctiondeform_conv_forward
mmcv/mmcv/ops/csrc/parrots/deform_conv.cpp:140
↓ 2 callersFunctiondeform_conv_forward
sapiens/cv/mmcv/ops/csrc/parrots/deform_conv.cpp:140
↓ 2 callersFunctiondeformable_im2col_impl
mmcv/mmcv/ops/csrc/pytorch/deform_conv.cpp:5
↓ 2 callersFunctiondeformable_im2col_impl
mmcv/mmcv/ops/csrc/parrots/deform_conv.cpp:5
↓ 2 callersFunctiondeformable_im2col_impl
sapiens/cv/mmcv/ops/csrc/pytorch/deform_conv.cpp:5
↓ 2 callersFunctiondeformable_im2col_impl
sapiens/cv/mmcv/ops/csrc/parrots/deform_conv.cpp:5
↓ 2 callersFunctiondenormalize
Denormalize input grid from range [0, 1] to [-1, 1] Args: grid (torch.Tensor): The grid to be denormalize, range [0, 1]. Returns:
mmcv/mmcv/ops/point_sample.py:135
↓ 2 callersMethoddeprecated_register_module
(self, cls=None, force=False)
mmcv/mmcv/utils/registry.py:299
↓ 2 callersFunctiondict2numpy
(input_dict)
blade/utils/torch_utils.py:118
↓ 2 callersMethoddict2tensor
Convert smpl pose dict to full pose tensor. Args: smpl_dict (dict): smpl pose dict. Returns: torch: full pos
aios_repo/detrsmpl/models/body_models/smpl.py:207
↓ 2 callersFunctiondigit_version
(version_str)
sapiens/seg/tools/deployment/pytorch2torchscript.py:47
↓ 2 callersFunctiondigit_version
Convert a version string into a tuple of integers. This method is usually used for comparing two versions. For pre-release versions: alpha <
sapiens/seg/mmseg/__init__.py:43
↓ 2 callersFunctiondispatch_model
Split and dispatch a model across devices. The function depends on the `accelerate` package. Refers to https://huggingface.co/docs/accelerate
sapiens/pretrain/mmpretrain/apis/utils.py:44
↓ 2 callersMethoddist_init
(self)
mmcv/tests/test_ops/test_syncbn.py:42
↓ 2 callersFunctiondmcn_im2col_bilinear_cpu
mmcv/mmcv/ops/csrc/pytorch/cpu/modulated_deform_conv.cpp:6
↓ 2 callersFunctiondmcn_im2col_bilinear_cpu
sapiens/cv/mmcv/ops/csrc/pytorch/cpu/modulated_deform_conv.cpp:6
↓ 2 callersMethoddn_post_process2
(self, outputs_class, outputs_coord, outputs_body_keypoints_list, mask_dict)
aios_repo/models/aios/aios_smplx_controlnet.py:1188
↓ 2 callersFunctiondownload_and_extract_archive
(url, download_root, extract_root=None,
sapiens/pretrain/mmpretrain/datasets/utils.py:238
↓ 2 callersFunctiondownload_one
(url, dir)
sapiens/det/tools/misc/download_dataset.py:68
↓ 2 callersFunctiondownload_single
(url, dir)
sapiens/det/tools/misc/download_dataset.py:98
↓ 2 callersMethoddraw_1d_heatmaps
Draw one-dimensional heatmap.
sapiens/pose/mmpose/visualization/simcc_vis.py:96
↓ 2 callersMethoddraw_bboxes
Draw single or multiple bboxes. Args: bboxes (Union[np.ndarray, torch.Tensor]): The bboxes to draw with the forma
sapiens/engine/mmengine/visualization/visualizer.py:739
↓ 2 callersMethoddraw_circles
Draw single or multiple circles. Args: center (Union[np.ndarray, torch.Tensor]): The x coordinate of each line' s
sapiens/pose/mmpose/visualization/opencv_backend_visualizer.py:114
↓ 2 callersMethoddraw_featmap
Draw featmap. - If `overlaid_image` is not None, the final output image will be the weighted sum of img and featmap. - If
sapiens/engine/mmengine/visualization/visualizer.py:945
↓ 2 callersMethoddraw_lines
Draw single or multiple line segments. Args: x_datas (Union[np.ndarray, torch.Tensor]): The x coordinate of each
sapiens/pose/mmpose/visualization/opencv_backend_visualizer.py:347
↓ 2 callersMethoddraw_polygons
Draw single or multiple bboxes. Args: polygons (Union[Union[np.ndarray, torch.Tensor],\ List[Union[np.ndarray, to
sapiens/pose/mmpose/visualization/opencv_backend_visualizer.py:399
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
DAv2/depth_anything_v2/dinov2_layers/block.py:133
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
DAv2/metric_depth/depth_anything_v2/dinov2_layers/block.py:133
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
DAv2/depth_anything_v2/dinov2_layers/block.py:204
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
DAv2/metric_depth/depth_anything_v2/dinov2_layers/block.py:204
↓ 2 callersFunctiondtype_bytes
(dtype: torch.dtype)
sapiens/pretrain/mmpretrain/apis/utils.py:266
↓ 2 callersFunctiondummy_func
(new_key=1)
mmcv/tests/test_utils/test_misc.py:237
↓ 2 callersFunctiondynamic_voxelize_forward
mmcv/mmcv/ops/csrc/parrots/voxelization.cpp:62
↓ 2 callersFunctiondynamic_voxelize_forward
sapiens/cv/mmcv/ops/csrc/parrots/voxelization.cpp:62
↓ 2 callersFunctionema_inplace
Update moving average.
sapiens/pretrain/mmpretrain/models/utils/vector_quantizer.py:42
↓ 2 callersMethodemd_loss
Calculate the emd loss. Note: This implementation is modified from https://github.com/Purkialo/ CrowdDet/blob/master/
sapiens/det/mmdet/models/roi_heads/bbox_heads/multi_instance_bbox_head.py:458
↓ 2 callersFunctionenc_camera_convention
convert camera convention to axis direction and order.
blade/cameras/convert_convention.py:84
↓ 2 callersMethodencode
(self, text)
sapiens/seg/mmseg/utils/tokenizer.py:183
↓ 2 callersMethodencode_decode
Encode the name of classes with text_encoder and encode images with image_encoder. Then decode the class embedding and visual feature
sapiens/seg/mmseg/models/segmentors/multimodal_encoder_decoder.py:149
↓ 2 callersMethodencode_decode
Encode images with backbone and decode into a depth map of the same size as input.
sapiens/seg/mmseg/models/segmentors/depth_estimator.py:143
↓ 2 callersMethodencode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
sapiens/seg/mmseg/models/segmentors/encoder_decoder.py:155
↓ 2 callersMethodencode_img
The function to encode the images.
sapiens/pretrain/mmpretrain/models/multimodal/minigpt4/minigpt4.py:192
↓ 2 callersMethodend_of_epoch
(self, runner)
mmcv/mmcv/runner/hooks/hook.py:87
↓ 2 callersMethodend_of_epoch
Check whether the current iteration reaches the last iteration of the dataloader. Args: dataloader (Dataloader): The data
sapiens/engine/mmengine/hooks/hook.py:414
↓ 2 callersFunctionensure_rng
Coerces input into a random number generator. If the input is None, then a global random state is returned. If the input is a numeric value,
aios_repo/util/utils.py:411
↓ 2 callersFunctioneval_map
Evaluate mAP of a dataset. Args: det_results (list[list]): [[cls1_det, cls2_det, ...], ...]. The outer list indicates images,
sapiens/det/mmdet/evaluation/functional/mean_ap.py:553
↓ 2 callersMethodevaluate
Invoke ``evaluate`` method of each metric and collect the metrics dictionary. Args: size (int): Length of the entire vali
sapiens/engine/mmengine/evaluator/evaluator.py:90
↓ 2 callersFunctionexpand_rates
expand dilation rate according to config. Args: dilation (int): _description_ config (dict): config dict Returns: li
sapiens/cv/mmcv/cnn/rfsearch/utils.py:46
↓ 2 callersFunctionexponential_smoothing
(a, x, x_prev)
aios_repo/detrsmpl/core/post_processing/smooth/oneeuro_filter.py:38
↓ 2 callersFunctionexponential_smoothing
(a, x, x_prev)
mmhuman3d/core/post_processing/smooth/oneeuro_filter.py:38
↓ 2 callersFunctionexport_nms_module_to_onnx
(module, onnx_file)
mmcv/tests/test_ops/test_tensorrt_preprocess.py:56
↓ 2 callersMethodextend
(self, N_batch: int, N_scene: int = 1)
aios_repo/detrsmpl/core/renderer/torch3d_renderer/meshes.py:201
↓ 2 callersMethodextend
(self, N_batch: int, N_scene: int = 1)
mmhuman3d/core/renderer/torch3d_renderer/meshes.py:199
↓ 2 callersMethodextract_feat
Placeholder for extract features from images.
sapiens/seg/mmseg/models/segmentors/base.py:78
↓ 2 callersMethodextract_feat
Extract feature from the input `x`, and split the output to a list. Args: x (Tensor): of shape [N, C, H, W]. N is the number of p
sapiens/det/mmdet/models/tracking_heads/roi_embed_head.py:154
↓ 2 callersMethodextract_feat
Extract features from the input tensor with shape (N, C, ...). Args: inputs (Tensor): A batch of inputs. The shape of it should b
sapiens/pretrain/mmpretrain/models/multimodal/blip/blip_grounding.py:129
↓ 2 callersMethodextract_keypoints
Check keypoints validiy and add confidence and bbox.
mmhuman3d/data/data_converters/mpi_inf_3dhp.py:59
↓ 2 callersFunctionfindLimit
mmcv/mmcv/ops/csrc/pytorch/mlu/psamask_mlu.cpp:87
↓ 2 callersFunctionflatten_binary_logits
Flattens predictions in the batch (binary case) Remove labels equal to 'ignore_index'.
sapiens/seg/mmseg/models/losses/lovasz_loss.py:58
↓ 2 callersFunctionflatten_probs
Flattens predictions in the batch.
sapiens/seg/mmseg/models/losses/lovasz_loss.py:71
↓ 2 callersFunctionflip_joints_3d
Flip 3d joints. Args: joints_3d (np.ndarray): joints in shape (N, 3, 2) width (int): Image width joint_pairs (list): flip
aios_repo/detrsmpl/data/datasets/pipelines/hybrik_transforms.py:286
↓ 2 callersFunctionflip_joints_3d
Flip 3d joints. Args: joints_3d (np.ndarray): joints in shape (N, 3, 2) width (int): Image width joint_pairs (list): flip
mmhuman3d/data/datasets/pipelines/hybrik_transforms.py:282
↓ 2 callersFunctionflip_keypoints
Flip keypoints in the given direction. Note: - keypoint number: K - keypoint dimension: D Args: keypoints (np.ndarr
sapiens/pose/mmpose/structures/keypoint/transforms.py:35
↓ 2 callersFunctionflip_keypoints_custom_center
Flip human joints horizontally. Note: - num_keypoint: K - dimension: D Args: keypoints (np.ndarray([..., K, D])): Co
sapiens/pose/mmpose/structures/keypoint/transforms.py:95
↓ 2 callersMethodflip_pose
flip SMPL pose parameters.
aios_repo/detrsmpl/models/utils/fits_dict.py:125
↓ 2 callersMethodflip_pose
flip SMPL pose parameters.
mmhuman3d/models/utils/fits_dict.py:126
↓ 2 callersFunctionflip_vectors
Flip instance-level labels in specific axis for test-time augmentation. Args: x_labels (Tensor): The vector labels in x-axis to flip. Sho
sapiens/pose/mmpose/models/utils/tta.py:99
↓ 2 callersFunctionflip_xyz_joints_3d
Flip 3d xyz joints. Args: joints_3d (np.ndarray): Joints in shape (N, 3) joint_pairs (list): flip pairs for joints Returns:
aios_repo/detrsmpl/data/datasets/pipelines/hybrik_transforms.py:317
↓ 2 callersFunctionflip_xyz_joints_3d
Flip 3d xyz joints. Args: joints_3d (np.ndarray): Joints in shape (N, 3) joint_pairs (list): flip pairs for joints Returns:
mmhuman3d/data/datasets/pipelines/hybrik_transforms.py:313
↓ 2 callersFunctionflops_to_string
Convert FLOPs number into a string. Note that Here we take a multiply-add counts as one FLOP. Args: flops (float): FLOPs number to b
sapiens/cv/mmcv/cnn/utils/flops_counter.py:150
↓ 2 callersMethodformat_input
(input_)
sapiens/pretrain/mmpretrain/datasets/transforms/formatting.py:134
↓ 2 callersFunctionformat_score
Convert various python types to score-format tensor. Supported types are: :class:`numpy.ndarray`, :class:`torch.Tensor`, :class:`Sequence`.
sapiens/pretrain/mmpretrain/structures/utils.py:83
↓ 2 callersFunctionformat_size
(x: int)
sapiens/engine/mmengine/analysis/complexity_analysis.py:348
↓ 2 callersMethodforward
Forward pass for the MANO model
blade/models/body_models/mano.py:70
↓ 2 callersMethodforward
Interpolate the vertex attributes to a map. Args: verts_attr (Optional[torch.Tensor]): shape should be (N, V, C),
aios_repo/detrsmpl/core/renderer/torch3d_renderer/uv_renderer.py:235
↓ 2 callersMethodforward
Forward function for `Transformer`. Args: x (Tensor): Input query with shape [bs, c, h, w] where c = embed_dims.
aios_repo/detrsmpl/models/utils/transformer.py:331
↓ 2 callersMethodforward
(target_mlus, input)
mmcv/mmcv/device/mlu/_functions.py:45
↓ 2 callersMethodforward
(target_gpus, input)
mmcv/mmcv/parallel/_functions.py:87
↓ 2 callersMethodforward
Interpolate the vertex attributes to a map. Args: verts_attr (Optional[torch.Tensor]): shape should be (N, V, C),
mmhuman3d/core/renderer/torch3d_renderer/uv_renderer.py:232
↓ 2 callersMethodforward
Placeholder of forward function.
sapiens/seg/mmseg/models/decode_heads/decode_head.py:265
↓ 2 callersMethodforward
(self, fine_grained_point_feats, coarse_point_feats)
sapiens/seg/mmseg/models/decode_heads/point_head.py:154
↓ 2 callersMethodforward
Forward function.
sapiens/seg/mmseg/models/decode_heads/enc_head.py:162
↓ 2 callersMethodforward
Forward function. Args: inputs (Tuple[Tensor]): A triplet including images, list of multi-level visual features from
sapiens/seg/mmseg/models/decode_heads/san_head.py:557
↓ 2 callersMethodforward
Placeholder of forward function.
sapiens/seg/mmseg/models/decode_heads/cascade_decode_head.py:47
↓ 2 callersMethodforward
(self, inputs)
sapiens/seg/mmseg/models/decode_heads/vit_hdri_head.py:176
↓ 2 callersMethodforward
resize a batch of images and bboxes.
sapiens/det/mmdet/models/data_preprocessors/data_preprocessor.py:627
↓ 2 callersMethodforward
Sparse layer norm forward function with 2D data. Args: x (torch.Tensor): The input tensor. data_format (str): The for
sapiens/pretrain/mmpretrain/models/utils/sparse_modules.py:132
↓ 2 callersMethodforward
Generate features for masked images. The function supports two kind of forward behaviors. If the ``mask`` is ``True``, the function w
sapiens/pretrain/mmpretrain/models/selfsup/itpn.py:307
↓ 2 callersMethodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
sapiens/pretrain/mmpretrain/models/multimodal/blip/language_model.py:524
↓ 2 callersMethodforward
Forward the network. The input is multi scale feature maps and the output is the coordinates. Args: feats (Tuple[Tensor])
sapiens/pose/mmpose/models/heads/regression_heads/temporal_regression_head.py:89
↓ 2 callersMethodforward
Forward the network. The input is multi scale feature maps and the output is the coordinates. Args: feats (Tuple[Tensor])
sapiens/pose/mmpose/models/heads/regression_heads/trajectory_regression_head.py:89
↓ 2 callersMethodforward
Forward the network. The input is multi scale feature maps and the output is the heatmap. Args: feats (Tuple[Tensor]): Mu
sapiens/pose/mmpose/models/heads/heatmap_heads/pose3d_heatmap_head.py:150
↓ 2 callersMethodforward
(self, feats: Tensor)
sapiens/pose/mmpose/models/heads/heatmap_heads/cid_head.py:117
↓ 2 callersMethodforward_attn
Forward process for `ConditionalAttention`. Args: query (Tensor): The input query with shape [bs, num_queries, em
sapiens/det/mmdet/models/layers/transformer/utils.py:530
↓ 2 callersMethodforward_decoder
Forward with Transformer decoder. The forward procedure of the transformer is defined as: 'pre_transformer' -> 'encoder' -> 'pre_deco
sapiens/det/mmdet/models/detectors/dino.py:244
↓ 2 callersMethodforward_features
(self, x)
sapiens/pretrain/mmpretrain/models/backbones/replknet.py:649
↓ 2 callersMethodforward_p
(self, x, cond=None)
blade/models/layers/realnvp.py:59
↓ 2 callersMethodforward_raw
Forward function.
aios_repo/models/aios/backbones/swin_transformer.py:693
↓ 2 callersMethodforward_single
Scatters points into voxels. Args: points (torch.Tensor): Points to be reduced into voxels. coors (torch.Tensor): Cor
mmcv/mmcv/ops/scatter_points.py:106
↓ 2 callersMethodforward_single
Scatters points into voxels. Args: points (torch.Tensor): Points to be reduced into voxels. coors (torch.Tensor): Cor
sapiens/cv/mmcv/ops/scatter_points.py:119
← previousnext →2,501–2,600 of 19,095, ranked by callers