MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 6 callersFunctionbuild_renderer
Build renderers.
mmhuman3d/core/renderer/torch3d_renderer/builder.py:69
↓ 6 callersFunctioncast_tensor_type
Recursively convert Tensor in inputs from ``src_type`` to ``dst_type``. Args: inputs: Inputs that to be casted. src_type (torch.d
sapiens/det/mmdet/utils/memory.py:39
↓ 6 callersFunctioncheck_default_optimizer
(optimizer, model, prefix='')
mmcv/tests/test_runner/test_optimizer.py:109
↓ 6 callersMethodcheck_instance_created
Check whether the name corresponding instance exists. Args: name (str): Name of instance. Returns: bool: Whe
sapiens/engine/mmengine/utils/manager.py:179
↓ 6 callersFunctioncheck_sgd_optimizer
(optimizer, model, prefix='', bias_lr_
mmcv/tests/test_runner/test_optimizer.py:135
↓ 6 callersFunctioncollate
Puts each data field into a tensor/DataContainer with outer dimension batch size. Extend default_collate to add support for :type:`~mmcv.
mmcv/mmcv/parallel/collate.py:34
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
DAv2/depth_anything_v2/util/transform.py:74
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
DAv2/metric_depth/dataset/transform.py:119
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
DAv2/metric_depth/depth_anything_v2/util/transform.py:74
↓ 6 callersFunctionconv_bn
Construct a sequential conv and bn. Args: in_channels (int): Dimension of input features. out_channels (int): Dimension of output
sapiens/pretrain/mmpretrain/models/backbones/replknet.py:42
↓ 6 callersFunctionconvert_camera_matrix
Convert the intrinsic matrix K and extrinsic matrix [R|T] from source convention to destination convention. Args: K (Union[torch.Tens
blade/cameras/convert_convention.py:106
↓ 6 callersFunctionconvert_color_factory
(src: str, dst: str)
mmcv/mmcv/image/colorspace.py:301
↓ 6 callersFunctionconvert_color_factory
(src: str, dst: str)
sapiens/cv/mmcv/image/colorspace.py:306
↓ 6 callersFunctiondefault_collate
Convert list of data sampled from dataset into a batch of data, of which type consistent with the type of each data_itement in ``data_batch``.
sapiens/engine/mmengine/dataset/utils.py:131
↓ 6 callersFunctiondelete_and_reset_method
(obj, method)
mmcv/tests/test_fileclient.py:82
↓ 6 callersMethoddiff
(cfg1: Union[str, 'Config'], cfg2: Union[str, 'Config'])
sapiens/engine/mmengine/config/config.py:1646
↓ 6 callersMethodend
mmcv/mmcv/ops/csrc/common/utils/spconv/prettyprint.h:434
↓ 6 callersMethodevery_n_iters
(self, runner, n)
mmcv/mmcv/runner/hooks/hook.py:84
↓ 6 callersFunctionformat_param
(name, optim, param)
mmcv/mmcv/runner/hooks/lr_updater.py:763
↓ 6 callersMethodforward
(self, input)
mmcv/mmcv/ops/voxelize.py:184
↓ 6 callersMethodforward
(self, x)
mmcv/mmcv/cnn/bricks/wrappers.py:67
↓ 6 callersMethodforward
(self, x: torch.Tensor)
sapiens/cv/mmcv/cnn/bricks/wrappers.py:71
↓ 6 callersMethodforward_plugin
Forward function for plugins.
sapiens/seg/mmseg/models/backbones/resnet.py:273
↓ 6 callersFunctiongenerate_gaussian_heatmaps
Generate gaussian heatmaps of keypoints. Args: heatmap_size (Tuple[int, int]): Heatmap size in [W, H] keypoints (np.ndarray): Key
sapiens/pose/mmpose/codecs/utils/gaussian_heatmap.py:36
↓ 6 callersFunctiongeneric_activation_jit
This method returns a handle that counts the number of activation from the output shape for the specified operation. Args: op_name (s
sapiens/engine/mmengine/analysis/jit_handles.py:85
↓ 6 callersMethodget
Read bytes from a given ``filepath`` with 'rb' mode. Args: filepath (str or Path): Path to read data. Returns:
sapiens/engine/mmengine/fileio/backends/petrel_backend.py:113
↓ 6 callersMethodgetCatIds
filtering parameters. default skips that filter. :param catNms (str array) : get cats for given cat names :param supNms (str array)
sapiens/det/mmdet/evaluation/functional/ytvis.py:170
↓ 6 callersFunctionget_classes
Get class names of a dataset.
sapiens/seg/mmseg/utils/class_names.py:526
↓ 6 callersFunctionget_input_device
(input)
mmcv/mmcv/parallel/_functions.py:71
↓ 6 callersFunctionget_palette
Get palette from various inputs. Args: palette (list[tuple] | str | tuple): palette inputs. num_classes (int): the number of clas
sapiens/det/mmdet/visualization/palette.py:53
↓ 6 callersFunctionhas_method
Check whether the object has a method. Args: method (str): The method name to check. obj (object): The object to check. Retu
sapiens/engine/mmengine/utils/misc.py:451
↓ 6 callersFunctionimages_to_array
Read a folder of images as an array of (f * h * w * 3). Args: input_folder (str): folder of input images. resolution (Option
mmhuman3d/utils/ffmpeg_utils.py:401
↓ 6 callersFunctionimflip
Flip an image horizontally or vertically. Args: img (ndarray): Image to be flipped. direction (str): The flip direction, either "
sapiens/cv/mmcv/image/geometric.py:319
↓ 6 callersFunctionimresize
Resize image to a given size. Args: img (ndarray): The input image. size (tuple[int]): Target size (w, h). return_scale (
sapiens/cv/mmcv/image/geometric.py:105
↓ 6 callersFunctioninference_model
Inference image(s) with the segmentor. Args: model (nn.Module): The loaded segmentor. imgs (str/ndarray or list[str/ndarray]): Ei
sapiens/seg/mmseg/apis/inference.py:127
↓ 6 callersFunctioninit_model
Initialize a segmentor from config file. Args: config (str, :obj:`Path`, or :obj:`mmengine.Config`): Config file path, :obj:`
sapiens/seg/mmseg/apis/inference.py:52
↓ 6 callersFunctioninit_model
Initialize a pose estimator from a config file. Args: config (str, :obj:`Path`, or :obj:`mmengine.Config`): Config file path,
sapiens/pose/mmpose/apis/inference.py:95
↓ 6 callersMethodinit_weights
Initialize weights.
sapiens/pretrain/mmpretrain/models/selfsup/cae.py:433
↓ 6 callersFunctionis_norm
Check if a layer is a normalization layer. Args: layer (nn.Module): The layer to be checked. exclude (type | tuple[type]): Types
sapiens/cv/mmcv/cnn/bricks/norm.py:161
↓ 6 callersFunctionis_str
Whether the input is an string instance. Note: This method is deprecated since python 2 is no longer supported.
mmcv/mmcv/utils/misc.py:54
↓ 6 callersFunctionis_supported_instance
(module: nn.Module)
mmcv/mmcv/cnn/utils/flops_counter.py:567
↓ 6 callersFunctionis_supported_instance
(module: nn.Module)
sapiens/cv/mmcv/cnn/utils/flops_counter.py:574
↓ 6 callersMethodkeys
(self)
aios_repo/util/smplx/smplx/utils.py:64
↓ 6 callersMethodload_data
(self, train_sample_interval=1)
aios_repo/datasets/UBody_MM.py:291
↓ 6 callersMethodload_imgs
(self, ids)
sapiens/det/mmdet/datasets/api_wrappers/coco_api.py:72
↓ 6 callersMethodload_state_dict
(self, state_dict: dict)
sapiens/engine/mmengine/_strategy/deepspeed.py:127
↓ 6 callersMethodmake_block_plugins
make plugins for block. Args: in_channels (int): Input channels of plugin. plugins (list[dict]): List of plugins cfg
sapiens/det/mmdet/models/backbones/resnet.py:247
↓ 6 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
sapiens/seg/mmseg/models/backbones/hrnet.py:458
↓ 6 callersMethodnorm3
(self)
sapiens/pretrain/mmpretrain/models/backbones/resnet.py:274
↓ 6 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
sapiens/seg/setup.py:46
↓ 6 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
sapiens/pretrain/setup.py:44
↓ 6 callersFunctionprocess_db_coord_batch_no_valid
(joint_img, joint_cam, do_flip, img_shape, flip_pairs, img2bb_trans, rot,
aios_repo/util/preprocessing.py:421
↓ 6 callersMethodread
Read image data. If grid is None, read the whole image. Args: grid (Optional[List], optional): Grid to read. Defaults to None.
sapiens/seg/mmseg/apis/remote_sense_inferencer.py:72
↓ 6 callersMethodregister_lr_hook
(self, lr_config)
mmcv/mmcv/runner/base_runner.py:424
↓ 6 callersMethodrescale_
Rescale boxes w.r.t. rescale_factor in-place. Note: Both ``rescale_`` and ``resize_`` will enlarge or shrink boxes w.
sapiens/det/mmdet/structures/bbox/base_boxes.py:467
↓ 6 callersFunctionrgb2bgr
Convert color channels.
mmhuman3d/core/renderer/torch3d_renderer/utils.py:87
↓ 6 callersMethodsample
Sample positive and negative bboxes. This is a simple implementation of bbox sampling given candidates, assigning results and ground
aios_repo/detrsmpl/core/post_processing/bbox/samplers/base_sampler.py:57
↓ 6 callersFunctionsave_checkpoint
Save checkpoint to file. Args: checkpoint (dict): Module whose params are to be saved. filename (str): Checkpoint filename.
sapiens/engine/mmengine/runner/checkpoint.py:764
↓ 6 callersFunctionscatter_kwargs
Scatter with support for kwargs dictionary.
mmcv/mmcv/parallel/scatter_gather.py:72
↓ 6 callersFunctionsigmoid_focal_loss
Loss used in RetinaNet for dense detection: https://arxiv.org/abs/1708.02002. Args: inputs: A float tensor of arbitrary shape.
aios_repo/models/aios/utils.py:143
↓ 6 callersMethodtracer_warnings
Sets which warnings to print when tracing the graph to calculate statistics. There are three modes. Defaults to 'no_tracer_warning'. A
sapiens/engine/mmengine/analysis/jit_analysis.py:472
↓ 6 callersFunctiontrack
(sequence, description: str = '', total: Optional[float] = None)
sapiens/pretrain/mmpretrain/utils/progress.py:46
↓ 6 callersMethoduncalled_modules
Returns a set of submodules that were never called during the trace of the graph. This may be because they were unused, or because th
sapiens/engine/mmengine/analysis/jit_analysis.py:366
↓ 6 callersMethoduncalled_modules_warnings
Sets if warnings from uncalled submodules are shown. Defaults to true. A submodule is considered "uncalled" if it is never called dur
sapiens/engine/mmengine/analysis/jit_analysis.py:523
↓ 6 callersMethodunsupported_ops_warnings
Sets if warnings for unsupported operators are shown. Defaults to True. Counts of unsupported operators may be obtained from :meth:`u
sapiens/engine/mmengine/analysis/jit_analysis.py:510
↓ 6 callersMethodvalues
(self, )
aios_repo/detrsmpl/core/conventions/segmentation/__init__.py:51
↓ 6 callersFunctionweight_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Tensor): Element-wise weights.
aios_repo/detrsmpl/models/losses/utils.py:50
↓ 6 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
aios_repo/detrsmpl/core/post_processing/speed_up/deciwatch.py:626
↓ 6 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
mmhuman3d/core/post_processing/speed_up/deciwatch.py:626
↓ 6 callersFunctionwithin_bounds_2d
mmcv/mmcv/ops/csrc/onnxruntime/cpu/gridSample.cpp:95
↓ 6 callersFunctionwrap_fp16_model
Wrap the FP32 model to FP16. If you are using PyTorch >= 1.6, torch.cuda.amp is used as the backend, otherwise, original mmcv implementation
mmcv/mmcv/runner/fp16_utils.py:279
↓ 5 callersMethod__init__
Initialize your cameras with `build_cameras` following: 1): provide `K`, `R`, `T`, `resolution`/`image_size`, `in_ndc` directly.
blade/cameras/pytorch3d_wrapper/cameras.py:46
↓ 5 callersMethod__init__
(self, config)
blade/models/bert/graphormer.py:385
↓ 5 callersMethod__init__
Initialize your cameras with `build_cameras` following: 1): provide `K`, `R`, `T`, `resolution`/`image_size`, `in_ndc` directly.
aios_repo/detrsmpl/core/cameras/cameras.py:45
↓ 5 callersMethod__init__
(self, encoder=None, decoder=None, init_cfg=None)
aios_repo/detrsmpl/models/utils/transformer.py:318
↓ 5 callersMethod__init__
( self, input_dim: int, output_dim: int, layers: List[int] = [], activ
aios_repo/detrsmpl/models/heads/expose_head.py:123
↓ 5 callersMethod__init__
(self, by_epoch=True, warmup=None, warmup_iters=0,
mmcv/mmcv/runner/hooks/momentum_updater.py:32
↓ 5 callersMethod__init__
(self)
mmcv/tests/test_runner/test_checkpoint.py:56
↓ 5 callersMethod__init__
(self)
mmcv/tests/test_runner/test_hooks.py:76
↓ 5 callersMethod__init__
Initialize your cameras with `build_cameras` following: 1): provide `K`, `R`, `T`, `resolution`/`image_size`, `in_ndc` directly.
mmhuman3d/core/cameras/cameras.py:46
↓ 5 callersMethod__init__
( self, input_dim: int, output_dim: int, layers: List[int] = [], activ
mmhuman3d/models/heads/expose_head.py:125
↓ 5 callersMethod__init__
(self, embed_dims, feedforward_channels, act_cfg=dict(type=
sapiens/det/mmdet/models/backbones/pvt.py:76
↓ 5 callersMethod__init__
(self, v_dim: int = 256, l_dim: int = 768, embed_dim: int =
sapiens/det/mmdet/models/utils/vlfuse_helper.py:444
↓ 5 callersMethod__init__
( self, scale: tuple, pad_size_divisor: int = 1, pad_value: Union[float, int]
sapiens/det/mmdet/models/data_preprocessors/data_preprocessor.py:615
↓ 5 callersMethod__init__
(self, iou_mode: str = 'giou', weight: Union[float, int] = 1.)
sapiens/det/mmdet/models/task_modules/assigners/match_cost.py:170
↓ 5 callersMethod__init__
(self, input_dim: int, hidden_dim: int, output_dim: int, num_layers: int)
sapiens/det/mmdet/models/layers/transformer/utils.py:776
↓ 5 callersMethod__init__
(self, in_channels, hidden_channels=None, out_channels=None
sapiens/pretrain/mmpretrain/models/backbones/repmlp.py:391
↓ 5 callersMethod__init__
(self, arch, stem_fn, in_channels=3, out_i
sapiens/pretrain/mmpretrain/models/backbones/cspnet.py:330
↓ 5 callersMethod__init__
(self, embed_dims, init_cfg=None)
sapiens/pretrain/mmpretrain/models/backbones/van.py:121
↓ 5 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
sapiens/pretrain/mmpretrain/models/backbones/hivit.py:53
↓ 5 callersMethod__init__
(self, arch, in_channels=3, out_indices=(3, ),
sapiens/pretrain/mmpretrain/models/backbones/twins.py:717
↓ 5 callersMethod__init__
(self, depth, in_channels=3, stem_channels=64,
sapiens/pretrain/mmpretrain/models/backbones/resnet.py:504
↓ 5 callersMethod__init__
(self, model_style: str, vision_model_width: int, add_cross_attention: bool, cross_attention_
sapiens/pretrain/mmpretrain/models/multimodal/blip2/Qformer.py:793
↓ 5 callersMethod__init__
(self, config: OPTConfig)
sapiens/pretrain/mmpretrain/models/multimodal/blip2/modeling_opt.py:823
↓ 5 callersMethod__init__
(self, input_channels, output_channels, mid_channels=32,
sapiens/pose/mmpose/models/backbones/v2v_net.py:278
↓ 5 callersMethod__init__
(self, embed_dims, feedforward_channels, act_cfg=dict(type=
sapiens/pose/mmpose/models/backbones/pvt.py:74
↓ 5 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
sapiens/pose/mmpose/models/backbones/hrformer.py:303
↓ 5 callersMethod__init__
(self, in_channels: Union[int, Sequence[int]], gfd_channels: int,
sapiens/pose/mmpose/models/heads/heatmap_heads/cid_head.py:442
↓ 5 callersMethod__init__
(self, use_target_weight=False, image_width=768, image_height=1024, loss_weight=1., loss_name='loss_pose3d_K'
sapiens/pose/mmpose/models/losses/pose3d_loss.py:183
↓ 5 callersMethod__new__
(cls, backend=None, prefix=None, **kwargs)
sapiens/engine/mmengine/fileio/file_client.py:117
← previousnext →801–900 of 19,095, ranked by callers