MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 5 callersFunctionnlc_to_nchw
Convert [N, L, C] shape tensor to [N, C, H, W] shape tensor. Args: x (Tensor): The input tensor of shape [N, L, C] before conversion.
sapiens/pose/mmpose/models/backbones/hrformer.py:44
↓ 5 callersFunctionnms
Dispatch to either CPU or GPU NMS implementations. The input can be either torch tensor or numpy array. GPU NMS will be used if the input is
sapiens/cv/mmcv/ops/nms.py:106
↓ 5 callersMethodnorm3
nn.Module: normalization layer after the third convolution layer
mmhuman3d/models/backbones/resnet.py:279
↓ 5 callersMethodnorm3
nn.Module: normalization layer after the third convolution layer
sapiens/det/mmdet/models/backbones/resnet.py:287
↓ 5 callersMethodnorm3
nn.Module: the normalization layer named "norm3"
sapiens/pose/mmpose/models/backbones/resnet.py:271
↓ 5 callersMethodparse_data_info
Parse raw annotation to target format. Args: raw_data_info (dict): Raw data information load from ``ann_file`` Returns:
sapiens/det/mmdet/datasets/coco.py:130
↓ 5 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
mmcv/setup.py:70
↓ 5 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
sapiens/cv/setup.py:75
↓ 5 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
sapiens/pose/setup.py:60
↓ 5 callersFunctionparse_version_info
Parse a version string into a tuple. Args: version_str (str): The version string. length (int): The maximum number of version lev
mmcv/mmcv/version.py:28
↓ 5 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
mmhuman3d/utils/geometry.py:255
↓ 5 callersFunctionpose2rotmat
aa2rotmat.
aios_repo/detrsmpl/models/architectures/expressive_mesh_estimator.py:69
↓ 5 callersFunctionpose2rotmat
aa2rotmat.
mmhuman3d/models/architectures/expressive_mesh_estimator.py:69
↓ 5 callersMethodpredict
Run Kalman filter prediction step. Args: mean (ndarray): The 8 dimensional mean vector of the object state at the
sapiens/det/mmdet/models/task_modules/tracking/kalman_filter.py:123
↓ 5 callersMethodpredict_by_feat
Transform a batch of output seg_logits to the input shape. Args: seg_logits (Tensor): The output from decode head forward functio
sapiens/seg/mmseg/models/decode_heads/decode_head.py:369
↓ 5 callersMethodproject
Project state distribution to measurement space. Args: mean (ndarray): The state's mean vector (8 dimensional array).
sapiens/det/mmdet/models/task_modules/tracking/kalman_filter.py:157
↓ 5 callersMethodput
Write data to a given ``filepath`` with 'wb' mode. Note: ``put`` should create a directory if the directory of ``filepath``
mmcv/mmcv/fileio/file_client.py:1052
↓ 5 callersMethodput_text
Write data to a given ``filepath`` with 'w' mode. Note: ``put_text`` should create a directory if the directory of ``
mmcv/mmcv/fileio/file_client.py:1065
↓ 5 callersMethodrandom
Create random AssignResult for tests or debugging. Args: num_preds: number of predicted boxes num_gts: number of true
aios_repo/detrsmpl/core/post_processing/bbox/assigners/assign_result.py:121
↓ 5 callersMethodrefine_bboxes
Refine bboxes during training. Args: sampling_results (List[:obj:`SamplingResult`] or List[:obj:`InstanceData`]):
sapiens/det/mmdet/models/roi_heads/bbox_heads/bbox_head.py:601
↓ 5 callersFunctionregister_backend
Register a backend. Args: name (str): The name of the registered backend. backend (class, optional): The backend class to be regi
sapiens/engine/mmengine/fileio/backends/registry_utils.py:91
↓ 5 callersMethodregister_custom_hooks
(self, custom_config)
mmcv/mmcv/runner/base_runner.py:505
↓ 5 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/runner.py:1863
↓ 5 callersMethodregister_timer_hook
(self, timer_config)
mmcv/mmcv/runner/base_runner.py:495
↓ 5 callersFunctionresize
(input, size=None, scale_factor=None, mode='nearest', align_corner
blade/models/utils/wrappers.py:36
↓ 5 callersFunctionrgb2bgr
Convert color channels.
blade/render/explicit/pytorch3d_wrapper/renderers/utils.py:86
↓ 5 callersFunctionrope
Applies Rotary Position Embedding to input tensor. Args: x (torch.Tensor): Input tensor. dim (int | list[int]): The spatial dimen
sapiens/pose/mmpose/models/utils/rtmcc_block.py:40
↓ 5 callersMethodrotate
Rotate the BitmapMasks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). angle (int | float): Rota
sapiens/det/mmdet/structures/mask/structures.py:534
↓ 5 callersMethodrun_async
Runs func on each item in iterable by using either map or starmap asynchronously. Also calls shutdown to finish up. Args: iterable
sapiens/lite/demo/worker_pool.py:88
↓ 5 callersMethodsave_checkpoint
(self, out_dir, filename_tmpl, save_op
mmcv/mmcv/runner/base_runner.py:222
↓ 5 callersFunctionsave_meshes_as_plys
Save meshes as .ply files. Mainly for vertex color meshes. Args: files (List[str]): Output .ply file list. meshes (Meshes, option
mmhuman3d/utils/mesh_utils.py:183
↓ 5 callersFunctionset_multi_processing
Set multi-processing related environment. Args: mp_start_method (str): Set the method which should be used to start child pro
sapiens/engine/mmengine/utils/dl_utils/setup_env.py:37
↓ 5 callersMethodset_op_handle
Sets additional operator handles, or replaces existing ones. If a handle is ``None``, the op will be explicitly ignored. Otherwise, h
sapiens/engine/mmengine/analysis/jit_analysis.py:383
↓ 5 callersMethodshow
Show cameras as well as axis arrow by vedo.show() Args: with_axis (bool, optional): Whether to show the axis arro
aios_repo/detrsmpl/core/renderer/vedo_render.py:114
↓ 5 callersMethodsince_start
Total time since the timer is started. Returns: float: Time in seconds.
mmcv/mmcv/utils/timer.py:86
↓ 5 callersMethodsingle_level_grid_priors
Generate grid anchors of a single level. Note: This function is usually called by method ``self.grid_priors``. Args:
sapiens/det/mmdet/models/task_modules/prior_generators/anchor_generator.py:287
↓ 5 callersMethodsize
(self, *args, **kwargs)
mmcv/mmcv/parallel/data_container.py:107
↓ 5 callersMethodto
(self, device)
blade/render/explicit/pytorch3d_wrapper/shaders/shader.py:51
↓ 5 callersMethodto
(self, device)
blade/render/explicit/pytorch3d_wrapper/renderers/smpl_renderer.py:134
↓ 5 callersMethodto
(self, device)
aios_repo/detrsmpl/core/renderer/torch3d_renderer/smpl_renderer.py:130
↓ 5 callersMethodto
(self, device)
mmhuman3d/core/renderer/torch3d_renderer/smpl_renderer.py:132
↓ 5 callersFunctiontorch_meshgrid
A wrapper of torch.meshgrid to compat different PyTorch versions. Since PyTorch 1.10.0a0, torch.meshgrid supports the arguments ``indexing``.
sapiens/engine/mmengine/utils/dl_utils/torch_ops.py:40
↓ 5 callersFunctiontrack_iter_progress
Track the progress of tasks iteration or enumeration with a progress bar. Tasks are yielded with a simple for-loop. Args: tasks
sapiens/engine/mmengine/utils/progressbar.py:243
↓ 5 callersFunctiontrack_on_main_process
(sequence, description='', total=None)
sapiens/pretrain/mmpretrain/utils/progress.py:64
↓ 5 callersFunctiontrack_parallel_progress
Track the progress of parallel task execution with a progress bar. The built-in :mod:`multiprocessing` module is used for process pools and t
sapiens/engine/mmengine/utils/progressbar.py:170
↓ 5 callersMethodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
mmcv/mmcv/device/ipu/model_wrapper.py:151
↓ 5 callersMethodupdate_all_tensors
Put tensors from tuple back to self.hierarchical_data.
mmcv/mmcv/device/ipu/hierarchical_data_manager.py:195
↓ 5 callersMethodupdate_parameters
Update the parameters of the model. This method will execute the ``avg_func`` to compute the new parameters and update the model's par
sapiens/engine/mmengine/model/averaged_model.py:119
↓ 5 callersMethodvalid_flags
Generate valid flags of anchors in a feature map. Args: featmap_sizes (list(tuple[int, int])): List of feature map sizes in
sapiens/det/mmdet/models/task_modules/prior_generators/point_generator.py:91
↓ 5 callersFunctionvalueAdd
mmcv/mmcv/ops/csrc/pytorch/cpu/rotated_feature_align.cpp:142
↓ 5 callersFunctionvalueAdd
sapiens/cv/mmcv/ops/csrc/pytorch/cpu/rotated_feature_align.cpp:142
↓ 5 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
aios_repo/detrsmpl/core/evaluation/eval_utils.py:108
↓ 5 callersFunctionvertices2landmarks
Calculates landmarks by barycentric interpolation Parameters ---------- vertices: torch.tensor BxVx3, dtype = torch.float32
smplx_repo/smplx/lbs.py:131
↓ 5 callersFunctionvideo_to_images
Convert a video to a folder of images. Args: input_path (str): video file path output_folder (str): output folder to store the im
mmhuman3d/utils/ffmpeg_utils.py:627
↓ 5 callersMethodvis_forward
Forward the vis_head. The input is multi scale feature maps and the output is coordinates visibility. Args: feats (Tuple[
sapiens/pose/mmpose/models/heads/hybrid_heads/vis_head.py:97
↓ 5 callersFunctionweak_perspective_projection
This function computes the weak perspective projection of a set of points. Input: points (bs, N, 3): 3D points scale (bs,1):
aios_repo/detrsmpl/utils/geometry.py:456
↓ 5 callersFunctionweak_perspective_projection
This function computes the weak perspective projection of a set of points. Input: points (bs, N, 3): 3D points scale (bs,1):
mmhuman3d/utils/geometry.py:404
↓ 4 callersMethod__get_slice_dim__
For each key in this HumanData, get the dimension for slicing. 0 for default, if no other value specified. Returns: dict:
aios_repo/detrsmpl/data/data_structures/human_data.py:635
↓ 4 callersMethod__get_slice_dim__
For each key in this HumanData, get the dimension for slicing. 0 for default, if no other value specified. Returns: dict:
mmhuman3d/data/data_structures/human_data.py:608
↓ 4 callersMethod__getitem__
Slice the cameras by batch dim. Args: index (Union[slice, int, torch.Tensor, List, Tuple]): index for slicing.
blade/cameras/pytorch3d_wrapper/cameras.py:213
↓ 4 callersMethod__getitem__
Slice the cameras by batch dim. Args: index (Union[slice, int, torch.Tensor, List, Tuple]): index for slicing.
aios_repo/detrsmpl/core/cameras/cameras.py:221
↓ 4 callersMethod__getitem__
Slice the cameras by batch dim. Args: index (Union[slice, int, torch.Tensor, List, Tuple]): index for slicing.
mmhuman3d/core/cameras/cameras.py:224
↓ 4 callersMethod__init__
(self, adj, hid_dim, coords_dim=(2, 3), nu
blade/models/layers/gcn_lift.py:145
↓ 4 callersMethod__init__
Parameters: - model_dim: The hidden dimension size in the transformer architecture - nhead: The number of attention h
blade/models/transformer/transformer.py:45
↓ 4 callersMethod__init__
Initlialize without blend_params.
aios_repo/detrsmpl/core/renderer/torch3d_renderer/shader/shader.py:62
↓ 4 callersMethod__init__
(self, fc_layers, use_dropout, drop_prob, use_activation)
aios_repo/detrsmpl/models/discriminators/pose_discriminator.py:51
↓ 4 callersMethod__init__
(self, linear=False, eps=1e-6, reduction='mean',
aios_repo/detrsmpl/models/losses/iou_loss.py:276
↓ 4 callersMethod__init__
( self, d_model=256, nhead=8, num_queries=300, num
aios_repo/models/aios/transformer.py:40
↓ 4 callersMethod__init__
(self, size: Optional[Tuple[int, int]] = None, size_divisor: Optional[int] =
mmcv/mmcv/transforms/processing.py:360
↓ 4 callersMethod__init__
(self, transforms: Union[Transform, Sequence[Transform]])
mmcv/mmcv/transforms/wrappers.py:86
↓ 4 callersMethod__init__
Initlialize without blend_params.
mmhuman3d/core/renderer/torch3d_renderer/shader/shader.py:65
↓ 4 callersMethod__init__
(self, fc_layers, use_dropout, drop_prob, use_activation)
mmhuman3d/models/discriminators/pose_discriminator.py:52
↓ 4 callersMethod__init__
(self, size: Optional[Tuple[int, int]] = None, size_divisor: Optional[int] =
sapiens/cv/mmcv/transforms/processing.py:360
↓ 4 callersMethod__init__
(self, transforms: Union[Transform, Sequence[Transform]])
sapiens/cv/mmcv/transforms/wrappers.py:86
↓ 4 callersMethod__init__
(self, backbone_cfg, in_channels=3, spatial_channels=(64, 6
sapiens/seg/mmseg/models/backbones/bisenetv1.py:322
↓ 4 callersMethod__init__
(self, embed_dims, num_heads, window_size,
sapiens/seg/mmseg/models/backbones/swin.py:70
↓ 4 callersMethod__init__
(self, depth, in_channels=3, stem_channels=64,
sapiens/seg/mmseg/models/backbones/resnet.py:424
↓ 4 callersMethod__init__
(self, low_in_channels, high_in_channels, channels, out_channels, query_scales, key_pool_scal
sapiens/seg/mmseg/models/decode_heads/ann_head.py:128
↓ 4 callersMethod__init__
(self, num_max_proposals: Optional[int] = None)
sapiens/det/mmdet/datasets/transforms/loading.py:695
↓ 4 callersMethod__init__
(self, prob: float = 1.0, level: Optional[int] = None, min_
sapiens/det/mmdet/datasets/transforms/geometric.py:276
↓ 4 callersMethod__init__
(self, embed_dims, num_heads, window_size,
sapiens/det/mmdet/models/backbones/swin.py:70
↓ 4 callersMethod__init__
(self, in_channels: int, out_channels: int, expand_ratio: i
sapiens/det/mmdet/models/dense_heads/atss_vlfusion_head.py:138
↓ 4 callersMethod__init__
(self, in_channel: int, out_channel: int)
sapiens/det/mmdet/models/task_modules/tracking/aflink.py:105
↓ 4 callersMethod__init__
(self, in_channels, out_channels, up_stride,
sapiens/pretrain/mmpretrain/models/backbones/conformer.py:208
↓ 4 callersMethod__init__
(self, in_channels, internal_channels, out_channels,
sapiens/pretrain/mmpretrain/models/backbones/replknet.py:274
↓ 4 callersMethod__init__
(self, dim, order=5, dw_cfg=dict(type='DW', kernel_size=7),
sapiens/pretrain/mmpretrain/models/backbones/hornet.py:174
↓ 4 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
sapiens/pretrain/mmpretrain/models/backbones/poolformer.py:111
↓ 4 callersMethod__init__
(self, mean: Sequence[Number] = None, std: Sequence[Number] = None,
sapiens/pretrain/mmpretrain/models/utils/data_preprocessor.py:85
↓ 4 callersMethod__init__
(self, backbone: dict, neck: dict, head: dict,
sapiens/pretrain/mmpretrain/models/selfsup/cae.py:414
↓ 4 callersMethod__init__
(self, config)
sapiens/pretrain/mmpretrain/models/multimodal/chinese_clip/bert.py:121
↓ 4 callersMethod__init__
(self, gated_cross_attn_layer: nn.Module, decoder_layer: nn.Module)
sapiens/pretrain/mmpretrain/models/multimodal/flamingo/modules.py:369
↓ 4 callersMethod__init__
(self, prob: Union[float, List[float]] = 0.5, direction: Union[str, List[str
sapiens/pose/mmpose/datasets/transforms/common_transforms.py:163
↓ 4 callersMethod__init__
(self, embed_dims, num_heads, window_size,
sapiens/pose/mmpose/models/backbones/swin.py:70
↓ 4 callersMethod__init__
(self, depth, in_channels=3, stem_channels=64,
sapiens/pose/mmpose/models/backbones/resnet.py:529
↓ 4 callersMethod__init__
(self, use_target_weight: bool = False, skip_empty_channel: bool = False,
sapiens/pose/mmpose/models/losses/heatmap_loss.py:55
↓ 4 callersMethod__init__
(self, norm_factor: float = 30, num_thrs: int = 20, collect
sapiens/pose/mmpose/evaluation/metrics/keypoint_2d_metrics.py:589
↓ 4 callersFunction_accquire_lock
Acquire the module-level lock for serializing access to shared data. This should be released with _release_lock().
sapiens/engine/mmengine/utils/manager.py:40
↓ 4 callersFunction_addindent
(s_: str, numSpaces: int)
sapiens/engine/mmengine/analysis/print_helper.py:258
↓ 4 callersFunction_build_demo_runner_without_hook
(runner_type='EpochBasedRunner', max_epochs=1,
mmcv/tests/test_runner/test_hooks.py:1627
↓ 4 callersFunction_conv2d_gradfix
( transpose: bool, weight_shape: Tuple[int, ...], stride: Union[int, Tuple[int, ...]], padding
sapiens/cv/mmcv/ops/conv2d_gradfix.py:145
← previousnext →1,001–1,100 of 19,095, ranked by callers