MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 3 callersFunctiontensor2array
Convert image tensor to array.
aios_repo/detrsmpl/core/renderer/torch3d_renderer/utils.py:66
↓ 3 callersFunctiontensor2array
Convert image tensor to array.
mmhuman3d/core/renderer/torch3d_renderer/utils.py:65
↓ 3 callersMethodtensor2dict
Convert full pose tensor to pose dict. Args: full_pose (torch.Tensor): shape should be (..., 165) or (..., 55, 3)
aios_repo/detrsmpl/models/body_models/smpl.py:167
↓ 3 callersMethodtensor2dict
Convert full pose tensor to pose dict. Args: full_pose (torch.Tensor): shape should be (..., 165) or (..., 55, 3)
mmhuman3d/models/body_models/smpl.py:167
↓ 3 callersMethodtensor2rgba
(self, tensor: torch.Tensor)
blade/render/explicit/pytorch3d_wrapper/renderers/base_renderer.py:290
↓ 3 callersMethodtensor2rgba
(self, tensor: torch.Tensor)
aios_repo/detrsmpl/core/renderer/torch3d_renderer/base_renderer.py:288
↓ 3 callersMethodtensor2rgba
(self, tensor: torch.Tensor)
mmhuman3d/core/renderer/torch3d_renderer/base_renderer.py:290
↓ 3 callersFunctiontensor_split
(input: torch.Tensor, indices: list)
sapiens/pretrain/mmpretrain/structures/utils.py:41
↓ 3 callersMethodterminate
mmcv/mmcv/ops/csrc/tensorrt/plugins/trt_nms.cpp:169
↓ 3 callersMethodto
Overrides this method to set the :attr:`device` Args: device (int or torch.device, optional): The desired device of the
sapiens/det/mmdet/models/data_preprocessors/data_preprocessor.py:563
↓ 3 callersMethodto_ndarray
See :func:`BaseInstanceMasks.to_ndarray`.
sapiens/det/mmdet/structures/mask/structures.py:579
↓ 3 callersFunctionto_tensor
Convert objects of various python types to :obj:`torch.Tensor`. Supported types are: :class:`numpy.ndarray`, :class:`torch.Tensor`, :class:`S
sapiens/pretrain/mmpretrain/datasets/transforms/formatting.py:45
↓ 3 callersMethodtrain
Sets the module in training mode. This has any effect only on certain modules. See documentations of particular modules for details o
mmcv/mmcv/device/ipu/model_wrapper.py:442
↓ 3 callersMethodtransform
Call function to pad images, masks, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline.
mmcv/mmcv/transforms/processing.py:431
↓ 3 callersMethodtransform
Apply transform to results.
sapiens/pretrain/mmpretrain/datasets/transforms/auto_augment.py:449
↓ 3 callersFunctiontransform_joint_to_other_db_batch
(src_joint, src_name, dst_name)
aios_repo/util/transforms.py:126
↓ 3 callersMethodtranspose_for_scores
(self, x)
blade/models/bert/graphormer.py:70
↓ 3 callersFunctiontraverse
(grad_fn)
sapiens/engine/mmengine/model/utils.py:101
↓ 3 callersFunctionuniform_init
(module, a=0, b=1, bias=0)
sapiens/engine/mmengine/model/weight_init.py:112
↓ 3 callersMethodunnormalize_image
(self, inputs, use_cpu=False)
sapiens/pretrain/mmpretrain/models/selfsup/mae.py:395
↓ 3 callersMethodupdate
(self, **kwargs)
aios_repo/util/misc.py:229
↓ 3 callersMethodupdate_face_uv_pixel
Move the pixels lie on the edges inside the mask, then refine the rest points by searching the nearest pixel in the faces it should be
aios_repo/detrsmpl/core/renderer/torch3d_renderer/uv_renderer.py:136
↓ 3 callersMethodupdate_face_uv_pixel
Move the pixels lie on the edges inside the mask, then refine the rest points by searching the nearest pixel in the faces it should be
mmhuman3d/core/renderer/torch3d_renderer/uv_renderer.py:138
↓ 3 callersMethodupdate_fragments
Update pix_to_face, bary_coords.
aios_repo/detrsmpl/core/renderer/torch3d_renderer/uv_renderer.py:115
↓ 3 callersMethodupdate_fragments
Update pix_to_face, bary_coords.
mmhuman3d/core/renderer/torch3d_renderer/uv_renderer.py:116
↓ 3 callersMethodupdate_hierarchical_data
Update dataB with dataA in-place. Args: dataA (list or dict or tuple): New hierarchical data. dataB (list or dict or
mmcv/mmcv/device/ipu/hierarchical_data_manager.py:93
↓ 3 callersMethodupdate_model_visualizer_settings
Update the settings of models and visualizer according to inference arguments. Args: draw_heatmaps (bool, optional): Flag
sapiens/pose/mmpose/apis/inferencers/pose2d_inferencer.py:162
↓ 3 callersMethodvalues
Returns: list: Contains all values in data.
sapiens/engine/mmengine/structures/base_data_element.py:357
↓ 3 callersMethodvertex_resample
Resample the vertex attributes from a map. Args: maps_padded (torch.Tensor): shape should be (N, H, W, C). Required.
blade/render/explicit/pytorch3d_wrapper/renderers/uv_renderer.py:411
↓ 3 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
aios_repo/detrsmpl/utils/ffmpeg_utils.py:628
↓ 3 callersMethodvis_depth_map
(self, depth_map, mask=None, background_color=100)
sapiens/seg/mmseg/engine/hooks/depth_visualization_hook.py:76
↓ 3 callersFunctionweight_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Tensor): Element-wise weights.
mmhuman3d/models/losses/utils.py:50
↓ 3 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
blade/models/transformer/transformer.py:276
↓ 2 callersFunctionFeedForward
(dim, output_dim, expansion_factor=4, dropout=0.,
blade/models/bert/mlp_mixer.py:53
↓ 2 callersFunctionFeedForward
Feedforward layers. Args: mult (int): Layer expansion muliplier. Defaults to 4.
sapiens/pretrain/mmpretrain/models/multimodal/flamingo/modules.py:39
↓ 2 callersMethod__add_zero_pad__
Pad zeros to a compressed keypoints array. Args: compressed_array (np.ndarray): A compressed keypoints array.
aios_repo/detrsmpl/data/data_structures/human_data.py:1324
↓ 2 callersMethod__add_zero_pad__
Pad zeros to a compressed keypoints array. Args: compressed_array (np.ndarray): A compressed keypoints array.
mmhuman3d/data/data_structures/human_data.py:1288
↓ 2 callersMethod__check_key__
Check whether the key matches definition in HumanData.SUPPORTED_KEYS. Args: key (Any): Key in HumanData.
aios_repo/detrsmpl/data/data_structures/human_data.py:776
↓ 2 callersMethod__check_key__
Check whether the key matches definition in HumanData.SUPPORTED_KEYS. Args: key (Any): Key in HumanData.
mmhuman3d/data/data_structures/human_data.py:746
↓ 2 callersMethod__check_value__
Check whether the value matches definition in HumanData.SUPPORTED_KEYS. Args: key (Any): Key in HumanData
aios_repo/detrsmpl/data/data_structures/human_data.py:816
↓ 2 callersMethod__check_value__
Check whether the value matches definition in HumanData.SUPPORTED_KEYS. Args: key (Any): Key in HumanData
mmhuman3d/data/data_structures/human_data.py:787
↓ 2 callersMethod__concat_value__
Concat two values from two different HumanData. Args: key (Any): The common key of the two values. va
aios_repo/detrsmpl/data/data_structures/human_data.py:1291
↓ 2 callersMethod__concat_value__
Concat two values from two different HumanData. Args: key (Any): The common key of the two values. va
mmhuman3d/data/data_structures/human_data.py:1255
↓ 2 callersMethod__enter__
(self)
sapiens/engine/mmengine/utils/timer.py:76
↓ 2 callersMethod__exit__
(self, type, value, traceback)
mmcv/mmcv/utils/timer.py:75
↓ 2 callersMethod__exit__
(self, type, value, traceback)
sapiens/engine/mmengine/utils/timer.py:80
↓ 2 callersMethod__get_sliced_result__
( cls, input_data: Union[np.ndarray, list, tuple], slice_dim: int,
aios_repo/detrsmpl/data/data_structures/multi_human_data.py:474
↓ 2 callersMethod__getitem__
(self, key)
aios_repo/detrsmpl/core/conventions/segmentation/__init__.py:57
↓ 2 callersMethod__getitem__
Get value defined by HumanData. This function will be called by self[key]. In keypoints_compressed mode, if the key contains 'keypoint
aios_repo/detrsmpl/data/data_structures/human_data.py:465
↓ 2 callersMethod__getitem__
(self, key)
mmhuman3d/core/conventions/segmentation/__init__.py:58
↓ 2 callersMethod__getitem__
Get value defined by HumanData. This function will be called by self[key]. In keypoints_compressed mode, if the key contains 'keypoint
mmhuman3d/data/data_structures/human_data.py:440
↓ 2 callersMethod__init__
(self, init_cfg=None, out_indices=[0, 1, 2, 3], **kwargs)
blade/models/backbones/hrnet.py:34
↓ 2 callersMethod__init__
(self, in_channels=3, embed_dims=768, conv_type='Conv2d',
blade/models/utils/embed.py:139
↓ 2 callersMethod__init__
(self, use_handtips=True, keypoint_src: str = 'mano_left',
blade/models/body_models/mano.py:54
↓ 2 callersMethod__init__
(self, nets, nett, mask)
blade/models/layers/realnvp.py:31
↓ 2 callersMethod__init__
(self, block=Bottleneck, num_blocks=[2, 2, 2, 2])
blade/models/layers/fpn.py:76
↓ 2 callersMethod__init__
(self, reduction='mean', loss_weight=1)
blade/models/losses/render_loss.py:105
↓ 2 callersMethod__init__
(self, reduction='mean', loss_weight=1.0, max_bound=None,
blade/models/losses/prior_loss.py:34
↓ 2 callersMethod__init__
( self, in_channels, features=256, use_bn=False, out_channels=[256
DAv2/depth_anything_v2/dpt.py:62
↓ 2 callersMethod__init__
( self, in_channels, features=256, use_bn=False, out_channels=[256
DAv2/metric_depth/depth_anything_v2/dpt.py:62
↓ 2 callersMethod__init__
(self, window_size: int, output_size: int, hidden_size: int
aios_repo/detrsmpl/core/post_processing/smooth/smoothnet.py:94
↓ 2 callersMethod__init__
(self, num_branches, blocks, num_blocks, i
aios_repo/detrsmpl/models/backbones/hrnet.py:43
↓ 2 callersMethod__init__
Args: *args: extra arguments for SMPL initialization. keypoint_src: source convention of keypoints. This convention
aios_repo/detrsmpl/models/body_models/smpl.py:56
↓ 2 callersMethod__init__
PARE parameters regressor head. This class is modified from. [PARE](hhttps://github.com/ mkocabas/PARE/blob/master/pare/models/head/p
aios_repo/detrsmpl/models/heads/pare_head.py:224
↓ 2 callersMethod__init__
(self, input_dim, hidden_dim, output_dim, num_layers)
aios_repo/models/utils.py:114
↓ 2 callersMethod__init__
(self, input_dim, hidden_dim, output_dim, num_layers)
aios_repo/models/aios/utils.py:179
↓ 2 callersMethod__init__
(self, num_pos_feats=64, temperature=10000, normalize=False
aios_repo/models/aios/position_encoding.py:36
↓ 2 callersMethod__init__
(self, ndim, kernel_size, stride=1, paddin
mmcv/mmcv/ops/sparse_pool.py:48
↓ 2 callersMethod__init__
(self, kernel_size: int, group_size: int, scale_factor: int)
mmcv/mmcv/ops/carafe.py:231
↓ 2 callersMethod__init__
(self, output_size: Tuple[int, ...], spatial_scale: float = 1.0,
mmcv/mmcv/ops/deform_roi_pool.py:121
↓ 2 callersMethod__init__
(self, depth: int, num_stages: int = 4, strides: Sequence[i
mmcv/mmcv/cnn/resnet.py:238
↓ 2 callersMethod__init__
(self)
mmcv/tests/test_runner/test_eval_hook.py:80
↓ 2 callersMethod__init__
(self, window_size: int, output_size: int, hidden_size: int
mmhuman3d/core/post_processing/smooth/smoothnet.py:96
↓ 2 callersMethod__init__
(self, num_branches, blocks, num_blocks, i
mmhuman3d/models/backbones/hrnet.py:44
↓ 2 callersMethod__init__
Args: *args: extra arguments for SMPL initialization. keypoint_src: source convention of keypoints. This convention
mmhuman3d/models/body_models/smpl.py:56
↓ 2 callersMethod__init__
PARE parameters regressor head. This class is modified from. [PARE](hhttps://github.com/ mkocabas/PARE/blob/master/pare/models/head/p
mmhuman3d/models/heads/pare_head.py:224
↓ 2 callersMethod__init__
(self, ndim, kernel_size, stride=1, paddin
sapiens/cv/mmcv/ops/sparse_pool.py:54
↓ 2 callersMethod__init__
(self, kernel_size: int, group_size: int, scale_factor: int)
sapiens/cv/mmcv/ops/carafe.py:235
↓ 2 callersMethod__init__
(self, in_channels: int, out_channels: int, kernel_size: Un
sapiens/cv/mmcv/ops/modulated_deform_conv.py:266
↓ 2 callersMethod__init__
(self, in_channels: int, out_channels: int, kernel_size: Un
sapiens/cv/mmcv/ops/deform_conv.py:292
↓ 2 callersMethod__init__
(self, output_size: Tuple[int, ...], spatial_scale: float = 1.0,
sapiens/cv/mmcv/ops/deform_roi_pool.py:128
↓ 2 callersMethod__init__
(self, depth: int, num_stages: int = 4, strides: Sequence[i
sapiens/cv/mmcv/cnn/resnet.py:243
↓ 2 callersMethod__init__
(self, name: str, logger_name='mmengine', log_file: Optiona
sapiens/engine/mmengine/logging/logger.py:223
↓ 2 callersMethod__init__
(self, model: nn.Module, interval: int = 1, device: Optiona
sapiens/engine/mmengine/model/averaged_model.py:84
↓ 2 callersMethod__init__
(self, scale: Union[int, Tuple[int, int]])
sapiens/seg/mmseg/datasets/transforms/albedo_transforms.py:259
↓ 2 callersMethod__init__
(self, scale: Union[int, Tuple[int, int]])
sapiens/seg/mmseg/datasets/transforms/depth_transforms.py:238
↓ 2 callersMethod__init__
(self, scale: Union[int, Tuple[int, int]])
sapiens/seg/mmseg/datasets/transforms/normal_transforms.py:240
↓ 2 callersMethod__init__
(self, scale: Union[int, Tuple[int, int]])
sapiens/seg/mmseg/datasets/transforms/general_transforms.py:259
↓ 2 callersMethod__init__
( self, mean: Sequence[Number] = None, std: Sequence[Number] = None, size: Opt
sapiens/seg/mmseg/models/data_preprocessor.py:84
↓ 2 callersMethod__init__
(self, diffusion_cfg: ConfigType, class_embed_path: str, un
sapiens/seg/mmseg/models/backbones/vpd.py:349
↓ 2 callersMethod__init__
(self, img_size=224, patch_size=16, in_channels=3,
sapiens/seg/mmseg/models/backbones/beit.py:293
↓ 2 callersMethod__init__
(self, in_channels=3, embed_dims=768, conv_type='Conv2d',
sapiens/seg/mmseg/models/utils/embed.py:139
↓ 2 callersMethod__init__
( self, in_channels=256, feat_channels=64, out_channels=None,
sapiens/seg/mmseg/models/decode_heads/knet_head.py:68
↓ 2 callersMethod__init__
(self, ocr_channels, scale=1, **kwargs)
sapiens/seg/mmseg/models/decode_heads/ocr_head.py:125
↓ 2 callersMethod__init__
(self, in_channels, channels)
sapiens/seg/mmseg/models/decode_heads/da_head.py:51
↓ 2 callersMethod__init__
(self, pred_act: bool = False, eps: float = 1e-3, naive_dic
sapiens/seg/mmseg/models/assigners/match_cost.py:134
↓ 2 callersMethod__init__
(self, dataset, input_shape, logger, devic
sapiens/det/tools/analysis_tools/optimize_anchors.py:112
↓ 2 callersMethod__init__
(self, transforms: List[dict], bbox_params: Optional[dict] = None,
sapiens/det/mmdet/datasets/transforms/transforms.py:1630
↓ 2 callersMethod__init__
(self, in_channels, out_channels, num_blocks=6,
sapiens/det/mmdet/models/necks/dyhead.py:173
↓ 2 callersMethod__init__
(self, num_scales: int, in_channels: List[int], out_channel
sapiens/det/mmdet/models/necks/ssh.py:211
← previousnext →1,901–2,000 of 19,095, ranked by callers