Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/blade
/ functions
Functions
19,095 in github.com/NVlabs/blade
⨍
Functions
19,095
◇
Types & classes
3,728
↳
Endpoints
57
↓ 2,261 callers
Method
reshape
Reload ``reshape`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:288
↓ 1,786 callers
Method
cat
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 callers
Method
view
Reload ``view`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:284
↓ 1,177 callers
Method
unsqueeze
Reload ``unsqueeze`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:343
↓ 1,021 callers
Method
size
sapiens/cv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:351
↓ 969 callers
Method
size
mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:350
↓ 896 callers
Function
print
(*args, **kwargs)
aios_repo/util/misc.py:529
↓ 790 callers
Method
cpu
Reload ``cpu`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:268
↓ 761 callers
Method
numpy
Reload ``numpy`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:260
↓ 741 callers
Method
mean
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 callers
Method
size
Reload new_zeros from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:233
↓ 680 callers
Function
max
sapiens/cv/mmcv/ops/csrc/common/mlu/common_mlu_helper.hpp:44
↓ 660 callers
Method
permute
Reload ``permute`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:307
↓ 660 callers
Method
repeat
Reload ``repeat`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:296
↓ 637 callers
Method
transpose
Reload ``transpose`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:300
↓ 610 callers
Method
build
Return the attribute of the imported object. Returns: Any: attribute of the imported object.
sapiens/engine/mmengine/config/lazy.py:241
↓ 573 callers
Method
split
Reload ``split`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:312
↓ 529 callers
Method
view
mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:854
↓ 489 callers
Method
pop
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 callers
Method
new_zeros
Reload ``new_zeros`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:229
↓ 477 callers
Function
min
sapiens/cv/mmcv/ops/csrc/common/mlu/common_mlu_helper.hpp:39
↓ 477 callers
Method
size
(self)
sapiens/cv/mmcv/video/io.py:54
↓ 467 callers
Method
items
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 callers
Method
flatten
Reload ``flatten`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:332
↓ 433 callers
Method
format
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 callers
Method
deepcopy
(self)
aios_repo/util/config.py:372
↓ 364 callers
Method
get
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 callers
Method
stack
(self)
mmcv/mmcv/parallel/data_container.py:95
↓ 358 callers
Method
stack
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 callers
Method
get
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 callers
Function
build_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 callers
Method
expand
Reload ``expand`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:292
↓ 350 callers
Method
numel
Reload ``numel`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:256
↓ 346 callers
Method
cuda
Reload ``cuda`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:272
↓ 314 callers
Method
eval
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 callers
Method
copy
(self)
aios_repo/util/config.py:369
↓ 308 callers
Method
get
(self, key, default=None)
mmcv/mmcv/video/io.py:60
↓ 298 callers
Method
update
Update a new data sample.
sapiens/pose/mmpose/utils/timer.py:49
↓ 290 callers
Method
copy
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 callers
Method
view
sapiens/cv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:855
↓ 285 callers
Method
squeeze
Reload ``squeeze`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:337
↓ 284 callers
Method
register_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 callers
Method
parameters
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 callers
Method
keys
Returns: list: Contains all keys in data_fields.
sapiens/engine/mmengine/structures/base_data_element.py:334
↓ 265 callers
Method
update
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 callers
Method
concatenate
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 callers
Method
min
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 callers
Method
max
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 callers
Method
size
(self)
mmcv/mmcv/video/io.py:50
↓ 233 callers
Method
get
(self, key, default=None)
sapiens/cv/mmcv/video/io.py:64
↓ 223 callers
Method
desc
sapiens/cv/mmcv/ops/csrc/pytorch/mlu/mlu_common_helper.h:77
↓ 214 callers
Function
build_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 callers
Method
max
(self)
aios_repo/util/misc.py:122
↓ 197 callers
Method
info
dict: a dictionary of info about the object
sapiens/det/mmdet/models/task_modules/assigners/assign_result.py:93
↓ 188 callers
Method
to
Reload ``to`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:264
↓ 185 callers
Method
detach
(self)
aios_repo/detrsmpl/core/cameras/cameras.py:348
↓ 180 callers
Method
to
(self, device, **args)
blade/models/body_models/base.py:64
↓ 167 callers
Method
extend
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 callers
Function
print_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 callers
Method
clone
Modified from pytorch3d and add `model_type` in __class__.__init__.
aios_repo/detrsmpl/core/renderer/torch3d_renderer/meshes.py:214
↓ 161 callers
Method
new_tensor
Reload ``new_tensor`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:213
↓ 160 callers
Method
dim
Reload ``dim`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:238
↓ 160 callers
Method
to
Apply same name function to all tensors in data_fields.
sapiens/pose/mmpose/structures/multilevel_pixel_data.py:293
↓ 157 callers
Method
detach
Reload ``detach`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:280
↓ 155 callers
Method
detach
(self)
mmhuman3d/core/cameras/cameras.py:359
↓ 148 callers
Method
log
(self, runner)
mmcv/mmcv/runner/hooks/logger/base.py:60
↓ 146 callers
Method
gather
Integrate test results.
sapiens/det/mmdet/evaluation/metrics/crowdhuman_metric.py:498
↓ 140 callers
Method
items
(self, )
mmhuman3d/core/conventions/segmentation/__init__.py:46
↓ 137 callers
Method
clone
Reload ``clone`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:276
↓ 135 callers
Method
exists
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 callers
Method
load
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 callers
Method
pad
See :func:`BaseInstanceMasks.pad`.
sapiens/det/mmdet/structures/mask/structures.py:364
↓ 128 callers
Function
read_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 callers
Method
to
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 callers
Method
clone
(self)
blade/datasets/image_dataset.py:88
↓ 123 callers
Method
exists
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 callers
Method
get
(self, key)
aios_repo/models/registry.py:49
↓ 122 callers
Function
digit_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 callers
Method
to
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 callers
Method
insert
(self, word)
sapiens/pretrain/mmpretrain/models/multimodal/ofa/ofa.py:57
↓ 114 callers
Method
norm
Normalization.
sapiens/det/mmdet/models/reid/fc_module.py:88
↓ 111 callers
Method
load
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 callers
Method
get_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 callers
Method
data
mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:823
↓ 104 callers
Method
dim
sapiens/cv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:827
↓ 104 callers
Method
keys
(self, )
mmhuman3d/core/conventions/segmentation/__init__.py:49
↓ 103 callers
Method
dtype
Reload ``dtype`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:248
↓ 103 callers
Method
update
(self, vars: dict, count: int = 1)
aios_repo/util/misc.py:334
↓ 102 callers
Method
flip
See :func:`BaseInstanceMasks.flip`.
sapiens/det/mmdet/structures/mask/structures.py:351
↓ 100 callers
Method
norm
(self)
mmcv/mmcv/cnn/bricks/conv_module.py:192
↓ 100 callers
Method
register_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 callers
Method
read
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 callers
Function
digit_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 callers
Method
get
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 callers
Method
cpu
Convert all tensors to CPU in data.
sapiens/pose/mmpose/structures/multilevel_pixel_data.py:270
↓ 92 callers
Method
resize
See :func:`BaseInstanceMasks.resize`.
sapiens/det/mmdet/structures/mask/structures.py:339
↓ 92 callers
Method
write
(self, image_array: np.ndarray)
aios_repo/detrsmpl/utils/ffmpeg_utils.py:98
↓ 91 callers
Method
new_full
Reload ``new_full`` from self.tensor.
sapiens/det/mmdet/structures/bbox/base_boxes.py:217
↓ 89 callers
Method
detach
Modified from pytorch3d and add `model_type` in __class__.__init__.
blade/structures/meshes/meshes.py:234
↓ 89 callers
Method
dim
mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/tensorview.h:826
next →
1–100 of 19,095, ranked by callers