MCPcopy Create free account

hub / github.com/NVlabs/blade / functions

Functions19,095 in github.com/NVlabs/blade

↓ 3 callersMethod_make_upsample_layer
(self, num_layers, num_channel, kernel_size=3)
aios_repo/detrsmpl/models/backbones/hrnet.py:539
↓ 3 callersMethod_make_upsample_layer
(self, num_layers, num_channel, kernel_size=3)
mmhuman3d/models/backbones/hrnet.py:550
↓ 3 callersMethod_mask_forward
Mask head forward function used in both training and testing. Args: stage (int): The current stage in Cascade RoI Head.
sapiens/det/mmdet/models/roi_heads/sparse_roi_head.py:276
↓ 3 callersMethod_mask_forward
Mask head forward function used only in training. Args: stage (int): The current stage in Cascade RoI Head. x (tuple[
sapiens/det/mmdet/models/roi_heads/htc_roi_head.py:180
↓ 3 callersMethod_mask_forward
Mask head forward function used in both training and testing. Args: stage (int): The current stage in Cascade RoI Head.
sapiens/det/mmdet/models/roi_heads/cascade_roi_head.py:215
↓ 3 callersMethod_meshgrid
Generate mesh grid of x and y. Args: x (torch.Tensor): Grids of x dimension. y (torch.Tensor): Grids of y dimension.
sapiens/det/mmdet/models/task_modules/prior_generators/anchor_generator.py:235
↓ 3 callersFunction_parse_arg
(value, desc)
mmcv/mmcv/onnx/onnx_utils/symbolic_helper.py:45
↓ 3 callersMethod_parse_input
Parse input value. Args: name (str): name of input value. value (Any): Input value. Returns: dic
sapiens/engine/mmengine/logging/message_hub.py:482
↓ 3 callersMethod_parse_losses
(self, losses)
mmcv/mmcv/device/ipu/model_wrapper.py:184
↓ 3 callersFunction_precision_recall_f1_support
calculate base classification task metrics, such as precision, recall, f1_score, support.
sapiens/pretrain/mmpretrain/evaluation/metrics/single_label.py:53
↓ 3 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: cls_score_list (list[Tensor]): Box s
sapiens/det/mmdet/models/dense_heads/paa_head.py:547
↓ 3 callersFunction_process_pipeline
(dataset, name)
sapiens/det/mmdet/testing/_utils.py:465
↓ 3 callersMethod_publish_model
Remove unnecessary keys from ckpt_path and save the new checkpoint. Args: runner (Runner): The runner of the training process.
sapiens/engine/mmengine/hooks/checkpoint_hook.py:410
↓ 3 callersMethod_quad_model
Returns the value of the local quadratic approximation
torch-trust-ncg/torchtrustncg/trust_region.py:206
↓ 3 callersFunction_rand_bboxes
(rng, num_instances, img_w, img_h)
sapiens/pose/mmpose/testing/_utils.py:231
↓ 3 callersMethod_record_homography_matrix
Record the homography matrix for the Resize.
sapiens/det/mmdet/datasets/transforms/transforms.py:231
↓ 3 callersMethod_record_memory_information
Regularly record memory information. Args: runner (:obj:`Runner`): The runner of the training or evaluation proce
sapiens/det/mmdet/engine/hooks/memory_profiler_hook.py:68
↓ 3 callersMethod_register_module
(self, module, module_name=None, force=False)
mmcv/mmcv/utils/registry.py:284
↓ 3 callersMethod_report_key_error
Cauculate mean per joint position error (MPJPE) or its variants PA- MPJPE. Report mean per joint position error (MPJPE) and mean per
blade/datasets/human_image_dataset_smplx.py:642
↓ 3 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
sapiens/cv/mmcv/transforms/processing.py:235
↓ 3 callersFunction_run
(command)
aios_repo/util/misc.py:357
↓ 3 callersMethod_run_forward
Unpacks data for :meth:`forward` Args: data (dict or tuple or list): Data sampled from dataset. mode (str): Mode of f
sapiens/engine/mmengine/_strategy/deepspeed.py:188
↓ 3 callersFunction_scale_channel
Scale the data in the corresponding channel.
mmcv/mmcv/image/photometric.py:168
↓ 3 callersFunction_scale_channel
Scale the data in the corresponding channel.
sapiens/cv/mmcv/image/photometric.py:197
↓ 3 callersFunction_scale_size
Rescale a size by a ratio. Args: size (tuple[int]): (w, h). scale (float | tuple(float)): Scaling factor. Returns: t
mmcv/mmcv/image/geometric.py:39
↓ 3 callersFunction_slice_helper
(g, input, axes, starts, ends,
mmcv/mmcv/onnx/onnx_utils/symbolic_helper.py:211
↓ 3 callersMethod_sort_and_unique_bboxes
Sort keypoint detection results in each image and remove the duplicate ones. Usually performed in multi-batch testing. Args:
sapiens/pose/mmpose/evaluation/metrics/coco_metric.py:549
↓ 3 callersMethod_split_cls_score
split cls_score. Args: cls_score (Tensor): The prediction with shape (N, C + 2). Returns: Tuple[Tensor, Tens
sapiens/det/mmdet/models/losses/seesaw_loss.py:169
↓ 3 callersMethod_swap_ema_state_dict
Swap the state dict values of model with ema_model.
sapiens/engine/mmengine/hooks/ema_hook.py:243
↓ 3 callersMethod_sync_params
(self)
mmcv/mmcv/parallel/distributed_deprecated.py:60
↓ 3 callersMethod_test_correlation
(self, dtype=torch.float)
mmcv/tests/test_ops/test_correlation.py:45
↓ 3 callersFunction_test_handler
(file_format, test_obj, str_checker, mode='r+')
mmcv/tests/test_fileio.py:40
↓ 3 callersMethod_test_roipool_allclose
(self, dtype=torch.float)
mmcv/tests/test_ops/test_roi_pool.py:80
↓ 3 callersFunction_to_cpu
transfer all tensors and BaseDataElement to cpu.
sapiens/engine/mmengine/evaluator/metric.py:218
↓ 3 callersMethod_truncnorm
Sample from a truncated normal distribution.
sapiens/pose/mmpose/datasets/transforms/common_transforms.py:511
↓ 3 callersMethod_truncnorm
Sample from a truncated normal distribution.
sapiens/pose/mmpose/datasets/transforms/bottomup_transforms.py:229
↓ 3 callersMethod_upsample_add
Upsample and add two feature maps. Args: x: (Variable) top feature map to be upsampled. y: (Variable) lateral feature map
blade/models/layers/fpn.py:131
↓ 3 callersFunction_xyxyr2xywhr
Convert [x1, y1, x2, y2, heading] box to [x, y, dx, dy, heading] box. Args: box (torch.Tensor): Input boxes with shape (N, 5). Retur
mmcv/mmcv/ops/iou3d.py:142
↓ 3 callersFunction_xyxyr2xywhr
Convert [x1, y1, x2, y2, heading] box to [x, y, dx, dy, heading] box. Args: box (torch.Tensor): Input boxes with shape (N, 5). Retur
sapiens/cv/mmcv/ops/iou3d.py:147
↓ 3 callersFunctionadd_pypath
(path)
aios_repo/util/dir.py:32
↓ 3 callersMethodadd_scalar
Record the scalar data. Args: name (str): The scalar identifier. value (float, int): Value to save. step
sapiens/engine/mmengine/visualization/visualizer.py:1126
↓ 3 callersFunctionaggregate_heatmaps
Aggregate multiple heatmaps. Args: heatmaps (List[Tensor]): Multiple heatmaps to aggregate. Each should be in shape (B, C, H,
sapiens/pose/mmpose/models/utils/tta.py:160
↓ 3 callersFunctionaligned_bilinear
aligned bilinear, used in original implement in CondInst: https://github.com/aim-uofa/AdelaiDet/blob/\ c0b2092ce72442b0f40972f7c6dda8bb52c46d
sapiens/det/mmdet/models/utils/misc.py:632
↓ 3 callersFunctionallreduce_params
Allreduce parameters. Args: params (list[torch.nn.Parameter]): List of parameters or buffers of a model. coalesce (bo
mmcv/mmcv/runner/dist_utils.py:163
↓ 3 callersMethodanalysis
Compute the shape bias of a model. Args: df (pd.DataFrame): The dataframe containing the data. Returns: Dict
sapiens/pretrain/tools/analysis_tools/utils.py:252
↓ 3 callersMethodanchor_center
Get anchor centers from anchors. Args: anchors (Tensor): Anchor list with shape (N, 4), ``xyxy`` format. Returns:
sapiens/det/mmdet/models/dense_heads/gfl_head.py:248
↓ 3 callersMethodannToRLE
Convert annotation which can be polygons, uncompressed RLE to RLE. :return: binary mask (numpy 2D array)
sapiens/det/mmdet/evaluation/functional/ytvis.py:305
↓ 3 callersFunctionapply_to
Apply function to each element in dict, list or tuple that matches with the expression. For examples, if you want to convert each element in
sapiens/engine/mmengine/utils/misc.py:248
↓ 3 callersFunctionassert_equal_tensor
(tensor_a, tensor_b)
mmcv/tests/test_ops/test_correlation.py:38
↓ 3 callersMethodassign
Assign boxes to either a ground truth boxes or a negative boxes.
aios_repo/detrsmpl/core/post_processing/bbox/assigners/base_assigner.py:31
↓ 3 callersMethodassign
Assign masks to either a ground truth class label or a negative label.
sapiens/seg/mmseg/models/assigners/base_assigner.py:40
↓ 3 callersMethodassign_ids
Assign ids. Args: ids (list[int]): Tracking ids. det_bboxes (Tensor): of shape (N, 4) det_labels (Tensor)
sapiens/det/mmdet/models/trackers/byte_tracker.py:148
↓ 3 callersMethodassign_wrt_overlaps
Assign w.r.t. the overlaps of priors with gts. Args: overlaps (Tensor): Overlaps between k gt_bboxes and n bboxes,
sapiens/det/mmdet/models/task_modules/assigners/max_iou_assigner.py:270
↓ 3 callersFunctionaugmentation_instance_sample
(img, bbox, data_split,data,dataname)
aios_repo/util/preprocessing.py:223
↓ 3 callersFunctionbbox2distance
Decode bounding box based on distances. Args: points (Tensor): Shape (n, 2) or (b, n, 2), [x, y]. bbox (Tensor): Shape (n, 4) or
sapiens/det/mmdet/structures/bbox/transforms.py:234
↓ 3 callersFunctionbbox_cxcyah_to_xyxy
Convert bbox coordinates from (cx, cy, ratio, h) to (x1, y1, x2, y2). Args: bbox (Tensor): Shape (n, 4) for bboxes. Returns:
sapiens/det/mmdet/structures/bbox/transforms.py:515
↓ 3 callersFunctionbbox_flip
Flip bboxes horizontally or vertically. Args: bboxes (Tensor): Shape (..., 4*k) img_shape (Tuple[int]): Image shape. dire
sapiens/det/mmdet/structures/bbox/transforms.py:55
↓ 3 callersFunctionbbox_overlaps_impl
sapiens/cv/mmcv/ops/csrc/pytorch/bbox_overlaps.cpp:16
↓ 3 callersFunctionbbox_xyxy2cs
Transform the bbox format from (x,y,w,h) into (center, scale) Args: bbox (ndarray): Bounding box(es) in shape (4,) or (n, 4), formatted
sapiens/pose/mmpose/structures/bbox/transforms.py:72
↓ 3 callersFunctionbilinear_grid_sample
Given an input and a flow-field grid, computes the output using input values and pixel locations from grid. Supported only bilinear interpolation
mmcv/mmcv/ops/point_sample.py:37
↓ 3 callersFunctionbitmap_to_polygon
Convert masks from the form of bitmaps to polygons. Args: bitmap (ndarray): masks in bitmap representation. Return: list[nda
sapiens/det/mmdet/structures/mask/structures.py:1194
↓ 3 callersFunctionbox_cxcywh_to_xyxy
(x)
sapiens/pretrain/mmpretrain/models/utils/box_utils.py:34
↓ 3 callersFunctionbuild_assigner
Builder of box assigner.
aios_repo/detrsmpl/core/post_processing/bbox/assigners/builder.py:30
↓ 3 callersFunctionbuild_backbone
Useful args: - backbone: backbone name - lr_backbone: - dilation - return_interm_indices: available: [0,1,2,3], [1,2,3], [3] - ba
aios_repo/models/aios/backbones/backbone.py:157
↓ 3 callersMethodbuild_model
Build model. If ``model`` is a dict, it will be used to build a ``nn.Module`` object. Otherwise, if ``model`` is a ``nn.Module`` obje
sapiens/engine/mmengine/_strategy/base.py:306
↓ 3 callersFunctionbuild_optim_wrapper
Build function of OptimWrapper. If ``constructor`` is set in the ``cfg``, this method will build an optimizer wrapper constructor, and use op
sapiens/engine/mmengine/optim/optimizer/builder.py:203
↓ 3 callersMethodbuild_optim_wrapper
Build optimizer wrapper. If ``optim_wrapper`` is a config dict for only one optimizer, the keys must contain ``optimizer``, and ``typ
sapiens/engine/mmengine/_strategy/base.py:383
↓ 3 callersFunctionbuild_optimizer_constructor
(cfg: Dict)
mmcv/mmcv/runner/optimizer/builder.py:53
↓ 3 callersMethodbuild_param_scheduler
Build parameter schedulers. ``build_param_scheduler`` should be called after ``build_optim_wrapper`` because the building logic will
sapiens/engine/mmengine/_strategy/base.py:601
↓ 3 callersFunctionbuild_renderer
Build renderers.
blade/render/explicit/pytorch3d_wrapper/renderers/builder.py:74
↓ 3 callersFunctionbuild_sampler
Builder of box sampler.
aios_repo/detrsmpl/core/post_processing/bbox/samplers/builder.py:30
↓ 3 callersFunctionbuild_shader
Build shader.
blade/render/explicit/pytorch3d_wrapper/shaders/builder.py:75
↓ 3 callersFunctionbuild_shader
Build shader.
aios_repo/detrsmpl/core/renderer/torch3d_renderer/shader/builder.py:72
↓ 3 callersFunctionbuild_shader
Build shader.
mmhuman3d/core/renderer/torch3d_renderer/shader/builder.py:78
↓ 3 callersFunctionbuild_textures
Build textures.
blade/render/explicit/pytorch3d_wrapper/textures/builder.py:46
↓ 3 callersFunctionbuild_transformer
(args)
aios_repo/models/aios/transformer.py:1578
↓ 3 callersMethodbuild_val_loop
Build validation loop. Examples of ``loop``: # `ValLoop` will be used loop = dict() # custom validation
sapiens/engine/mmengine/runner/runner.py:1541
↓ 3 callersMethodbuild_val_loop
Build validation loop. Examples of ``loop``: # `ValLoop` will be used loop = dict() # custom validation
sapiens/engine/mmengine/runner/_flexible_runner.py:1007
↓ 3 callersMethodcalc_boundaries
Calculates the offset to the boundaries of the trust region
torch-trust-ncg/torchtrustncg/trust_region.py:218
↓ 3 callersFunctioncalc_output_padding
(input_shape, output_shape)
sapiens/cv/mmcv/ops/conv2d_gradfix.py:187
↓ 3 callersFunctioncarl_loss
Classification-Aware Regression Loss (CARL). Args: cls_score (Tensor): Predicted classification scores. labels (Tensor): Targets
sapiens/det/mmdet/models/losses/pisa_loss.py:154
↓ 3 callersFunctioncat
(list_of_tensor_or_array, dim)
blade/utils/torch_utils.py:50
↓ 3 callersMethodcenterness_target
Calculate the centerness between anchors and gts. Only calculate pos centerness targets, otherwise there may be nan. Args:
sapiens/det/mmdet/models/dense_heads/atss_head.py:351
↓ 3 callersFunctioncheck_file_exist
(filename, msg_tmpl='file "{}" does not exist')
mmcv/mmcv/utils/path.py:44
↓ 3 callersFunctioncheck_md5
(fpath, md5, **kwargs)
sapiens/pretrain/mmpretrain/datasets/utils.py:69
↓ 3 callersMethodclean_all_tensors
Delete tensors from self.hierarchical_data.
mmcv/mmcv/device/ipu/hierarchical_data_manager.py:236
↓ 3 callersFunctioncollate
Put each data field into a tensor/DataContainer with outer dimension batch size. TODO support for :type:`~mmcv.parallel.DataContainer`. C
mmcv/mmcv/device/ipu/dataloader.py:34
↓ 3 callersFunctioncollect_tracking_results
Collected results in distributed environments. different from the function mmengine.dist.collect_results, tracking compute metrics don't use p
sapiens/det/mmdet/evaluation/metrics/base_video_metric.py:116
↓ 3 callersFunctioncolor_val
Convert various input to color tuples. Args: color (:obj:`Color`/str/tuple/int/ndarray): Color inputs Returns: tuple[int]: A
mmcv/mmcv/visualization/color.py:48
↓ 3 callersFunctioncolor_val
Convert various input to color tuples. Args: color (:obj:`Color`/str/tuple/int/ndarray): Color inputs Returns: tuple[int]: A
sapiens/cv/mmcv/visualization/color.py:52
↓ 3 callersFunctioncompare_ndarray
Align data between two activations or weights.
mmcv/mmcv/device/ipu/utils.py:204
↓ 3 callersFunctioncompleted
Async context manager that waits for work to complete on given CUDA streams.
sapiens/det/mmdet/utils/contextmanagers.py:45
↓ 3 callersFunctioncompute_coordinates
mmcv/mmcv/ops/csrc/onnxruntime/cpu/gridSample.cpp:68
↓ 3 callersFunctionconv2d
(input: torch.Tensor, weight: torch.Tensor, bias: Optional[torch.Tensor] = None,
sapiens/cv/mmcv/ops/conv2d_gradfix.py:64
↓ 3 callersMethodconvert
Multiple with alpha and add beat with clip. Args: img (np.ndarray): The input image. alpha (int): Image weights, chan
sapiens/seg/mmseg/datasets/transforms/transforms.py:656
↓ 3 callersFunctionconvert_K_3x3_to_4x4
Convert opencv 3x3 intrinsic matrix to 4x4. Args: K (Union[torch.Tensor, np.ndarray]): Input 3x3 intrinsic matrix, left mm de
blade/cameras/convert_convention.py:364
↓ 3 callersFunctionconvert_bn
(blobs, state_dict, caffe_name, torch_name, converted_names)
sapiens/det/tools/model_converters/detectron2pytorch.py:39
↓ 3 callersFunctionconvert_conv_fc
(blobs, state_dict, caffe_name, torch_name, converted_names)
sapiens/det/tools/model_converters/detectron2pytorch.py:52
↓ 3 callersFunctionconvert_ndc_to_screen
Convert intrinsic matrix from ndc to screen. Args: K (Union[torch.Tensor, np.ndarray]): Input 4x4 intrinsic matrix, left mm d
blade/cameras/convert_convention.py:502
↓ 3 callersFunctionconvert_ndc_to_screen
Convert intrinsic matrix from ndc to screen. Args: K (Union[torch.Tensor, np.ndarray]): Input 4x4 intrinsic matrix, left mm d
aios_repo/detrsmpl/core/conventions/cameras/convert_convention.py:502
← previousnext →1,501–1,600 of 19,095, ranked by callers