MCPcopy Create free account

hub / github.com/NVlabs/blade / types & classes

Types & classes3,728 in github.com/NVlabs/blade

↓ 528 callersClassConvModule
A conv block that bundles conv/norm/activation layers. This block simplifies the usage of convolution layers, which are commonly used with a
sapiens/cv/mmcv/cnn/bricks/conv_module.py:97
↓ 126 callersClassInstanceData
Data structure for instance-level annotations or predictions. Subclass of :class:`BaseDataElement`. All value in `data_fields` should have th
sapiens/engine/mmengine/structures/instance_data.py:59
↓ 125 callersClassModuleList
ModuleList in openmmlab. Ensures that all modules in ``ModuleList`` have a different initialization strategy than the outer model Args:
sapiens/engine/mmengine/model/base_module.py:233
↓ 113 callersClassRegistry
A registry to map strings to classes or functions. Registered object could be built from registry. Meanwhile, registered functions could be c
sapiens/engine/mmengine/registry/registry.py:46
↓ 74 callersClassRegistry
A registry to map strings to classes or functions. Registered object could be built from registry. Meanwhile, registered functions could be c
mmcv/mmcv/utils/registry.py:98
↓ 70 callersClassConvModule
A conv block that bundles conv/norm/activation layers. This block simplifies the usage of convolution layers, which are commonly used with a
mmcv/mmcv/cnn/bricks/conv_module.py:39
↓ 58 callersClassMLP
Very simple multi-layer perceptron (also called FFN)
aios_repo/models/aios/utils.py:177
↓ 51 callersClassPixelData
Data structure for pixel-level annotations or predictions. All data items in ``data_fields`` of ``PixelData`` meet the following requirements
sapiens/engine/mmengine/structures/pixel_data.py:39
↓ 51 callersClassSequential
Sequential module in openmmlab. Ensures that all modules in ``Sequential`` have a different initialization strategy than the outer model
sapiens/engine/mmengine/model/base_module.py:218
↓ 43 callersClassBasicConv2d
A basic convolution block including convolution, batch norm and ReLU. Args: in_channels (int): The number of input channels. out_
sapiens/pretrain/mmpretrain/models/backbones/inception_v3.py:41
↓ 37 callersClassSlice
sapiens/cv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:269
↓ 35 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). We follow the implementation https://github.com
sapiens/cv/mmcv/cnn/bricks/drop.py:58
↓ 33 callersClassFFN
Implements feed-forward networks (FFNs) with identity connection. Args: embed_dims (int): The feature dimension. Same as `Mul
sapiens/cv/mmcv/cnn/bricks/transformer.py:584
↓ 33 callersClassHumanData
mmhuman3d/data/data_structures/human_data.py:127
↓ 31 callersClassCompose
Compose multiple transforms sequentially. Args: transforms (Sequence[dict, callable], optional): Sequence of transform object
sapiens/pretrain/mmpretrain/datasets/_airstore_base_dataset.py:46
↓ 31 callersClassFileClient
A general file client to access files in different backends. The client loads a file or text in a specified backend from its path and returns
mmcv/mmcv/fileio/file_client.py:773
↓ 29 callersClassConv2d
sapiens/cv/mmcv/cnn/bricks/wrappers.py:69
↓ 28 callersClassSegDataSample
A data structure interface of MMSegmentation. They are used as interfaces between different components. The attributes in ``SegDataSample`` a
sapiens/seg/mmseg/structures/seg_data_sample.py:33
↓ 27 callersClassCompose
mmhuman3d/utils/transforms.py:61
↓ 27 callersClassLinear
sapiens/cv/mmcv/cnn/bricks/wrappers.py:191
↓ 26 callersClassAssignResult
Stores assignments between predicted and truth boxes. Attributes: num_gts (int): the number of truth boxes considered when computing this
sapiens/det/mmdet/models/task_modules/assigners/assign_result.py:36
↓ 23 callersClassDataSample
A general data structure interface. It's used as the interface between different components. The following fields are convention names in MM
sapiens/pretrain/mmpretrain/structures/data_sample.py:40
↓ 22 callersClassCompose
aios_repo/detrsmpl/utils/transforms.py:61
↓ 21 callersClassCompose
Compose multiple transforms sequentially. Args: transforms (list[dict | callable]): Sequence of transform object or config di
sapiens/cv/mmcv/transforms/wrappers.py:68
↓ 20 callersClassBitmapMasks
This class represents masks in the form of bitmaps. Args: masks (ndarray): ndarray of masks in shape (N, H, W), where N is th
sapiens/det/mmdet/structures/mask/structures.py:254
↓ 20 callersClassConfigDict
A dictionary for config which has the same interface as python's built- in dictionary and can be used as a normal dictionary. The Config clas
sapiens/engine/mmengine/config/config.py:87
↓ 19 callersClassCOCO
This class is almost the same as official pycocotools package. It implements some snake case function aliases. So that the COCO class has the
sapiens/det/mmdet/datasets/api_wrappers/coco_api.py:41
↓ 19 callersClassDefaultOptimizerConstructor
Default constructor for optimizers. By default each parameter share the same optimizer settings, and we provide an argument ``paramwise_cfg``
mmcv/mmcv/runner/optimizer/default_constructor.py:38
↓ 18 callersClassPolygonMasks
This class represents masks in the form of polygons. Polygons is a list of three levels. The first level of the list corresponds to objects,
sapiens/det/mmdet/structures/mask/structures.py:627
↓ 17 callersClassProgressBar
A progress bar which can print the progress. Args: task_num (int): Number of total steps. Defaults to 0. bar_width (int): Width o
sapiens/engine/mmengine/utils/progressbar.py:39
↓ 16 callersClassCompose
Compose a data pipeline with a sequence of transforms. Args: transforms (list[dict | callable]): Either config dicts of trans
blade/datasets/pipelines/compose.py:31
↓ 16 callersClassDepthwiseSeparableConvModule
Depthwise separable convolution module. See https://arxiv.org/pdf/1704.04861.pdf for details. This module can replace a ConvModule with the
sapiens/cv/mmcv/cnn/bricks/depthwise_separable_conv_module.py:38
↓ 16 callersClassEvalDataset
mmcv/tests/test_runner/test_eval_hook.py:68
↓ 16 callersClassEvalHook
mmcv/tests/test_runner/test_eval_hook.py:114
↓ 16 callersClassHorizontalBoxes
The horizontal box class used in MMDetection by default. The ``box_dim`` of ``HorizontalBoxes`` is 4, which means the length of the last dime
sapiens/det/mmdet/structures/bbox/horizontal_boxes.py:48
↓ 14 callersClassPatchEmbed
Image to Patch Embedding. We use a conv layer to implement PatchEmbed. Args: in_channels (int): The num of input channels. Default:
sapiens/pose/mmpose/models/utils/transformer.py:146
↓ 14 callersClassPaviLoggerHook
Class to visual model, log metrics (for internal use). Args: init_kwargs (dict): A dict contains the initialization keys. add_gra
mmcv/mmcv/runner/hooks/logger/pavi.py:41
↓ 14 callersClassScale
A learnable scale parameter. This layer scales the input by a learnable factor. It multiplies a learnable scale parameter of shape (1,) with
sapiens/cv/mmcv/cnn/bricks/scale.py:34
↓ 13 callersClassEpochBasedRunner
Epoch-based Runner. This runner train models epoch by epoch.
mmcv/mmcv/runner/epoch_based_runner.py:41
↓ 13 callersClassExampleModel
mmcv/tests/test_runner/test_optimizer.py:56
↓ 13 callersClassModel
mmcv/tests/test_runner/test_runner.py:50
↓ 12 callersClassConstantInit
Initialize module parameters with constant values. Args: val (int | float): the value to fill the weights in the module with bias
mmcv/mmcv/cnn/utils/weight_init.py:200
↓ 11 callersClassConfig
A facility for config and config files. It supports common file formats as configs: python/json/yaml. The interface is the same as a dict obj
mmcv/mmcv/utils/config.py:95
↓ 11 callersClassDeformConv2d
r"""Deformable 2D convolution. Applies a deformable 2D convolution over an input signal composed of several input planes. DeformConv2d was de
sapiens/cv/mmcv/ops/deform_conv.py:256
↓ 11 callersClassDepthwiseSeparableConvModule
Depthwise separable convolution module. See https://arxiv.org/pdf/1704.04861.pdf for details. This module can replace a ConvModule with the
mmcv/mmcv/cnn/bricks/depthwise_separable_conv_module.py:30
↓ 11 callersClassIterTimerHook
mmcv/mmcv/runner/hooks/iter_timer.py:31
↓ 11 callersClassLinear
mmcv/mmcv/cnn/bricks/wrappers.py:189
↓ 11 callersClassMLP
Very simple multi-layer perceptron (also called FFN) with relu. Mostly used in DETR series detectors. Args: input_dim (int): Feature
sapiens/det/mmdet/models/layers/transformer/utils.py:764
↓ 11 callersClassMMDataParallel
The DataParallel module that supports DataContainer. MMDataParallel has two main differences with PyTorch DataParallel: - It supports a cust
mmcv/mmcv/parallel/data_parallel.py:32
↓ 11 callersClassModel
mmcv/tests/test_runner/test_eval_hook.py:78
↓ 11 callersClassModuleList
ModuleList in openmmlab. Args: modules (iterable, optional): an iterable of modules to add. init_cfg (dict, optional): Initializa
mmcv/mmcv/runner/base_module.py:208
↓ 11 callersClassNestedTensor
aios_repo/util/misc.py:392
↓ 11 callersClassPose
smplx_repo/transfer_model/config/utils_cfg.py:51
↓ 11 callersClassPseudoSampler
A pseudo sampler that does not do sampling actually.
sapiens/det/mmdet/models/task_modules/samplers/pseudo_sampler.py:40
↓ 11 callersClassResLayer
ResLayer to build ResNet style backbone. Args: block (nn.Module): Residual block used to build ResLayer. num_blocks (int): Number
sapiens/pose/mmpose/models/backbones/resnet.py:344
↓ 11 callersClassSequential
Sequential module in openmmlab. Args: init_cfg (dict, optional): Initialization config dict.
mmcv/mmcv/runner/base_module.py:196
↓ 11 callersClassWrapFunction
mmcv/tests/test_ops/test_onnx.py:56
↓ 10 callersClassMultiheadAttention
A wrapper for ``torch.nn.MultiheadAttention``. This module implements MultiheadAttention with identity connection, and positional encoding i
sapiens/cv/mmcv/cnn/bricks/transformer.py:436
↓ 10 callersClassResLayer
ResLayer to build ResNet style backbone for RPF in detectoRS. The difference between this module and base class is that we pass ``rfp_inplane
sapiens/det/mmdet/models/backbones/detectors_resnet.py:148
↓ 10 callersClassSinePositionalEncoding
Position encoding with sine and cosine functions. See `End-to-End Object Detection with Transformers <https://arxiv.org/pdf/2005.12872>`_ for
sapiens/det/mmdet/models/layers/positional_encoding.py:43
↓ 10 callersClassTRTWrapper
TensorRT engine Wrapper. Arguments: engine (tensorrt.ICudaEngine): TensorRT engine to wrap input_names (list[str]): names of each
mmcv/mmcv/tensorrt/tensorrt_utils.py:207
↓ 10 callersClassvid_info_reader
mmhuman3d/utils/ffmpeg_utils.py:514
↓ 9 callersClassAdaptivePadding
Applies padding adaptively to the input. This module can make input get fully covered by filter you specified. It support two modes "same" an
mmcv/mmcv/cnn/bricks/transformer.py:86
↓ 9 callersClassCompose
Compose multiple transforms sequentially. Args: transforms (Sequence[dict, callable], optional): Sequence of transform object
sapiens/engine/mmengine/dataset/base_dataset.py:45
↓ 9 callersClassConfigParsingError
Raise error when failed to parse pure Python style config files.
sapiens/engine/mmengine/config/utils.py:73
↓ 9 callersClassConvBN2d
An implementation of Conv2d + BatchNorm2d with support of fusion. Modified from https://github.com/microsoft/Cream/blob/main/TinyViT/models/t
sapiens/pretrain/mmpretrain/models/backbones/tinyvit.py:44
↓ 9 callersClassDeformConv2d
r"""Deformable 2D convolution. Applies a deformable 2D convolution over an input signal composed of several input planes. DeformConv2d was de
mmcv/mmcv/ops/deform_conv.py:218
↓ 9 callersClassEasyDict
Convenience class that behaves like a dict but allows access with the attribute syntax.
sapiens/cv/mmcv/ops/bias_act.py:54
↓ 9 callersClassLayerScale
LayerScale layer. Args: dim (int): Dimension of input features. layer_scale_init_value (float or torch.Tensor): Init value of lay
sapiens/pretrain/mmpretrain/models/utils/layer_scale.py:36
↓ 9 callersClassMMDistributedDataParallel
The DDP module that supports DataContainer. MMDDP has two main differences with PyTorch DDP: - It supports a custom type :class:`DataContain
mmcv/mmcv/parallel/distributed.py:34
↓ 9 callersClassPatchEmbed
Image to Patch Embedding. We use a conv layer to implement PatchEmbed. Args: in_channels (int): The num of input channels. Default:
mmcv/mmcv/cnn/bricks/transformer.py:176
↓ 9 callersClassUniversalVisualizer
Universal Visualizer for multiple tasks. Args: name (str): Name of the instance. Defaults to 'visualizer'. image (np.ndarray, opt
sapiens/pretrain/mmpretrain/visualization/visualizer.py:47
↓ 8 callersClassConfig
A facility for config and config files. It supports common file formats as configs: python/json/yaml. ``Config.fromfile`` can parse a diction
sapiens/engine/mmengine/config/config.py:377
↓ 8 callersClassContextBlock
ContextBlock module in GCNet. See 'GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond' (https://arxiv.org/abs/1904.11492)
mmcv/mmcv/cnn/bricks/context_block.py:40
↓ 8 callersClassExampleModule
mmcv/tests/test_runner/test_fp16.py:107
↓ 8 callersClassGeneralizedAttention
GeneralizedAttention module. See 'An Empirical Study of Spatial Attention Mechanisms in Deep Networks' (https://arxiv.org/abs/1711.07971) for
mmcv/mmcv/cnn/bricks/generalized_attention.py:37
↓ 8 callersClassModel
mmcv/tests/test_runner/test_checkpoint.py:62
↓ 8 callersClassRes3DBlock
A residual 3D convolutional block. Args: in_channels (int): Input channels of this block. out_channels (int): Output channels of
sapiens/pose/mmpose/models/backbones/v2v_net.py:84
↓ 8 callersClassResLayer
ResLayer to build ResNet style backbone. Args: block (nn.Module): Residual block used to build ResLayer. num_blocks (int): Number
sapiens/pretrain/mmpretrain/models/backbones/resnet.py:347
↓ 8 callersClassT
mmcv/tests/test_utils/test_parrots_jit.py:281
↓ 8 callersClassTransformerEncoderLayer
Encoder layer with window attention in Vision Transformer. Args: embed_dims (int): The feature dimension num_heads (int): Paralle
sapiens/pretrain/mmpretrain/models/backbones/vit_sam.py:252
↓ 8 callersClassbody_segmentation
blade/models/body_models/mappings/segmentation/__init__.py:29
↓ 8 callersClassvid_info_reader
aios_repo/detrsmpl/utils/ffmpeg_utils.py:515
↓ 7 callersClassDetDataSample
A data structure interface of MMDetection. They are used as interfaces between different components. The attributes in ``DetDataSample`` are
sapiens/det/mmdet/structures/det_data_sample.py:35
↓ 7 callersClassEvaluator
Wrapper class to compose multiple :class:`BaseMetric` instances. Args: metrics (dict or BaseMetric or Sequence): The config of metrics.
sapiens/engine/mmengine/evaluator/evaluator.py:39
↓ 7 callersClassLinearBatchNorm
sapiens/pretrain/mmpretrain/models/backbones/levit.py:127
↓ 7 callersClassMlvlPointGenerator
Standard points generator for multi-level (Mlvl) feature maps in 2D points-based detectors. Args: strides (list[int] | list[tuple[int
sapiens/det/mmdet/models/task_modules/prior_generators/point_generator.py:120
↓ 7 callersClassPoseDataSample
The base data structure of MMPose that is used as the interface between modules. The attributes of ``PoseDataSample`` includes: - ``
sapiens/pose/mmpose/structures/pose_data_sample.py:37
↓ 7 callersClassToyHook
mmcv/tests/test_runner/test_hooks.py:289
↓ 7 callersClassWorkerPool
Worker pool that runs a function on each value that is put(). This pool is designed that if an exception is thrown in a child, the main process sh
sapiens/lite/demo/worker_pool.py:53
↓ 6 callersClassBlockWithRPE
HiViT block. Args: input_size (int): Input size. dim (int): Number of input dims. num_heads (int): Number of attention he
sapiens/pretrain/mmpretrain/models/backbones/hivit.py:165
↓ 6 callersClassCSPLayer
Cross Stage Partial Layer. Args: in_channels (int): The input channels of the CSP layer. out_channels (int): The output channels
sapiens/det/mmdet/models/layers/csp_layer.py:181
↓ 6 callersClassCameraParameter
mmhuman3d/core/cameras/camera_parameters.py:92
↓ 6 callersClassCheckpointHook
Save checkpoints periodically. Args: interval (int): The saving period. If ``by_epoch=True``, interval indicates epochs, othe
mmcv/mmcv/runner/hooks/checkpoint.py:34
↓ 6 callersClassCompose
Compose multiple transforms sequentially. Args: transforms (list[dict | callable]): Sequence of transform object or config di
mmcv/mmcv/transforms/wrappers.py:68
↓ 6 callersClassCompose
Compose a data pipeline with a sequence of transforms. Args: transforms (list[dict | callable]): Either config dicts of trans
mmhuman3d/data/datasets/pipelines/compose.py:32
↓ 6 callersClassConfigDict
mmcv/mmcv/utils/config.py:58
↓ 6 callersClassCornerPool
Corner Pooling. Corner Pooling is a new type of pooling layer that helps a convolutional network better localize corners of bounding boxes.
mmcv/mmcv/ops/corner_pool.py:113
↓ 6 callersClassCyclicLrUpdaterHook
Cyclic LR Scheduler. Implement the cyclical learning rate policy (CLR) described in https://arxiv.org/pdf/1506.01186.pdf Different from
mmcv/mmcv/runner/hooks/lr_updater.py:455
↓ 6 callersClassGELayer
Gather-and-Expansion Layer. Args: in_channels (int): Number of input channels. out_channels (int): Number of output channels.
sapiens/seg/mmseg/models/backbones/bisenetv2.py:207
next →1–100 of 3,728, ranked by callers