MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 3 callersMethod__init__
(self, in_channels: int, sub_sample: bool = False, conv_cfg
sapiens/cv/mmcv/cnn/bricks/non_local.py:259
↓ 3 callersMethod__init__
(self, runner, dataloader: Union[DataLoader, Dict], evaluat
sapiens/engine/mmengine/runner/loops.py:362
↓ 3 callersMethod__init__
(self, size: Optional[Tuple[int, int]] = None, size_divisor: Optional[int] =
sapiens/seg/mmseg/datasets/transforms/pointmap_transforms.py:409
↓ 3 callersMethod__init__
( self, reduce_zero_label=None, backend_args=None, imdecode_backend='pillow',
sapiens/seg/mmseg/datasets/transforms/loading.py:156
↓ 3 callersMethod__init__
(self, groups=1, base_width=4, radix=2, re
sapiens/seg/mmseg/models/backbones/resnest.py:323
↓ 3 callersMethod__init__
(self, stdc_type, in_channels, channels, b
sapiens/seg/mmseg/models/backbones/stdc.py:260
↓ 3 callersMethod__init__
(self, embed_dims, feedforward_channels, act_cfg=dict(type=
sapiens/seg/mmseg/models/backbones/mit.py:68
↓ 3 callersMethod__init__
(self, in_channels=3, base_channels=64, num_stages=5,
sapiens/seg/mmseg/models/backbones/unet.py:309
↓ 3 callersMethod__init__
(self, in_channels=3, num_channels=(32, 64, 128), num_block
sapiens/seg/mmseg/models/backbones/cgnet.py:247
↓ 3 callersMethod__init__
(self, in_channels=3, downsample_dw_channels=(32, 48), glob
sapiens/seg/mmseg/models/backbones/fast_scnn.py:353
↓ 3 callersMethod__init__
(self, in_channels=3, enc_downsample_channels=(16, 64, 128),
sapiens/seg/mmseg/models/backbones/erfnet.py:258
↓ 3 callersMethod__init__
(self, in_channels: int, out_channels: int, kernel_size: in
sapiens/seg/mmseg/models/backbones/pidnet.py:141
↓ 3 callersMethod__init__
(self, embed_dims=768, post_process_channels=[96, 192, 384, 768],
sapiens/seg/mmseg/models/decode_heads/dpt_head.py:264
↓ 3 callersMethod__init__
( self, *, in_channels: int, total_heads: int = 1, total_layers: int =
sapiens/seg/mmseg/models/decode_heads/san_head.py:59
↓ 3 callersMethod__init__
(self, args=dict())
sapiens/seg/mmseg/models/decode_heads/ham_head.py:142
↓ 3 callersMethod__init__
(self, max_iter: int, log_interval: int, num_warmup: int,
sapiens/det/mmdet/utils/benchmark.py:114
↓ 3 callersMethod__init__
(self, in_channels, out_channels, num_outs,
sapiens/det/mmdet/models/necks/fpg.py:178
↓ 3 callersMethod__init__
(self, groups=1, base_width=4, radix=2, re
sapiens/det/mmdet/models/backbones/resnest.py:327
↓ 3 callersMethod__init__
(self, depth, in_channels=3, stem_channels=None,
sapiens/det/mmdet/models/backbones/resnet.py:397
↓ 3 callersMethod__init__
(self, num_classes: int, in_channels: int, anchor_generator
sapiens/det/mmdet/models/dense_heads/yolact_head.py:85
↓ 3 callersMethod__init__
(self, num_layers: int, layer_cfg: ConfigType, num_cp: int
sapiens/det/mmdet/models/layers/transformer/detr_layers.py:60
↓ 3 callersMethod__init__
(self, depth, groups=1, width_per_group=4,
sapiens/pretrain/mmpretrain/models/backbones/resnest.py:344
↓ 3 callersMethod__init__
(self, embed_dims, input_resolution, num_heads,
sapiens/pretrain/mmpretrain/models/backbones/mixmim.py:157
↓ 3 callersMethod__init__
(self, in_channels, hidden_channels=None, out_channels=None
sapiens/pretrain/mmpretrain/models/backbones/mvit.py:131
↓ 3 callersMethod__init__
(self, arch='121', in_channels=3, bn_size=4,
sapiens/pretrain/mmpretrain/models/backbones/densenet.py:240
↓ 3 callersMethod__init__
(self, arch='b', img_size=224, patch_size=16,
sapiens/pretrain/mmpretrain/models/backbones/tnt.py:281
↓ 3 callersMethod__init__
( self, embed_dim: int, image_resolution: int, vision_layers: Union[Tuple[int,
sapiens/pretrain/mmpretrain/models/utils/clip_generator_helper.py:263
↓ 3 callersMethod__init__
(self, inplanes, planes, stride=1)
sapiens/pretrain/mmpretrain/models/multimodal/chinese_clip/chinese_clip.py:52
↓ 3 callersMethod__init__
(self, **kwargs)
sapiens/pose/mmpose/datasets/transforms/pose3d_transforms.py:121
↓ 3 callersMethod__init__
(self, depth, groups=1, width_per_group=4,
sapiens/pose/mmpose/models/backbones/resnest.py:358
↓ 3 callersMethod__init__
(self, use_target_weight=False, loss_weight=1., with_logits
sapiens/pose/mmpose/models/losses/classification_loss.py:48
↓ 3 callersMethod__set_default_values__
For older versions of HumanData, call this method to apply missing values (also attributes).
aios_repo/detrsmpl/data/data_structures/human_data.py:1169
↓ 3 callersMethod__set_default_values__
For older versions of HumanData, call this method to apply missing values (also attributes).
mmhuman3d/data/data_structures/human_data.py:1135
↓ 3 callersFunction_adaptive_pool
(name, type, tuple_fn, fn=None)
mmcv/mmcv/onnx/symbolic.py:348
↓ 3 callersMethod_add_conv_fc_branch
Add shared or separable branch. convs -> avg pool (optional) -> fcs
sapiens/det/mmdet/models/roi_heads/bbox_heads/multi_instance_bbox_head.py:210
↓ 3 callersMethod_add_conv_fc_branch
Add shared or separable branch. convs -> avg pool (optional) -> fcs
sapiens/det/mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py:150
↓ 3 callersMethod_add_fc_branch
build fc layers.
sapiens/det/mmdet/models/roi_heads/bbox_heads/sabl_head.py:245
↓ 3 callersMethod_after_epoch
All subclasses should override this method, if they need any operations after each epoch. Args: runner (Runner): The runn
sapiens/engine/mmengine/hooks/hook.py:322
↓ 3 callersMethod_after_iter
All subclasses should override this method, if they need any operations after each epoch. Args: runner (Runner): The runn
sapiens/engine/mmengine/hooks/hook.py:348
↓ 3 callersFunction_auto_contrast_channel
(im, c, cutoff)
mmcv/mmcv/image/photometric.py:280
↓ 3 callersFunction_auto_contrast_channel
(im, c, cutoff)
sapiens/cv/mmcv/image/photometric.py:345
↓ 3 callersFunction_avg_pool
(name, tuple_fn)
mmcv/mmcv/onnx/symbolic.py:174
↓ 3 callersMethod_bbox_forward
Box head forward function used in both training and testing. Args: x (tuple[Tensor]): List of multi-level img features.
sapiens/det/mmdet/models/roi_heads/standard_roi_head.py:175
↓ 3 callersMethod_before_epoch
All subclasses should override this method, if they need any operations before each epoch. Args: runner (Runner): The run
sapiens/engine/mmengine/hooks/hook.py:312
↓ 3 callersMethod_before_iter
All subclasses should override this method, if they need any operations before each iter. Args: runner (Runner): The runn
sapiens/engine/mmengine/hooks/hook.py:332
↓ 3 callersFunction_benchmark
(model, input, model_name="")
sapiens/seg/tools/deployment/torch_optimization.py:79
↓ 3 callersMethod_build_head
Build head for each branch.
sapiens/det/mmdet/models/dense_heads/centernet_head.py:103
↓ 3 callersMethod_build_param_scheduler
Build parameter schedulers for a single optimizer. Args: scheduler (_ParamScheduler or dict or list): A Param Scheduler
sapiens/engine/mmengine/_strategy/base.py:535
↓ 3 callersMethod_build_param_scheduler
Build parameter schedulers for a single optimizer. Args: scheduler (_ParamScheduler or dict or list): A Param Scheduler
sapiens/engine/mmengine/runner/runner.py:1150
↓ 3 callersFunction_calc_distances
Calculate the normalized distances between preds and target. Note: - instance number: N - keypoint number: K - keypoint d
sapiens/pose/mmpose/evaluation/functional/keypoint_eval.py:38
↓ 3 callersMethod_cast_inputs_half
Cast inputs to half precision if needed. Args: inputs (list or tuple or dict or None): Inputs to be casted. Returns:
sapiens/engine/mmengine/_strategy/deepspeed.py:207
↓ 3 callersMethod_ceil_to_multiple
Ceil the given size (tuple of [w, h]) to a multiple of the base.
sapiens/pose/mmpose/datasets/transforms/bottomup_transforms.py:421
↓ 3 callersMethod_check_head
Check whether the `num_classes` in head matches the length of `CLASSES` in `dataset`. Args: runner (obj:`Runner`): runner
sapiens/pretrain/mmpretrain/engine/hooks/class_num_check_hook.py:41
↓ 3 callersMethod_collect_scalars
Collect log information to compose a dict according to mode. Args: custom_cfg (List[dict]): A copy of ``self.custom_cfg`` with in
sapiens/engine/mmengine/runner/log_processor.py:366
↓ 3 callersMethod_compute_hessian_vector_product
( self, gradient: Tensor, p: Tensor)
torch-trust-ncg/torchtrustncg/trust_region.py:129
↓ 3 callersMethod_draw_instances_bbox
Draw bounding boxes and corresponding labels of GT or prediction. Args: image (np.ndarray): The image to draw. instan
sapiens/pose/mmpose/visualization/local_visualizer.py:206
↓ 3 callersMethod_dump
dump dict to file. Args: value_dict (dict) : The dict data to saved. file_path (str): The file path to save data.
sapiens/engine/mmengine/visualization/vis_backend.py:343
↓ 3 callersFunction_expand_mask
Expands attention_mask from ``[B, L_s]`` to ``[B, 1, L_t, L_s]``. Where ``B`` is batch_size, `L_s`` is the source sequence length, and ``L_t`
sapiens/pretrain/mmpretrain/models/multimodal/ofa/ofa_modules.py:115
↓ 3 callersMethod_finalize_video_processing
Finalize video processing by releasing the video writer and saving predictions to a file. This method should be called after completi
sapiens/pose/mmpose/apis/inferencers/base_mmpose_inferencer.py:471
↓ 3 callersFunction_flip_hand_pose
(r_pose, l_pose)
mmhuman3d/data/datasets/pipelines/transforms.py:269
↓ 3 callersFunction_flip_keypoints
Flip human joints horizontally. Note: num_keypoints: K num_dimension: D Args: keypoints (np.ndarray([K, D])): Coordin
mmhuman3d/data/datasets/pipelines/transforms.py:276
↓ 3 callersFunction_flip_smplx_pose
Flip SMPLX pose parameters horizontally. Args: pose (np.ndarray([63])): SMPLX pose parameters Returns: pose_flipped (np.ndarr
mmhuman3d/data/datasets/pipelines/transforms.py:236
↓ 3 callersMethod_fuse_conv_bn
Fuse the parameters in a branch with a conv and bn. Args: branch (mmcv.runner.Sequential): A branch with conv and bn. Re
sapiens/pretrain/mmpretrain/models/backbones/repvgg.py:237
↓ 3 callersMethod_fuse_conv_bn
Fuse the parameters in a branch with a conv and bn. Args: branch (mmcv.runner.Sequential): A branch with conv and bn. Re
sapiens/pretrain/mmpretrain/models/backbones/mobileone.py:241
↓ 3 callersFunction_get_clones
(module, N, layer_share=False)
aios_repo/models/aios/transformer.py:1571
↓ 3 callersMethod_get_dataloader_size
Get dataloader size of current loop. Args: runner (Runner): The runner of the training/validation/testing mode (str):
sapiens/engine/mmengine/runner/log_processor.py:594
↓ 3 callersMethod_get_models_from_metafile
Load model config defined in metafile from package path. Args: dir (str): Path to the directory of Config. It requires the
sapiens/engine/mmengine/infer/infer.py:666
↓ 3 callersMethod_get_ori_dataset_idx
Convert global idx to local index. Args: idx (int): Global index of ``RepeatDataset``. Returns: Tuple[int, i
sapiens/engine/mmengine/dataset/dataset_wrapper.py:146
↓ 3 callersMethod_get_ori_dataset_idx
Convert global index to local index. Args: idx (int): Global index of ``RepeatDataset``. Returns: int: Local
sapiens/engine/mmengine/dataset/dataset_wrapper.py:485
↓ 3 callersMethod_get_repo_or_mim_dir
Get the directory where the ``Configs`` located when the package is installed or ``PYTHONPATH`` is set. Args: scope (str)
sapiens/engine/mmengine/infer/infer.py:424
↓ 3 callersMethod_get_root_registry
Return the root registry.
sapiens/engine/mmengine/registry/registry.py:355
↓ 3 callersMethod_get_unserialized_subset
Get subset of data information list. Args: indices (int or Sequence[int]): If type of indices is int, indices rep
sapiens/pretrain/mmpretrain/datasets/_airstore_base_dataset.py:739
↓ 3 callersMethod_get_webcam_inputs
Sets up and returns a generator function that reads frames from a webcam input. The generator function returns a new frame each time it
sapiens/pose/mmpose/apis/inferencers/base_mmpose_inferencer.py:172
↓ 3 callersMethod_init
(self, runner)
mmcv/mmcv/runner/hooks/optimizer.py:155
↓ 3 callersMethod_init_cls_convs
Initialize classification conv layers of the head.
sapiens/det/mmdet/models/dense_heads/anchor_free_head.py:149
↓ 3 callersMethod_init_model_weights
Initialize the model weights if the model has :meth:`init_weights`
sapiens/engine/mmengine/_strategy/base.py:371
↓ 3 callersMethod_init_reg_convs
Initialize bbox regression conv layers of the head.
sapiens/det/mmdet/models/dense_heads/anchor_free_head.py:169
↓ 3 callersMethod_inputs_to_list
Preprocess the inputs to a list. Cast the input data to a list of data. - list or tuple: return inputs - str: -
sapiens/pretrain/mmpretrain/apis/base.py:194
↓ 3 callersMethod_inputs_to_list
Preprocess the inputs to a list. Preprocess inputs to a list according to its type: - list or tuple: return inputs - str:
sapiens/pose/mmpose/apis/inferencers/base_mmpose_inferencer.py:108
↓ 3 callersMethod_is_full_state_dict
Whether to save and load the full state_dict in rank 0.
sapiens/engine/mmengine/_strategy/fsdp.py:180
↓ 3 callersFunction_is_power_of_2
(n)
aios_repo/models/aios/ops/modules/ms_deform_attn.py:47
↓ 3 callersMethod_join_prefix
(self)
sapiens/det/mmdet/datasets/refcoco.py:84
↓ 3 callersMethod_join_root
Join ``self.data_root`` with the specified path. If the path is an absolute path, just return the path. And if the path is None, retu
sapiens/pretrain/mmpretrain/datasets/multi_task.py:193
↓ 3 callersFunction_load_checkpoint_with_prefix
Load partial pretrained model with specific prefix. Args: prefix (str): The prefix of sub-module. filename (str): Accept local fi
mmcv/mmcv/runner/checkpoint.py:578
↓ 3 callersFunction_load_checkpoint_with_prefix
Load partial pretrained model with specific prefix. Args: prefix (str): The prefix of sub-module. filename (str): Accept local fi
sapiens/engine/mmengine/runner/checkpoint.py:583
↓ 3 callersMethod_load_data_from_txt
load data from CUB txt file, the every line of the file is idx and a data item.
sapiens/pretrain/mmpretrain/datasets/cub.py:124
↓ 3 callersMethod_make_downsample_layer
(self, num_layers, num_channel, kernel_size=3)
aios_repo/detrsmpl/models/backbones/hrnet.py:561
↓ 3 callersMethod_make_downsample_layer
(self, num_layers, num_channel, kernel_size=3)
mmhuman3d/models/backbones/hrnet.py:571
↓ 3 callersMethod_make_layer
(self, in_channels, out_channels, blocks,
sapiens/seg/mmseg/models/backbones/fast_scnn.py:187
↓ 3 callersMethod_make_single_layer
Make single layer for PIDNet backbone. Args: block (BasicBlock or Bottleneck): Basic block or Bottleneck. in_channels
sapiens/seg/mmseg/models/backbones/pidnet.py:440
↓ 3 callersMethod_make_stage
(self, layer_config, in_channels, multiscale_output=True)
aios_repo/detrsmpl/models/backbones/hrnet.py:498
↓ 3 callersMethod_make_stage
(self, layer_config, in_channels, multiscale_output=True)
mmhuman3d/models/backbones/hrnet.py:510
↓ 3 callersMethod_make_stage
Make each stage.
sapiens/seg/mmseg/models/backbones/hrnet.py:557
↓ 3 callersMethod_make_stage
(self, layer_config, in_channels, multiscale_output=True)
sapiens/det/mmdet/models/backbones/hrnet.py:533
↓ 3 callersMethod_make_stage
Make stage.
sapiens/pose/mmpose/models/backbones/hrnet.py:520
↓ 3 callersMethod_make_transition_layer
(self, num_channels_pre_layer, num_channels_cur_layer)
aios_repo/detrsmpl/models/backbones/hrnet.py:407
↓ 3 callersMethod_make_transition_layer
(self, num_channels_pre_layer, num_channels_cur_layer)
mmhuman3d/models/backbones/hrnet.py:417
↓ 3 callersMethod_make_transition_layer
Make transition layer.
sapiens/seg/mmseg/models/backbones/hrnet.py:462
↓ 3 callersMethod_make_transition_layer
(self, num_channels_pre_layer, num_channels_cur_layer)
sapiens/det/mmdet/models/backbones/hrnet.py:440
↓ 3 callersMethod_make_transition_layer
Make transition layer.
sapiens/pose/mmpose/models/backbones/hrnet.py:438
← previousnext →1,401–1,500 of 19,095, ranked by callers