MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 2 callersFunctionparse_require_file
(fpath)
sapiens/engine/setup.py:105
↓ 2 callersFunctionparse_require_file
(fpath)
sapiens/seg/setup.py:96
↓ 2 callersFunctionparse_require_file
(fpath)
sapiens/det/setup.py:129
↓ 2 callersFunctionparse_require_file
(fpath)
sapiens/pretrain/setup.py:97
↓ 2 callersFunctionparse_require_file
(fpath)
sapiens/pose/setup.py:122
↓ 2 callersMethodpatchify
r"""Split images into non-overlapped patches. Args: imgs (torch.Tensor): A batch of images. The shape should be :
sapiens/pretrain/mmpretrain/models/heads/mae_head.py:56
↓ 2 callersMethodpatchify
r"""Split images into non-overlapped patches. Args: imgs (torch.Tensor): A batch of images. The shape should be :
sapiens/pretrain/mmpretrain/models/heads/mae_head2.py:56
↓ 2 callersMethodpatchify
Split images into non-overlapped patches. Args: imgs (torch.Tensor): A batch of images, of shape B x C x H x W. Returns:
sapiens/pretrain/mmpretrain/models/heads/spark_head.py:56
↓ 2 callersFunctionpermute_and_flatten
Permute and then flatten a tensor, from size (N, A, C, H, W) to (N, H * W * A, C). Args: layer (Tensor): Tensor of shape (N, C, H
sapiens/det/mmdet/models/utils/vlfuse_helper.py:62
↓ 2 callersFunctionperspective_projection
(vertices, focal_length)
blade/utils/helpers.py:68
↓ 2 callersFunctionperspective_projection
This function computes the perspective projection of a set of points. Input: points (bs, N, 3): 3D points rotation (bs, 3, 3): Ca
aios_repo/detrsmpl/utils/geometry.py:270
↓ 2 callersFunctionpixel_group
Group pixels into text instances, which is widely used text detection methods. Arguments: score (np.array or torch.Tensor): The foreg
mmcv/mmcv/ops/pixel_group.py:36
↓ 2 callersFunctionpoints_in_boxes_all
Find all boxes in which each point is (CUDA). Args: points (torch.Tensor): [B, M, 3], [x, y, z] in LiDAR/DEPTH coordinate boxes (
mmcv/mmcv/ops/points_in_boxes.py:121
↓ 2 callersFunctionpoints_in_boxes_cpu
Find all boxes in which each point is (CPU). The CPU version of :meth:`points_in_boxes_all`. Args: points (torch.Tensor): [B, M, 3],
mmcv/mmcv/ops/points_in_boxes.py:83
↓ 2 callersFunctionpoints_in_boxes_part
Find the box in which each point is (CUDA). Args: points (torch.Tensor): [B, M, 3], [x, y, z] in LiDAR/DEPTH coordinate. boxes (t
mmcv/mmcv/ops/points_in_boxes.py:35
↓ 2 callersFunctionpolicyFunc
policy function
mmcv/mmcv/ops/csrc/pytorch/mlu/tin_shift_mlu.cpp:32
↓ 2 callersFunctionpolicyFunc
mmcv/mmcv/ops/csrc/pytorch/mlu/roi_align_rotated_mlu.cpp:18
↓ 2 callersFunctionpolicyFunc
mmcv/mmcv/ops/csrc/pytorch/mlu/psamask_mlu.cpp:43
↓ 2 callersFunctionpolicyFunc
policy function
sapiens/cv/mmcv/ops/csrc/pytorch/mlu/masked_conv2d_mlu.cpp:31
↓ 2 callersMethodpostprocess_result
Convert results list to `SegDataSample`. Args: seg_logits (Tensor): The segmentation results, seg_logits from mod
sapiens/seg/mmseg/models/segmentors/base.py:155
↓ 2 callersMethodpre_transformer
Prepare the inputs of the Transformer. The forward procedure of the transformer is defined as: 'pre_transformer' -> 'encoder' -> 'pre
sapiens/det/mmdet/models/detectors/detr.py:78
↓ 2 callersMethodpredict
Predict results from a batch of inputs and data samples with post- processing.
sapiens/seg/mmseg/models/segmentors/base.py:137
↓ 2 callersMethodpredict_by_feat
Transform a batch of output features extracted from the head into bbox results. Note: When score_factors is not None, the cls_scores
sapiens/det/mmdet/models/dense_heads/base_dense_head.py:229
↓ 2 callersMethodpredict_by_feat
Transform network outputs for a batch into bbox predictions. Args: layer_cls_scores (Tensor): Classification outputs of the last
sapiens/det/mmdet/models/dense_heads/detr_head.py:557
↓ 2 callersMethodpredict_mask
Perform forward propagation of the mask head and predict detection results on the features of the upstream network. Args:
sapiens/det/mmdet/models/roi_heads/scnet_roi_head.py:565
↓ 2 callersMethodpredict_pelvis_tz
(self, data_batch, predictions)
blade/models/architectures/blade.py:1495
↓ 2 callersMethodprepare_data
Get data processed by ``self.pipeline``. Args: idx (int): The index of ``data_info``. Returns: Any: Depends
sapiens/engine/mmengine/dataset/base_dataset.py:807
↓ 2 callersMethodprepare_data
Prepare data for the subsequent pipeline. Args: video_infos (dict): The whole video information. sampled_inds (list[i
sapiens/det/mmdet/datasets/transforms/frame_sampling.py:52
↓ 2 callersMethodprepare_prototype
Preprocessing the prototype before predict.
sapiens/pretrain/mmpretrain/models/retrievers/base.py:169
↓ 2 callersMethodprepare_prototype
Used in meta testing. This function will be called before the meta testing. Obtain the vector based on the prototype. - torch.Tensor:
sapiens/pretrain/mmpretrain/models/retrievers/image2image.py:311
↓ 2 callersMethodprepare_raw_data
Get item from self.human_data.
aios_repo/detrsmpl/data/datasets/human_image_dataset.py:186
↓ 2 callersMethodprepare_raw_data
Get item from self.human_data.
mmhuman3d/data/datasets/human_image_dataset.py:184
↓ 2 callersMethodprepare_targets
(self, data_batch: dict)
blade/models/architectures/blade.py:730
↓ 2 callersMethodprepare_targets
(self, data_batch)
aios_repo/models/aios/aios_smplx_controlnet.py:3768
↓ 2 callersMethodprepare_targets_depthonly
(self, data_batch: dict)
blade/models/architectures/blade.py:704
↓ 2 callersMethodpreprocess_single
Process a single input into a model-feedable format. Args: input (InputType): The input provided by the user. index (
sapiens/pose/mmpose/apis/inferencers/pose3d_inferencer.py:154
↓ 2 callersMethodpreprocess_text
(self, data_samples)
sapiens/pretrain/mmpretrain/models/multimodal/blip/blip_nlvr.py:102
↓ 2 callersMethodprint_time
print times per count.
sapiens/engine/mmengine/utils/dl_utils/time_counter.py:151
↓ 2 callersMethodprocess
(self)
api/BLADE_API.py:130
↓ 2 callersMethodprocess
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to c
sapiens/engine/mmengine/evaluator/metric.py:103
↓ 2 callersMethodprocess
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to c
sapiens/det/mmdet/evaluation/metrics/voc_metric.py:102
↓ 2 callersMethodprocess_embedding
(self, embedding, pos_embedding=None,
sapiens/pretrain/mmpretrain/models/multimodal/ofa/ofa_modules.py:871
↓ 2 callersFunctionprocess_grid_sample
(func, input, grid, ort_custom_op_path='')
mmcv/tests/test_ops/test_onnx.py:66
↓ 2 callersFunctionprocess_human_model_output_batch_ubody
(human_model_param, do_flip, rot,
aios_repo/util/preprocessing.py:507
↓ 2 callersFunctionprocess_images
Visualize predicted keypoints (and heatmaps) of one image.
sapiens/pose/demo/video_demo_optimized.py:264
↓ 2 callersFunctionprocess_one_image
Visualize predicted keypoints (and heatmaps) of one image.
sapiens/pose/tools/process/pose_video_process.py:62
↓ 2 callersFunctionprocess_one_image
Visualize predicted keypoints (and heatmaps) of one image.
sapiens/pose/demo/topdown_demo_with_mmdet.py:55
↓ 2 callersFunctionprocess_one_image
Visualize predicted keypoints (and heatmaps) of one image.
sapiens/pose/demo/bottomup_demo.py:46
↓ 2 callersMethodproject_
Geometric transformat boxes in-place. Args: homography_matrix (Tensor or np.ndarray]): Shape (3, 3) for geometric
sapiens/det/mmdet/structures/bbox/base_boxes.py:457
↓ 2 callersMethodproject_ndc
vertices: torch.Tensor of shape (N, 3), 3 stands for xyz
aios_repo/detrsmpl/core/renderer/mpr_renderer/camera.py:51
↓ 2 callersMethodprompt_wrap
The function to wrap the image and prompt. Currently, the function only supports applying one prompt to all input images in the one b
sapiens/pretrain/mmpretrain/models/multimodal/minigpt4/minigpt4.py:214
↓ 2 callersMethodprune_heads
(self, heads)
sapiens/pretrain/mmpretrain/models/multimodal/blip/language_model.py:386
↓ 2 callersFunctionrandom_boxes
Simple version of ``kwimage.Boxes.random`` Returns: Tensor: shape (n, 4) in x1, y1, x2, y2 format. References: https://gitla
sapiens/det/mmdet/models/task_modules/samplers/sampling_result.py:42
↓ 2 callersMethodrandom_masking
( self, x: torch.Tensor, mask_ratio: float = 0.75 )
sapiens/pretrain/mmpretrain/models/selfsup/mae_sapiens2.py:91
↓ 2 callersFunctionread_deformation_transfer
Reads a deformation transfer
smplx_repo/transfer_model/utils/def_transfer.py:51
↓ 2 callersFunctionread_sn3_pascalvincent_tensor
Read a SN3 file in "Pascal Vincent" format (Lush file 'libidx/idx- io.lsh'). Argument may be a filename, compressed filename, or file object.
sapiens/pretrain/mmpretrain/datasets/mnist.py:214
↓ 2 callersFunctionreduce_mean
Obtain the mean of tensor on different GPUs.
aios_repo/detrsmpl/utils/dist_utils.py:84
↓ 2 callersFunctionrefine_keypoints_dark_udp
Refine keypoint predictions using distribution aware coordinate decoding for UDP. See `UDP`_ for details. The operation is in-place. Note:
sapiens/pose/mmpose/codecs/utils/refinement.py:133
↓ 2 callersFunctionrefine_simcc_dark
SimCC version. Refine keypoint predictions using distribution aware coordinate decoding for UDP. See `UDP`_ for details. The operation is in-
sapiens/pose/mmpose/codecs/utils/refinement.py:196
↓ 2 callersFunctionreflect_coordinates
mmcv/mmcv/ops/csrc/onnxruntime/cpu/gridSample.cpp:49
↓ 2 callersMethodreg_pred
Predict bucketing estimation (cls_pred) and fine regression (offset pred) with side-aware features.
sapiens/det/mmdet/models/roi_heads/bbox_heads/sabl_head.py:298
↓ 2 callersMethodregister
(self, module)
sapiens/pose/mmpose/utils/hooks.py:41
↓ 2 callersFunctionregister_hf_model
Register HuggingFace-style PreTrainedModel class.
sapiens/pretrain/mmpretrain/models/utils/huggingface.py:82
↓ 2 callersMethodregister_hook
Register a hook into the hook list. The hook will be inserted into a priority queue, with the specified priority (See :class:`Priorit
sapiens/engine/mmengine/runner/_flexible_runner.py:1308
↓ 2 callersFunctionregister_hooks
(mod: nn.Module, name: str)
sapiens/engine/mmengine/analysis/jit_analysis.py:202
↓ 2 callersMethodregister_scheme
Register a loader to CheckpointLoader. This method can be used as a normal class method or a decorator. Args: prefixes (
mmcv/mmcv/runner/checkpoint.py:252
↓ 2 callersMethodregress_by_class
Regress the bbox for the predicted class. Used in Cascade R-CNN. Args: priors (Tensor): Priors from `rpn_head` or last stage
sapiens/det/mmdet/models/roi_heads/bbox_heads/bbox_head.py:708
↓ 2 callersFunctionrel_roi_point_to_rel_img_point
Convert roi based relative point coordinates to image based absolute point coordinates. Args: rois (torch.Tensor): RoIs or BBoxes, sh
mmcv/mmcv/ops/point_sample.py:254
↓ 2 callersMethodremove
Remove a file. Args: filepath (str or Path): Path to be removed. Raises: FileNotFoundError: If filepath does
sapiens/engine/mmengine/fileio/backends/petrel_backend.py:591
↓ 2 callersMethodrender_map
Interpolate the vertex attributes to a map. Args: verts_attr (Optional[torch.Tensor]): shape should be (N, V, C),
blade/render/explicit/pytorch3d_wrapper/renderers/uv_renderer.py:293
↓ 2 callersMethodrender_mesh
Compute loss for part segmentations.
blade/models/architectures/blade.py:2542
↓ 2 callersFunctionrender_smpl
Render SMPL or SMPL-X mesh or silhouette into differentiable tensors, and export video or images. Args: # smpl parameters: po
aios_repo/detrsmpl/core/visualization/visualize_smpl.py:456
↓ 2 callersFunctionreorder_cls_channel
(val, num_classes=81)
sapiens/det/tools/model_converters/upgrade_model_version.py:74
↓ 2 callersMethodrepr
mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:924
↓ 2 callersMethodrepr
sapiens/cv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:925
↓ 2 callersFunctionrescale_size
Calculate the new size to be rescaled to. Args: old_size (tuple[int]): The old size (w, h) of image. scale (float | tuple[int]):
mmcv/mmcv/image/geometric.py:219
↓ 2 callersFunctionrescale_size
Calculate the new size to be rescaled to. Args: old_size (tuple[int]): The old size (w, h) of image. scale (float | int | tuple[i
sapiens/cv/mmcv/image/geometric.py:247
↓ 2 callersMethodreset
Resets the step and attention stores to their initial states.
sapiens/seg/mmseg/models/backbones/vpd.py:161
↓ 2 callersFunctionresize
(ori_shape, size, max_size=None)
aios_repo/util/preprocessing.py:82
↓ 2 callersFunctionresize_decomposed_rel_pos
Get relative positional embeddings according to the relative positions of query and key sizes. Args: q_size (int): size of query q.
sapiens/pretrain/mmpretrain/models/backbones/mvit.py:48
↓ 2 callersMethodresize_pos_embed
Resize pos_embed weights. Resize pos_embed using bicubic interpolate method. Args: pos_embed (torch.Tensor): Position emb
sapiens/seg/mmseg/models/backbones/vit.py:444
↓ 2 callersMethodresize_rel_pos_embed
Resize relative pos_embed weights. This function is modified from https://github.com/microsoft/unilm/blob/master/beit/semantic_segmen
sapiens/seg/mmseg/models/backbones/beit.py:463
↓ 2 callersFunctionresize_relative_position_bias_table
Resize relative position bias table. Args: src_shape (int): The resolution of downsampled origin training image, in format (H
sapiens/pretrain/mmpretrain/models/utils/embed.py:90
↓ 2 callersFunctionresolve
(path)
smplx_repo/transfer_model/view_pkl.py:153
↓ 2 callersMethodresults2json
Dump the detection results to a COCO style json file. There are 3 types of results: proposals, bbox predictions, mask predictions, an
sapiens/det/mmdet/evaluation/metrics/coco_metric.py:238
↓ 2 callersFunctionrevert_heatmap
Revert predicted heatmap on the original image. Args: heatmap (np.ndarray or torch.tensor): predicted heatmap. bbox_center (np.nd
sapiens/pose/mmpose/structures/utils.py:110
↓ 2 callersFunctionrevert_sync_batchnorm
Helper function to convert all `SyncBatchNorm` (SyncBN) and `mmcv.ops.sync_bn.SyncBatchNorm`(MMSyncBN) layers in the model to `BatchNormXd` la
mmcv/mmcv/cnn/utils/sync_bn.py:46
↓ 2 callersMethodrfp_forward
The forward function that also takes the RFP features as input.
sapiens/det/mmdet/models/backbones/detectors_resnet.py:101
↓ 2 callersMethodrm_self_attn_modules
(self)
aios_repo/models/aios/transformer_deformable.py:139
↓ 2 callersMethodroi_rescale
Scale RoI coordinates by scale factor. Args: rois (Tensor): RoI (Region of Interest), shape (n, 5) scale_factor (floa
sapiens/det/mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:98
↓ 2 callersFunctionrotate_2d
(pt_2d, rot_rad)
aios_repo/util/preprocessing.py:366
↓ 2 callersMethodrotate_pose
Rotate SMPL pose parameters by rot degrees.
aios_repo/detrsmpl/models/utils/fits_dict.py:136
↓ 2 callersMethodrotate_pose
Rotate SMPL pose parameters by rot degrees.
mmhuman3d/models/utils/fits_dict.py:137
↓ 2 callersFunctionrotated_feature_align_backward
mmcv/mmcv/ops/csrc/parrots/rotated_feature_align.cpp:32
↓ 2 callersFunctionrotated_feature_align_backward
sapiens/cv/mmcv/ops/csrc/parrots/rotated_feature_align.cpp:32
↓ 2 callersFunctionrotated_feature_align_forward
mmcv/mmcv/ops/csrc/parrots/rotated_feature_align.cpp:24
↓ 2 callersFunctionrotated_feature_align_forward
sapiens/cv/mmcv/ops/csrc/parrots/rotated_feature_align.cpp:24
↓ 2 callersFunctionrotation_matrix_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to Rodrigues vector Args: rotation_ma
aios_repo/detrsmpl/utils/geometry.py:113
↓ 2 callersFunctionrotation_matrix_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to Rodrigues vector Args: rotation_ma
mmhuman3d/utils/geometry.py:98
↓ 2 callersFunctionrow
(A)
smplx_repo/transfer_model/utils/mesh_utils.py:44
← previousnext →2,901–3,000 of 19,095, ranked by callers