MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 2 callersFunctionrun
Launch test.
sapiens/seg/tools/deployment/torch_optimization.py:289
↓ 2 callersMethodrun_iter
(self, data_batch, train_mode, **kwargs)
mmcv/mmcv/runner/epoch_based_runner.py:47
↓ 2 callersMethodrun_model
(self, data_dict)
mmcv/mmcv/device/ipu/model_wrapper.py:297
↓ 2 callersFunctionrun_ner
Run NER on a caption and return the tokens and noun phrases. Args: caption (str): The input caption. Returns: Tuple[List, Lis
sapiens/det/mmdet/models/detectors/glip.py:96
↓ 2 callersMethodsample_iuv
(self, resolution=None)
blade/render/explicit/pytorch3d_wrapper/renderers/uv_renderer.py:278
↓ 2 callersMethodsample_textures
Rewrite sample_textures to use the nearest interpolation. This function will only be called in render forwarding.
blade/render/explicit/pytorch3d_wrapper/textures/textures.py:32
↓ 2 callersMethodsanitize_coordinates
Sanitizes the input coordinates so that x1 < x2, x1 != x2, x1 >= 0, and x2 <= image_size. Also converts from relative to absolute coor
sapiens/det/mmdet/models/dense_heads/yolact_head.py:1007
↓ 2 callersFunctionsatisfy_requirement
(dep)
sapiens/pretrain/mmpretrain/utils/dependency.py:38
↓ 2 callersFunctionsave_anns
(name, images, annotations)
sapiens/det/tools/misc/split_coco.py:82
↓ 2 callersFunctionsave_batch_heatmaps
batch_image: [batch_size, channel, height, width] batch_heatmaps: ['batch_size, num_joints, height, width] file_name: saved file name
sapiens/pose/mmpose/engine/hooks/custom_visualization_hook.py:217
↓ 2 callersMethodsave_batch_heatmaps
batch_image: [batch_size, channel, height, width] batch_heatmaps: ['batch_size, num_joints, height, width] file_name: saved f
sapiens/pose/mmpose/engine/hooks/general_visualization_hook.py:159
↓ 2 callersFunctionsave_batch_image_with_joints
batch_image: [batch_size, channel, height, width] batch_joints: [batch_size, num_joints, 3], batch_joints_vis: [batch_size, num_joints, 1
sapiens/pose/mmpose/engine/hooks/custom_visualization_hook.py:289
↓ 2 callersMethodsave_batch_image_with_joints
batch_image: [batch_size, channel, height, width] batch_joints: [batch_size, num_joints, 3], batch_joints_vis: [batch_size, n
sapiens/pose/mmpose/engine/hooks/pose3d_visualization_hook.py:232
↓ 2 callersMethodsave_batch_image_with_joints
batch_image: [batch_size, channel, height, width] batch_joints: [batch_size, num_joints, 3], batch_joints_vis: [batch_size, n
sapiens/pose/mmpose/engine/hooks/general_visualization_hook.py:239
↓ 2 callersMethodsave_batch_image_with_pose3d
(self, batch_image, batch_joints, batch_target_weight, file_name, dataset_info=None, is_rgb=True, nrow=8, padd
sapiens/pose/mmpose/engine/hooks/pose3d_visualization_hook.py:188
↓ 2 callersMethodsave_checkpoint
Save checkpoints. ``CheckpointHook`` invokes this method to save checkpoints periodically. Args: out_dir (str):
sapiens/engine/mmengine/runner/runner.py:2169
↓ 2 callersFunctionsave_imgs
(result_dir, folder_name, results, dataset, rescale_factor=None)
sapiens/pretrain/tools/analysis_tools/analyze_results.py:77
↓ 2 callersFunctionsave_result
Saving predictions as json file for evaluation.
sapiens/pretrain/mmpretrain/evaluation/metrics/caption.py:123
↓ 2 callersMethodsave_result
(self, anchors, path=None)
sapiens/det/tools/analysis_tools/optimize_anchors.py:173
↓ 2 callersFunctionscale_bbox
(bbox, scale_factor=1.0, bbox_format='xyxy')
blade/utils/bbox_utils.py:357
↓ 2 callersMethodscale_loss
Get scaled loss according to ``_accumulative_counts``, ``_inner_count`` and max_counts. Args: loss (torch.Tensor): Origin
sapiens/engine/mmengine/optim/optimizer/optimizer_wrapper.py:403
↓ 2 callersFunctionscaled_all_reduce
Performs the scaled all_reduce operation on the provided tensors. The input tensors are modified in-place. Currently supports only the sum re
sapiens/pretrain/mmpretrain/engine/hooks/precise_bn_hook.py:56
↓ 2 callersFunctionscatter
Scatter inputs to target mlu. The only difference from original :func:`scatter` is to add support for :type:`~mmcv.parallel.DataContainer`.
mmcv/mmcv/device/mlu/scatter_gather.py:31
↓ 2 callersFunctionscatter
Scatter inputs to target gpus. The only difference from original :func:`scatter` is to add support for :type:`~mmcv.parallel.DataContainer`.
mmcv/mmcv/parallel/scatter_gather.py:32
↓ 2 callersMethodscatter
(self, inputs, kwargs, device_ids)
mmcv/mmcv/parallel/distributed.py:49
↓ 2 callersFunctionsearch_limbs
Search the corresponding limbs following the basis human_data limbs. The mask could mask out the incorrect keypoints. Args: data_sour
aios_repo/detrsmpl/utils/keypoint_utils.py:35
↓ 2 callersFunctionsearch_limbs
Search the corresponding limbs following the basis human_data limbs. The mask could mask out the incorrect keypoints. Args: data_sour
mmhuman3d/utils/keypoint_utils.py:35
↓ 2 callersMethodselect_distinct_queries
Get updated `self_attn_mask` for distinct queries selection, it is used in self attention layers of decoder. Args: refere
sapiens/det/mmdet/models/layers/transformer/ddq_detr_layers.py:51
↓ 2 callersMethodserialize
mmcv/mmcv/ops/csrc/tensorrt/plugins/trt_nms.cpp:176
↓ 2 callersMethodset_gt_label
Set label of ``gt_label``.
sapiens/det/mmdet/structures/reid_data_sample.py:109
↓ 2 callersMethodset_gt_score
Set ``gt_score``.
sapiens/pretrain/mmpretrain/structures/data_sample.py:113
↓ 2 callersMethodset_mask
(self, value: Union[torch.Tensor, np.ndarray])
sapiens/pretrain/mmpretrain/structures/data_sample.py:144
↓ 2 callersFunctionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
mmcv/mmcv/runner/utils.py:97
↓ 2 callersFunctionset_random_seed
Set random seed. Args: seed (int, optional): Seed to be used. deterministic (bool): Whether to set the deterministic option for
sapiens/engine/mmengine/runner/utils.py:74
↓ 2 callersFunctionset_requires_grad
Set requies_grad for all the networks. Args: nets (nn.Module | list[nn.Module]): A list of networks or a single network.
aios_repo/detrsmpl/models/architectures/expressive_mesh_estimator.py:53
↓ 2 callersFunctionset_requires_grad
Set requies_grad for all the networks. Args: nets (nn.Module | list[nn.Module]): A list of networks or a single network.
mmhuman3d/models/architectures/expressive_mesh_estimator.py:53
↓ 2 callersMethodset_y_reverse
Set y reverse before add_camera if it is needed. Vedo defines y+ as up direction. When visualizing kinect cameras, y- is up, call set
aios_repo/detrsmpl/core/renderer/vedo_render.py:65
↓ 2 callersMethodset_y_reverse
Set y reverse before add_camera if it is needed. Vedo defines y+ as up direction. When visualizing kinect cameras, y- is up, call set
mmhuman3d/core/renderer/vedo_render.py:66
↓ 2 callersFunctionsetup_cache_size_limit_of_dynamo
Setup cache size limit of dynamo. Note: Due to the dynamic shape of the loss calculation and post-processing parts in the object detection al
sapiens/det/mmdet/utils/setup_env.py:43
↓ 2 callersFunctionsetup_for_distributed
This function disables printing when not in master process.
aios_repo/util/misc.py:524
↓ 2 callersMethodshear
Shear the BitmapMasks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). magnitude (int | float): T
sapiens/det/mmdet/structures/mask/structures.py:499
↓ 2 callersMethodshould_sync
Decide whether the automatic gradient synchronization should be allowed at the current iteration. It takes effect when gradient accum
sapiens/engine/mmengine/optim/optimizer/optimizer_wrapper.py:385
↓ 2 callersFunctionsimcc_pck_accuracy
Calculate the pose accuracy of PCK for each individual keypoint and the averaged accuracy across all keypoints from SimCC. Note: PCK
sapiens/pose/mmpose/evaluation/functional/keypoint_eval.py:266
↓ 2 callersMethodsince_last_check
Time since the last checking. Either :func:`since_start` or :func:`since_last_check` is a checking operation. Returns:
sapiens/engine/mmengine/utils/timer.py:102
↓ 2 callersMethodsince_start
Total time since the timer is started. Returns: float: Time in seconds.
sapiens/engine/mmengine/utils/timer.py:91
↓ 2 callersMethodsingle_attention_call
Perform a single attention call between the visual and language inputs. Args: visual (Tensor): The visual input tensor.
sapiens/det/mmdet/models/utils/vlfuse_helper.py:362
↓ 2 callersFunctionsleep_1s
(num)
mmcv/tests/test_utils/test_progressbar.py:103
↓ 2 callersFunctionslice_list
Slice a list into several sub lists by a list of given length. Args: in_list (list): The list to be sliced. lens(int or list): Th
sapiens/engine/mmengine/utils/misc.py:210
↓ 2 callersMethodslide_flip_inference
Inference by sliding-window with overlap and flip. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode withou
sapiens/seg/mmseg/models/segmentors/depth_estimator.py:270
↓ 2 callersFunctionsmooth_heatmaps
Smooth the heatmaps by blurring and averaging. Args: heatmaps (Tensor): The heatmaps to smooth. blur_kernel_size (int): The kerne
sapiens/pose/mmpose/models/heads/heatmap_heads/cid_head.py:48
↓ 2 callersFunctionsmooth_l1_loss
Smooth L1 loss. Args: pred (Tensor): The prediction. target (Tensor): The learning target of the prediction. beta (float,
sapiens/det/mmdet/models/losses/smooth_l1_loss.py:41
↓ 2 callersFunctionsmoothing_factor
(t_e, cutoff)
aios_repo/detrsmpl/core/post_processing/smooth/oneeuro_filter.py:33
↓ 2 callersFunctionsmoothing_factor
(t_e, cutoff)
mmhuman3d/core/post_processing/smooth/oneeuro_filter.py:33
↓ 2 callersMethodsplit_outputs
Split outputs of the denoising part and the matching part. For the total outputs of `num_queries_total` length, the former `num_denoi
sapiens/det/mmdet/models/dense_heads/dino_head.py:448
↓ 2 callersFunctionstack_batch_stereo_correspondences
(inputs1: List[torch.Tensor], inputs2: List[torch.Tensor], data_samples1: Opti
sapiens/seg/mmseg/utils/misc.py:271
↓ 2 callersFunctionstack_batch_stereo_pointmap
(inputs1: List[torch.Tensor], inputs2: List[torch.Tensor], data_samples1: Opti
sapiens/seg/mmseg/utils/misc.py:159
↓ 2 callersMethodstart
(self)
sapiens/engine/mmengine/utils/progressbar.py:75
↓ 2 callersMethodstep
(self, closure=None)
torch-trust-ncg/torchtrustncg/trust_region.py:556
↓ 2 callersMethodtest_method
(self, x, y)
mmcv/tests/test_utils/test_parrots_jit.py:287
↓ 2 callersMethodto
(self, device)
blade/render/explicit/pytorch3d_wrapper/renderers/pointcloud_renderer.py:75
↓ 2 callersMethodto
(self, device)
blade/render/explicit/pytorch3d_wrapper/renderers/opticalflow_renderer.py:57
↓ 2 callersMethodto
(self, device)
aios_repo/detrsmpl/core/renderer/torch3d_renderer/pointcloud_renderer.py:74
↓ 2 callersMethodto
(self, device)
mmhuman3d/core/renderer/torch3d_renderer/pointcloud_renderer.py:76
↓ 2 callersMethodto_img_list_single
(self, tensor, mask)
aios_repo/util/misc.py:427
↓ 2 callersMethodto_ndarray
Convert masks to the format of ndarray.
sapiens/det/mmdet/structures/mask/structures.py:1019
↓ 2 callersFunctionto_tensor
Convert objects of various python types to :obj:`torch.Tensor`. Supported types are: :class:`numpy.ndarray`, :class:`torch.Tensor`, :class:`S
mmcv/mmcv/transforms/formatting.py:40
↓ 2 callersFunctionto_tensor
Convert objects of various python types to :obj:`torch.Tensor`. Supported types are: :class:`numpy.ndarray`, :class:`torch.Tensor`, :class:`S
mmhuman3d/data/datasets/pipelines/formatting.py:35
↓ 2 callersMethodto_tensor
Convert all tensor to np.narray in data.
sapiens/pose/mmpose/structures/multilevel_pixel_data.py:287
↓ 2 callersMethodtokenize
Returns the tokenized representation of given input string(s) Args: texts (Union[str, List[str]]): An input string or a list of i
sapiens/pretrain/mmpretrain/models/multimodal/clip/clip.py:264
↓ 2 callersMethodtotal
Returns the total aggregated statistic across all operators for the requested module. Args: module_name (str): The submod
sapiens/engine/mmengine/analysis/jit_analysis.py:285
↓ 2 callersFunctiontrack_progress
Track the progress of tasks execution with a progress bar. Tasks are done with a simple for-loop. Args: func (callable): The functio
mmcv/mmcv/utils/progressbar.py:87
↓ 2 callersMethodtrain
Convert the model into training mode while keep normalization layer freezed.
aios_repo/detrsmpl/models/backbones/resnet.py:642
↓ 2 callersMethodtrain
(self, mode=True)
sapiens/pretrain/mmpretrain/models/backbones/vig.py:694
↓ 2 callersMethodtrain_step
Implements the default model training process including preprocessing, model forward propagation, loss calculation, optimization, and
sapiens/engine/mmengine/model/base_model/base_model.py:112
↓ 2 callersMethodtransform
The transform function of :class:`BottomupResize` to perform photometric distortion on images. See ``transform()`` method of :class:`
sapiens/pose/mmpose/datasets/transforms/bottomup_transforms.py:476
↓ 2 callersMethodtransform_gt_and_pred
(self, img_data_sample, video, frame_id)
sapiens/det/mmdet/evaluation/metrics/mot_challenge_metric.py:186
↓ 2 callersFunctiontransform_mat
Creates a batch of transformation matrices Args: - R: Bx3x3 array of a batch of rotation matrices - t: Bx3x1 array of
smplx_repo/smplx/lbs.py:359
↓ 2 callersFunctiontransform_transl
(transl, rotmat, scale)
blade/transforms/transform3d/geometry.py:54
↓ 2 callersFunctiontrigger_visualization_hook
(cfg, args)
sapiens/det/mmdet/engine/hooks/utils.py:30
↓ 2 callersMethodturn_on_efficient_conv_bn_eval
(self, efficient_conv_bn_eval=True)
sapiens/cv/mmcv/cnn/bricks/conv_module.py:317
↓ 2 callersMethodunpatchify
r"""Combine non-overlapped patches into images. Args: x (torch.Tensor): The shape is :math:`(B, L, \text{patch_si
sapiens/pretrain/mmpretrain/models/heads/mae_head2.py:76
↓ 2 callersMethodunsupported_ops
Lists the number of operators that were encountered but unsupported because no operator handle is available for them. Does not includ
sapiens/engine/mmengine/analysis/jit_analysis.py:347
↓ 2 callersMethodupdate
(self, value, n=1)
aios_repo/util/misc.py:85
↓ 2 callersMethodupdate_padded
Modified from pytorch3d and add `model_type` in __class__.__init__.
blade/structures/meshes/meshes.py:255
↓ 2 callersMethodupdate_params
Update parameters in :attr:`optimizer`.
sapiens/engine/mmengine/_strategy/deepspeed.py:103
↓ 2 callersMethodupdate_resolution_
(self, resolution: Tuple[int, int])
blade/cameras/pytorch3d_wrapper/cameras.py:363
↓ 2 callersMethodupdate_scale
update the current loss scale value when overflow happens.
mmcv/mmcv/runner/fp16_utils.py:420
↓ 2 callersMethodval_step
(self, *inputs, **kwargs)
mmcv/mmcv/parallel/data_parallel.py:100
↓ 2 callersMethodvertex_resample
Resample the vertex attributes from a map. Args: maps_padded (torch.Tensor): shape should be (N, H, W, C). Required.
aios_repo/detrsmpl/core/renderer/torch3d_renderer/uv_renderer.py:353
↓ 2 callersMethodvertex_resample
Resample the vertex attributes from a map. Args: maps_padded (torch.Tensor): shape should be (N, H, W, C). Required.
mmhuman3d/core/renderer/torch3d_renderer/uv_renderer.py:350
↓ 2 callersFunctionvertice_pve
Computes per vertex error (PVE). Args: verts_gt (N x verts_num x 3). verts_pred (N x verts_num x 3). alignment (str, opti
mmhuman3d/core/evaluation/eval_utils.py:108
↓ 2 callersMethodvis_normal_map
(self, normal_map, mask=None, colormap='viridis')
sapiens/seg/mmseg/engine/hooks/normal_visualization_hook.py:79
↓ 2 callersMethodvisualize
Visualize predictions. Args: inputs (list): Inputs preprocessed by :meth:`_inputs_to_list`. preds (Any): Predictions
sapiens/pose/mmpose/apis/inferencers/pose3d_inferencer.py:431
↓ 2 callersFunctionvisualize_kp2d
Visualize 2d keypoints to a video or into a folder of frames. Args: kp2d (np.ndarray): should be array of shape (f * J * 2)
blade/utils/visualize_keypoints2d.py:440
↓ 2 callersFunctionvoc_classes
Class names of PASCAL VOC.
sapiens/det/mmdet/evaluation/functional/class_names.py:38
↓ 2 callersMethodwarp_bboxes
Warp bounding boxes according to the warping matrix.
sapiens/det/mmdet/models/task_modules/tracking/camera_motion_compensation.py:72
↓ 2 callersFunctionweights_to_cpu
Copy a model state_dict to cpu. Args: state_dict (OrderedDict): Model weights on GPU. Returns: OrderedDict: Model weights on
sapiens/engine/mmengine/runner/checkpoint.py:678
↓ 2 callersFunctionwhitespace_clean
(text)
sapiens/seg/mmseg/utils/tokenizer.py:103
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
aios_repo/models/aios/backbones/swin_transformer.py:58
↓ 2 callersMethodwindow_partition
Args: x: (B, H, W, C) Returns: windows: (num_windows*B, window_size, window_size, C)
sapiens/seg/mmseg/models/backbones/swin.py:300
← previousnext →3,001–3,100 of 19,095, ranked by callers