MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 8 callersMethod_skip_loss
Whether to skip loss computation. If loss is None, it will directly skip the loss to avoid RuntimeError. If loss is not None, the table
mmhuman3d/models/registrants/smplify.py:825
↓ 8 callersMethod_swap_ema_parameters
Swap the parameter of model with ema_model.
sapiens/engine/mmengine/hooks/ema_hook.py:227
↓ 8 callersMethod_update_resolution
(self, cameras, **kwargs)
blade/render/explicit/pytorch3d_wrapper/renderers/uv_renderer.py:235
↓ 8 callersFunctionadd
mmcv/mmcv/ops/csrc/pytorch/cpu/roi_align.cpp:266
↓ 8 callersFunctionaffine_transform
Apply an affine transformation to the points. Args: pt (np.ndarray): a 2 dimensional point to be transformed trans_mat (np.ndarra
aios_repo/detrsmpl/data/datasets/pipelines/transforms.py:96
↓ 8 callersMethodbackward
(ctx, grad_output)
aios_repo/models/aios/ops/functions/ms_deform_attn_func.py:61
↓ 8 callersFunctionbatched_nms
r"""Performs non-maximum suppression in a batched fashion. Modified from `torchvision/ops/boxes.py#L39 <https://github.com/pytorch/vision/blo
mmcv/mmcv/ops/nms.py:287
↓ 8 callersFunctionbbox_cs2xyxy
Transform the bbox format from (center, scale) to (x1,y1,x2,y2). Args: center (ndarray): BBox center (x, y) in shape (2,) or (n, 2)
sapiens/pose/mmpose/structures/bbox/transforms.py:139
↓ 8 callersFunctionbezier_curve
sapiens/cv/mmcv/ops/csrc/pytorch/cpu/bezier_align.cpp:24
↓ 8 callersFunctionbias_init_with_prob
initialize conv/fc bias value according to a given probability value.
mmcv/mmcv/cnn/utils/weight_init.py:155
↓ 8 callersFunctionbuild_cameras
(cfg)
blade/cameras/builder.py:27
↓ 8 callersFunctionbuild_cameras
Build cameras.
mmhuman3d/core/cameras/builder.py:29
↓ 8 callersFunctionbuild_toy_runner
(config=dict(type='EpochBasedRunner', max_epochs=3))
mmcv/tests/test_runner/test_hooks.py:1771
↓ 8 callersFunctioncheck_file_exist
(filename, msg_tmpl='file "{}" does not exist')
sapiens/engine/mmengine/utils/path.py:49
↓ 8 callersFunctioncheck_type_and_length
Check whether the type of value is in ``valid_type``. If type of the ``value`` is list, check whether its length is equal with or greater than
sapiens/engine/mmengine/visualization/utils.py:103
↓ 8 callersMethodclip_grads
(self, params)
mmcv/mmcv/runner/hooks/optimizer.py:69
↓ 8 callersMethodcollect_all_tensors
Collect torch.Tensor data from self.hierarchical_data to a list and return.
mmcv/mmcv/device/ipu/hierarchical_data_manager.py:162
↓ 8 callersFunctionconvert_camera_matrix
Convert the intrinsic matrix K and extrinsic matrix [R|T] from source convention to destination convention. Args: K (Union[torch.Tens
aios_repo/detrsmpl/core/conventions/cameras/convert_convention.py:106
↓ 8 callersFunctionconvert_camera_matrix
Convert the intrinsic matrix K and extrinsic matrix [R|T] from source convention to destination convention. Args: K (Union[torch.Tens
mmhuman3d/core/conventions/cameras/convert_convention.py:106
↓ 8 callersMethodconvert_tokens_to_ids
(self, tokens)
sapiens/pretrain/mmpretrain/models/utils/tokenizer.py:186
↓ 8 callersMethodcopytree
Recursively copy an entire directory tree rooted at src to a directory named dst and return the destination directory. src and dst sh
sapiens/engine/mmengine/fileio/backends/local_backend.py:269
↓ 8 callersMethoddetach
(self)
blade/cameras/pytorch3d_wrapper/cameras.py:346
↓ 8 callersMethodempty
sapiens/cv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:823
↓ 8 callersMethodevaluate
Run per image evaluation on given images and store results (a list of dict) in self.evalVids :return: None
sapiens/det/mmdet/evaluation/functional/ytviseval.py:169
↓ 8 callersFunctionflip_heatmaps
Flip heatmaps for test-time augmentation. Args: heatmaps (Tensor): The heatmaps to flip. Should be a tensor in shape [B, C, H
sapiens/pose/mmpose/models/utils/tta.py:37
↓ 8 callersMethodget_3d_keypoints_vis
Get 3d keypoints and visibility mask Args: keypoints (np.ndarray): 2d (NxKx3) or 3d (NxKx4) keypoints with visibility
aios_repo/detrsmpl/data/datasets/human_hybrik_dataset.py:94
↓ 8 callersMethodget_3d_keypoints_vis
Get 3d keypoints and visibility mask Args: keypoints (np.ndarray): 2d (NxKx3) or 3d (NxKx4) keypoints with visibility
mmhuman3d/data/datasets/human_hybrik_dataset.py:94
↓ 8 callersMethodget_ann_ids
(self, img_ids=[], cat_ids=[], area_rng=[], iscrowd=None)
sapiens/det/mmdet/datasets/api_wrappers/coco_api.py:57
↓ 8 callersFunctionget_git_hash
Get the git hash of the current repo. Args: fallback (str, optional): The fallback string when git hash is unavailable. Defau
mmcv/mmcv/utils/version_utils.py:89
↓ 8 callersMethodget_loggable_tags
( self, runner, allow_scalar: bool = True, allow_text: bool = False, a
mmcv/mmcv/runner/hooks/logger/base.py:139
↓ 8 callersMethodget_num_verts
(self)
smplx_repo/smplx/body_models.py:316
↓ 8 callersFunctionget_world_size
()
aios_repo/util/distribute_utils.py:114
↓ 8 callersMethodis_inside
Find boxes inside the image. Args: img_shape (Tuple[int, int]): A tuple of image height and width. all_inside (bool):
sapiens/det/mmdet/structures/bbox/base_boxes.py:499
↓ 8 callersMethodload_anns
(self, ids)
sapiens/det/mmdet/datasets/api_wrappers/coco_api.py:66
↓ 8 callersMethodname
(self)
smplx_repo/smplx/body_models.py:305
↓ 8 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
aios_repo/detrsmpl/models/backbones/resnet.py:558
↓ 8 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
sapiens/pose/mmpose/models/backbones/hrnet.py:429
↓ 8 callersMethodnorm2
nn.Module: normalization layer after the second convolution layer
aios_repo/detrsmpl/models/backbones/resnet.py:87
↓ 8 callersMethodparse_losses
Parses the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
sapiens/engine/mmengine/model/base_model/base_model.py:175
↓ 8 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
sapiens/det/setup.py:77
↓ 8 callersMethodparse_uri_prefix
Parse the prefix of a uri. Args: uri (str | Path): Uri to be parsed that contains the file prefix. Examples:
mmcv/mmcv/fileio/file_client.py:869
↓ 8 callersFunctionprint_process_memory
print process memory info.
sapiens/det/mmdet/utils/benchmark.py:75
↓ 8 callersMethodput
(self, key, val)
mmcv/mmcv/video/io.py:53
↓ 8 callersMethodreset
Reset the buffer of the tracker.
sapiens/det/mmdet/models/trackers/base_tracker.py:61
↓ 8 callersMethodrun
Launch validation.
sapiens/engine/mmengine/runner/loops.py:389
↓ 8 callersFunctionrun_model
(ipu_options, fp16_cfg, modules_to_record, ipu_model_wrapper_func,
mmcv/tests/test_device/test_ipu/test_ipu_model.py:144
↓ 8 callersMethodset_epoch
Sets the epoch for this sampler. When :attr:`shuffle=True`, this ensures all replicas use a different random ordering for each epoch.
sapiens/engine/mmengine/dataset/sampler.py:121
↓ 8 callersMethodset_image
Set the image to draw. Args: image (np.ndarray): The image to draw.
sapiens/engine/mmengine/visualization/visualizer.py:310
↓ 8 callersMethodset_mat_np
Set a matrix-type parameter to mat_numpy. Args: mat_key (str): Key of the target matrix. in_mat or rotation_mat.
aios_repo/detrsmpl/core/cameras/camera_parameters.py:218
↓ 8 callersMethodset_mat_np
Set a matrix-type parameter to mat_numpy. Args: mat_key (str): Key of the target matrix. in_mat or rotation_mat.
mmhuman3d/core/cameras/camera_parameters.py:218
↓ 8 callersMethodset_value
Set a parameter to value. Args: key (str): Name of the parameter. value (object): New
aios_repo/detrsmpl/core/cameras/camera_parameters.py:247
↓ 8 callersMethodstate_dict
(self)
sapiens/engine/mmengine/_strategy/deepspeed.py:120
↓ 8 callersMethodtranslate
Translate the BitmapMasks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). offset (int | float):
sapiens/det/mmdet/structures/mask/structures.py:442
↓ 8 callersFunctiontranspose_and_gather_feat
Transpose and gather feature according to index. Args: feat (Tensor): Target feature map. ind (Tensor): Target coord index.
sapiens/det/mmdet/models/utils/gaussian_target.py:283
↓ 8 callersMethodupdate
(self, model)
aios_repo/util/utils.py:501
↓ 8 callersFunctionupdate_init_info
Update the `_params_init_info` in the module if the value of parameters are changed. Args: module (obj:`nn.Module`): The module of Py
sapiens/engine/mmengine/model/weight_init.py:43
↓ 8 callersMethodvalue
(self)
aios_repo/util/misc.py:126
↓ 8 callersFunctionvalue2list
If the type of ``value`` is ``valid_type``, convert the value to list and expand to ``expand_dim``. Args: value (Any): value.
sapiens/engine/mmengine/visualization/utils.py:55
↓ 7 callersMethod__delattr__
delete the item in dataelement. Args: item (str): The key to delete.
sapiens/pose/mmpose/structures/multilevel_pixel_data.py:204
↓ 7 callersMethod__get__
(self, obj, cls)
mmcv/mmcv/transforms/utils.py:110
↓ 7 callersMethod__init__
(self, input_dim=24 * 6, sample_interval=10, encoder_hidden
aios_repo/detrsmpl/core/post_processing/speed_up/deciwatch.py:221
↓ 7 callersMethod__init__
(self, *, bias: float = 0, bias_prob: Optional[float] = Non
mmcv/mmcv/cnn/utils/weight_init.py:167
↓ 7 callersMethod__init__
(self, input_dim=24 * 6, sample_interval=10, encoder_hidden
mmhuman3d/core/post_processing/speed_up/deciwatch.py:221
↓ 7 callersMethod__init__
(self, save_dir: Optional[str] = None, init_kwargs: Optional[dict] = None)
sapiens/engine/mmengine/visualization/vis_backend.py:1371
↓ 7 callersMethod__init__
(self, *, bias=0, bias_prob=None, layer=None)
sapiens/engine/mmengine/model/weight_init.py:161
↓ 7 callersMethod__init__
(self, in_channels: int, pool_features: int, conv_cfg: Opti
sapiens/pretrain/mmpretrain/models/backbones/inception_v3.py:85
↓ 7 callersMethod__init__
(self, in_features: int, out_features: Optional[int] = None,
sapiens/pretrain/mmpretrain/models/backbones/xcit.py:374
↓ 7 callersMethod__init__
(self, in_channels, stem_channels, out_channels,
sapiens/pose/mmpose/models/backbones/litehrnet.py:265
↓ 7 callersMethod__setitem__
Set self[key] to value. Only be called when using human_data[key] = val. Methods like update won't call __setitem__. In keypoints_comp
mmhuman3d/data/data_structures/human_data.py:663
↓ 7 callersFunction_convert_input_type_range
Convert the type and range of the input image. It converts the input image to np.float32 type and range of [0, 1]. It is mainly used for pre-
mmcv/mmcv/image/colorspace.py:109
↓ 7 callersFunction_convert_output_type_range
Convert the type and range of the image according to dst_type. It converts the image to desired type and range. If `dst_type` is np.uint8, im
mmcv/mmcv/image/colorspace.py:137
↓ 7 callersMethod_flip_bbox
Flip bboxes horizontally. Args: bboxes (numpy.ndarray): Bounding boxes, shape (..., 4*k) img_shape (tuple[int]): Imag
sapiens/cv/mmcv/transforms/processing.py:1225
↓ 7 callersFunction_interpolate
(name, dim, interpolate_mode)
mmcv/mmcv/onnx/symbolic.py:38
↓ 7 callersFunction_load_checkpoint_to_model
(model, checkpoint, strict=False,
sapiens/engine/mmengine/runner/checkpoint.py:617
↓ 7 callersFunction_parse_padding
parse padding into list [padx0, padx1, pady0, pady1]
sapiens/cv/mmcv/ops/upfirdn2d.py:61
↓ 7 callersMethod_replace_prefix
(self, filepath: Union[str, Path])
sapiens/engine/mmengine/fileio/backends/petrel_backend.py:109
↓ 7 callersMethod_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
sapiens/pretrain/mmpretrain/models/multimodal/blip2/modeling_opt.py:176
↓ 7 callersMethod_test_deformconv
(self, dtype=torch.float, threshold=1e-3,
mmcv/tests/test_ops/test_deform_conv.py:63
↓ 7 callersFunctionadapt_mmdet_pipeline
Converts pipeline types in MMDetection's test dataloader to use the 'mmdet' namespace. Args: cfg (ConfigDict): Configuration dictiona
sapiens/pose/mmpose/utils/config_utils.py:33
↓ 7 callersMethodall_items
Returns: iterator: An iterator object whose element is (key, value) tuple pairs for ``metainfo`` and ``data``.
sapiens/engine/mmengine/structures/base_data_element.py:385
↓ 7 callersMethodaverage
Average latest n values or all values.
mmcv/mmcv/runner/log_buffer.py:56
↓ 7 callersMethodbatch_decode
Decode keypoints. Args: batch_encoded (any): A batch of encoded keypoint representations Returns:
sapiens/pose/mmpose/codecs/base.py:84
↓ 7 callersFunctionbatch_rodrigues
Convert axis-angle representation to rotation matrix. Args: theta: size = [B, 3] Returns: Rotation matrix corresponding to th
mmhuman3d/utils/geometry.py:29
↓ 7 callersFunctionbbox_xyxy2xywh
(bbox)
blade/utils/bbox_utils.py:284
↓ 7 callersMethodbegin
mmcv/mmcv/ops/csrc/common/utils/spconv/prettyprint.h:433
↓ 7 callersFunctionbuild_backbone
Build backbone.
aios_repo/detrsmpl/models/backbones/builder.py:41
↓ 7 callersFunctionbuild_body_model
Build body_models.
blade/models/body_models/builder.py:41
↓ 7 callersFunctionbuild_dataset
Build a dataset from config dict. Args: cfg (dict): Config dict. It should at least contain the key "type". default_args (dict, o
sapiens/pose/mmpose/datasets/builder.py:84
↓ 7 callersFunctionbuild_renderer
(cfg)
blade/render/builder.py:32
↓ 7 callersMethodbuild_trans
(self, cfg, in_channels, out_channels, **extra_args)
sapiens/det/mmdet/models/necks/fpg.py:345
↓ 7 callersMethodcalculate
Calculate the accuracy. Args: pred (torch.Tensor | np.ndarray | Sequence): The prediction results. It can be labe
sapiens/pretrain/mmpretrain/evaluation/metrics/single_label.py:231
↓ 7 callersMethodchildren
(self)
sapiens/engine/mmengine/registry/registry.py:245
↓ 7 callersFunctioncolor_val_matplotlib
Convert various input in RGB order to normalized RGB matplotlib color tuples, Args: colors (Union[str, tuple, List[Union[str, tuple]]]
sapiens/engine/mmengine/visualization/utils.py:122
↓ 7 callersFunctionconv_bn_relu
Construct a sequential conv, bn and relu. Args: in_channels (int): Dimension of input features. out_channels (int): Dimension of
sapiens/pretrain/mmpretrain/models/backbones/replknet.py:84
↓ 7 callersMethodcriterion
Criterion of wingloss. Note: batch_size: N num_keypoints: K Args: pred (torch.Tensor[NxKxHxW]):
sapiens/pose/mmpose/models/losses/heatmap_loss.py:338
↓ 7 callersMethoddelete
(self)
mmcv/tests/test_fileclient.py:116
↓ 7 callersMethoddetach
Detach all tensors in data.
sapiens/engine/mmengine/structures/base_data_element.py:563
↓ 7 callersMethodencode
Encode the input images and get corresponding results.
sapiens/pretrain/mmpretrain/models/selfsup/beit.py:107
↓ 7 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,
sapiens/det/mmdet/utils/util_random.py:34
↓ 7 callersMethodevaluate
Evaluate the model performance of the whole dataset after processing all batches. Args: size (int): Length of the entire
sapiens/pretrain/mmpretrain/evaluation/metrics/multi_task.py:114
← previousnext →601–700 of 19,095, ranked by callers