MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 2,261 callersMethodreshape
Reload ``reshape`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:288
↓ 1,786 callersMethodcat
Cancatenates a box instance list into one single box instance. Similar to ``torch.cat``. Args: box_list (Sequence[T]): A
sapiens/det/mmdet/structures/bbox/base_boxes.py:349
↓ 1,532 callersMethodview
Reload ``view`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:284
↓ 1,177 callersMethodunsqueeze
Reload ``unsqueeze`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:343
↓ 1,021 callersMethodsize
sapiens/cv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:351
↓ 969 callersMethodsize
mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:350
↓ 896 callersFunctionprint
(*args, **kwargs)
aios_repo/util/misc.py:529
↓ 790 callersMethodcpu
Reload ``cpu`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:268
↓ 761 callersMethodnumpy
Reload ``numpy`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:260
↓ 741 callersMethodmean
Return the mean of the latest ``window_size`` values in log histories. If ``window_size is None`` or ``window_size > len(self._log_hi
sapiens/engine/mmengine/logging/history_buffer.py:166
↓ 688 callersMethodsize
Reload new_zeros from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:233
↓ 680 callersFunctionmax
sapiens/cv/mmcv/ops/csrc/common/mlu/common_mlu_helper.hpp:44
↓ 660 callersMethodpermute
Reload ``permute`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:307
↓ 660 callersMethodrepeat
Reload ``repeat`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:296
↓ 637 callersMethodtranspose
Reload ``transpose`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:300
↓ 610 callersMethodbuild
Return the attribute of the imported object. Returns: Any: attribute of the imported object.
sapiens/engine/mmengine/config/lazy.py:241
↓ 573 callersMethodsplit
Reload ``split`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:312
↓ 529 callersMethodview
mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:854
↓ 489 callersMethodpop
Pop the value of the key. If class attribute ``lazy`` is True, the LazyObject will be built and returned. Args: key (str)
sapiens/engine/mmengine/config/config.py:198
↓ 483 callersMethodnew_zeros
Reload ``new_zeros`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:229
↓ 477 callersFunctionmin
sapiens/cv/mmcv/ops/csrc/common/mlu/common_mlu_helper.hpp:39
↓ 477 callersMethodsize
(self)
sapiens/cv/mmcv/video/io.py:54
↓ 467 callersMethoditems
Yield the keys and values of the dictionary. If class attribute ``lazy`` is False, the value of ``LazyObject`` or ``LazyAttr`` will b
sapiens/engine/mmengine/config/config.py:256
↓ 450 callersMethodflatten
Reload ``flatten`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:332
↓ 433 callersMethodformat
Override the `logging.Formatter.format`` method `. Output the message according to the specified log level. Args: record
sapiens/engine/mmengine/logging/logger.py:132
↓ 418 callersMethoddeepcopy
(self)
aios_repo/util/config.py:372
↓ 364 callersMethodget
Get the model's metainfo by the model name. Args: model_name (str): The name of model. Returns: modelindex.m
sapiens/pretrain/mmpretrain/apis/model.py:75
↓ 359 callersMethodstack
(self)
mmcv/mmcv/parallel/data_container.py:95
↓ 358 callersMethodstack
Concatenates a sequence of tensors along a new dimension. Similar to ``torch.stack``. Args: box_list (Sequence[T]): A seq
sapiens/det/mmdet/structures/bbox/base_boxes.py:372
↓ 356 callersMethodget
Get the buffer of a specific item. Args: item (str): The demanded item. ids (list[int], optional): The demanded ids.
sapiens/det/mmdet/models/trackers/base_tracker.py:170
↓ 354 callersFunctionbuild_norm_layer
Build normalization layer. Args: cfg (dict): The norm layer config, which should contain: - type (str): Layer type.
sapiens/cv/mmcv/cnn/bricks/norm.py:101
↓ 352 callersMethodexpand
Reload ``expand`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:292
↓ 350 callersMethodnumel
Reload ``numel`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:256
↓ 346 callersMethodcuda
Reload ``cuda`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:272
↓ 314 callersMethodeval
Sets the module in evaluation mode. This has any effect only on certain modules. See documentations of particular modules for
mmcv/mmcv/device/ipu/model_wrapper.py:486
↓ 310 callersMethodcopy
(self)
aios_repo/util/config.py:369
↓ 308 callersMethodget
(self, key, default=None)
mmcv/mmcv/video/io.py:60
↓ 298 callersMethodupdate
Update a new data sample.
sapiens/pose/mmpose/utils/timer.py:49
↓ 290 callersMethodcopy
Returns a copy of the :class:`JitModelAnalysis` object, keeping all settings, but on a new model or new inputs. Args: new
sapiens/engine/mmengine/analysis/jit_analysis.py:445
↓ 289 callersMethodview
sapiens/cv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:855
↓ 285 callersMethodsqueeze
Reload ``squeeze`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:337
↓ 284 callersMethodregister_module
Register a module. A record will be added to `self._module_dict`, whose key is the class name or the specified name, and value is the
mmcv/mmcv/utils/registry.py:310
↓ 279 callersMethodparameters
Returns parameters. Compatible with mmcv's build_parameters() Returns: opt_params: a list of body model parameters for optimizati
mmhuman3d/models/registrants/smplify.py:61
↓ 265 callersMethodkeys
Returns: list: Contains all keys in data_fields.
sapiens/engine/mmengine/structures/base_data_element.py:334
↓ 265 callersMethodupdate
Update the tracker. Args: kwargs (dict[str: Tensor | int]): The `str` indicates the name of the input variable. `
sapiens/det/mmdet/models/trackers/base_tracker.py:81
↓ 262 callersMethodconcatenate
Concatenate two human_data. All keys will be kept it the returned human_data. If either value from human_data_0 or human_data_1 matches
mmhuman3d/data/data_structures/human_data.py:1163
↓ 251 callersMethodmin
Return the minimum value of the latest ``window_size`` values in log histories. If ``window_size is None`` or ``window_size > len(sel
sapiens/engine/mmengine/logging/history_buffer.py:208
↓ 250 callersMethodmax
Return the maximum value of the latest ``window_size`` values in log histories. If ``window_size is None`` or ``window_size > len(sel
sapiens/engine/mmengine/logging/history_buffer.py:188
↓ 248 callersMethodsize
(self)
mmcv/mmcv/video/io.py:50
↓ 233 callersMethodget
(self, key, default=None)
sapiens/cv/mmcv/video/io.py:64
↓ 223 callersMethoddesc
sapiens/cv/mmcv/ops/csrc/pytorch/mlu/mlu_common_helper.h:77
↓ 214 callersFunctionbuild_conv_layer
Build convolution layer. Args: cfg (None or dict): The conv layer config, which should contain: - type (str): Layer type.
sapiens/cv/mmcv/cnn/bricks/conv.py:42
↓ 212 callersMethodmax
(self)
aios_repo/util/misc.py:122
↓ 197 callersMethodinfo
dict: a dictionary of info about the object
sapiens/det/mmdet/models/task_modules/assigners/assign_result.py:93
↓ 188 callersMethodto
Reload ``to`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:264
↓ 185 callersMethoddetach
(self)
aios_repo/detrsmpl/core/cameras/cameras.py:348
↓ 180 callersMethodto
(self, device, **args)
blade/models/body_models/base.py:64
↓ 167 callersMethodextend
Create new camera class which contains each input camera N times. Args: N: number of new copies of each camera. Returns:
mmhuman3d/core/cameras/cameras.py:248
↓ 167 callersFunctionprint_log
Print a log message. Args: msg (str): The message to be logged. logger (Logger or str, optional): If the type of logger is
sapiens/engine/mmengine/logging/logger.py:355
↓ 162 callersMethodclone
Modified from pytorch3d and add `model_type` in __class__.__init__.
aios_repo/detrsmpl/core/renderer/torch3d_renderer/meshes.py:214
↓ 161 callersMethodnew_tensor
Reload ``new_tensor`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:213
↓ 160 callersMethoddim
Reload ``dim`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:238
↓ 160 callersMethodto
Apply same name function to all tensors in data_fields.
sapiens/pose/mmpose/structures/multilevel_pixel_data.py:293
↓ 157 callersMethoddetach
Reload ``detach`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:280
↓ 155 callersMethoddetach
(self)
mmhuman3d/core/cameras/cameras.py:359
↓ 148 callersMethodlog
(self, runner)
mmcv/mmcv/runner/hooks/logger/base.py:60
↓ 146 callersMethodgather
Integrate test results.
sapiens/det/mmdet/evaluation/metrics/crowdhuman_metric.py:498
↓ 140 callersMethoditems
(self, )
mmhuman3d/core/conventions/segmentation/__init__.py:46
↓ 137 callersMethodclone
Reload ``clone`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:276
↓ 135 callersMethodexists
Check whether a file path exists. Args: filepath (str or Path): Path to be checked whether exists. Returns:
sapiens/engine/mmengine/fileio/file_client.py:381
↓ 134 callersMethodload
Loading information for evaluation. Args: record (dict): Label information or test results. The format might look
sapiens/det/mmdet/evaluation/metrics/crowdhuman_metric.py:574
↓ 128 callersMethodpad
See :func:`BaseInstanceMasks.pad`.
sapiens/det/mmdet/structures/mask/structures.py:364
↓ 128 callersFunctionread_base
Context manager to mark the base config. The pure Python-style configuration file allows you to use the import syntax. However, it is importa
sapiens/engine/mmengine/config/config.py:1863
↓ 125 callersMethodto
Convert values in numpy.ndarray type to torch.Tensor, and move Tensors to the target device. All keys will exist in the returned dict.
mmhuman3d/data/data_structures/human_data.py:381
↓ 124 callersMethodclone
(self)
blade/datasets/image_dataset.py:88
↓ 123 callersMethodexists
Check whether a file path exists. Args: filepath (str or Path): Path to be checked whether exists. Returns:
mmcv/mmcv/fileio/file_client.py:1088
↓ 123 callersMethodget
(self, key)
aios_repo/models/registry.py:49
↓ 122 callersFunctiondigit_version
Convert a version string into a tuple of integers. This method is usually used for comparing two versions. For pre-release versions: alpha <
sapiens/engine/mmengine/utils/version_utils.py:37
↓ 118 callersMethodto
Change the device of the data inplace. Example: >>> self = SamplingResult.random() >>> print(f'self = {self.to(None)}
sapiens/det/mmdet/models/task_modules/samplers/sampling_result.py:170
↓ 117 callersMethodinsert
(self, word)
sapiens/pretrain/mmpretrain/models/multimodal/ofa/ofa.py:57
↓ 114 callersMethodnorm
Normalization.
sapiens/det/mmdet/models/reid/fc_module.py:88
↓ 111 callersMethodload
Load data from npz_path and update them to self. Args: npz_path (str): Path to a dumped npz file.
mmhuman3d/data/data_structures/human_data.py:232
↓ 109 callersMethodget_current_instance
Get latest created ``MMLogger`` instance. :obj:`MMLogger` can call :meth:`get_current_instance` before any instance has been created,
sapiens/engine/mmengine/logging/logger.py:306
↓ 105 callersMethoddata
mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:823
↓ 104 callersMethoddim
sapiens/cv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:827
↓ 104 callersMethodkeys
(self, )
mmhuman3d/core/conventions/segmentation/__init__.py:49
↓ 103 callersMethoddtype
Reload ``dtype`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:248
↓ 103 callersMethodupdate
(self, vars: dict, count: int = 1)
aios_repo/util/misc.py:334
↓ 102 callersMethodflip
See :func:`BaseInstanceMasks.flip`.
sapiens/det/mmdet/structures/mask/structures.py:351
↓ 100 callersMethodnorm
(self)
mmcv/mmcv/cnn/bricks/conv_module.py:192
↓ 100 callersMethodregister_hook
Register a hook into the hook list. The hook will be inserted into a priority queue, with the specified priority (See :class:`Priorit
mmcv/mmcv/runner/base_runner.py:280
↓ 99 callersMethodread
Read the next frame. If the next frame have been decoded before and in the cache, then return it directly, otherwise decode, cache an
mmcv/mmcv/video/io.py:156
↓ 96 callersFunctiondigit_version
Convert a version string into a tuple of integers. This method is usually used for comparing two versions. For pre-release versions: alpha <
mmcv/mmcv/utils/version_utils.py:32
↓ 95 callersMethodget
Get the registry record. If `key`` represents the whole object name with its module information, for example, `mmengine.model.BaseMod
sapiens/engine/mmengine/registry/registry.py:412
↓ 94 callersMethodcpu
Convert all tensors to CPU in data.
sapiens/pose/mmpose/structures/multilevel_pixel_data.py:270
↓ 92 callersMethodresize
See :func:`BaseInstanceMasks.resize`.
sapiens/det/mmdet/structures/mask/structures.py:339
↓ 92 callersMethodwrite
(self, image_array: np.ndarray)
aios_repo/detrsmpl/utils/ffmpeg_utils.py:98
↓ 91 callersMethodnew_full
Reload ``new_full`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:217
↓ 89 callersMethoddetach
Modified from pytorch3d and add `model_type` in __class__.__init__.
blade/structures/meshes/meshes.py:234
↓ 89 callersMethoddim
mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:826
next →1–100 of 19,095, ranked by callers