Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d-li14/involution
/ functions
Functions
110 in github.com/d-li14/involution
⨍
Functions
110
◇
Types & classes
25
↓ 3 callers
Function
GET_BLOCKS
(N)
cls/mmcls/models/utils/involution_cuda.py:41
↓ 3 callers
Function
GET_BLOCKS
(N)
seg/mmseg/models/utils/involution_cuda.py:41
↓ 3 callers
Function
GET_BLOCKS
(N)
det/mmdet/models/utils/involution_cuda.py:41
↓ 3 callers
Function
load_kernel
(kernel_name, code, **kwargs)
cls/mmcls/models/utils/involution_cuda.py:25
↓ 3 callers
Function
load_kernel
(kernel_name, code, **kwargs)
seg/mmseg/models/utils/involution_cuda.py:25
↓ 3 callers
Function
load_kernel
(kernel_name, code, **kwargs)
det/mmdet/models/utils/involution_cuda.py:25
↓ 2 callers
Function
Dtype
(t)
cls/mmcls/models/utils/involution_cuda.py:17
↓ 2 callers
Function
Dtype
(t)
seg/mmseg/models/utils/involution_cuda.py:17
↓ 2 callers
Function
Dtype
(t)
det/mmdet/models/utils/involution_cuda.py:17
↓ 2 callers
Method
__init__
(self, depth, in_channels=3, stem_channels=64,
cls/mmcls/models/backbones/rednet.py:323
↓ 2 callers
Method
__init__
(self, depth, in_channels=3, stem_channels=64,
seg/mmseg/models/backbones/rednet.py:323
↓ 2 callers
Method
__init__
(self, depth, in_channels=3, stem_channels=64,
det/mmdet/models/backbones/rednet.py:323
↓ 2 callers
Method
_check_head
Check whether the `num_classes` in head matches the length of `CLASSSES` in `dataset`. Args: runner (obj:`EpochBasedRunne
det/mmdet/datasets/utils.py:117
↓ 2 callers
Method
_freeze_stages
(self)
cls/mmcls/models/backbones/rednet.py:429
↓ 2 callers
Method
_freeze_stages
(self)
seg/mmseg/models/backbones/rednet.py:429
↓ 2 callers
Method
_freeze_stages
(self)
det/mmdet/models/backbones/rednet.py:429
↓ 2 callers
Function
get_expansion
Get the expansion of a residual block. The block expansion will be obtained by the following order: 1. If ``expansion`` is given, just r
cls/mmcls/models/backbones/rednet.py:142
↓ 2 callers
Function
get_expansion
Get the expansion of a residual block. The block expansion will be obtained by the following order: 1. If ``expansion`` is given, just r
seg/mmseg/models/backbones/rednet.py:142
↓ 2 callers
Function
get_expansion
Get the expansion of a residual block. The block expansion will be obtained by the following order: 1. If ``expansion`` is given, just r
det/mmdet/models/backbones/rednet.py:142
↓ 1 callers
Function
_do_paste_mask
Paste instance masks acoording to boxes. This implementation is modified from https://github.com/facebookresearch/detectron2/ Args:
det/mmdet/models/roi_heads/mask_heads/fcn_mask_head_involution.py:309
↓ 1 callers
Function
_involution_cuda
involution kernel
cls/mmcls/models/utils/involution_cuda.py:231
↓ 1 callers
Function
_involution_cuda
involution kernel
seg/mmseg/models/utils/involution_cuda.py:231
↓ 1 callers
Function
_involution_cuda
involution kernel
det/mmdet/models/utils/involution_cuda.py:231
↓ 1 callers
Method
_make_stem_layer
(self, in_channels, stem_channels)
cls/mmcls/models/backbones/rednet.py:404
↓ 1 callers
Method
_make_stem_layer
(self, in_channels, stem_channels)
seg/mmseg/models/backbones/rednet.py:404
↓ 1 callers
Method
_make_stem_layer
(self, in_channels, stem_channels)
det/mmdet/models/backbones/rednet.py:404
↓ 1 callers
Method
make_res_layer
(self, **kwargs)
cls/mmcls/models/backbones/rednet.py:397
↓ 1 callers
Method
make_res_layer
(self, **kwargs)
seg/mmseg/models/backbones/rednet.py:397
↓ 1 callers
Method
make_res_layer
(self, **kwargs)
det/mmdet/models/backbones/rednet.py:397
↓ 1 callers
Method
norm1
(self)
cls/mmcls/models/backbones/rednet.py:98
↓ 1 callers
Method
norm1
(self)
seg/mmseg/models/backbones/rednet.py:98
↓ 1 callers
Method
norm1
(self)
det/mmdet/models/backbones/rednet.py:98
↓ 1 callers
Method
norm2
(self)
cls/mmcls/models/backbones/rednet.py:102
↓ 1 callers
Method
norm2
(self)
seg/mmseg/models/backbones/rednet.py:102
↓ 1 callers
Method
norm2
(self)
det/mmdet/models/backbones/rednet.py:102
↓ 1 callers
Method
norm3
(self)
cls/mmcls/models/backbones/rednet.py:106
↓ 1 callers
Method
norm3
(self)
seg/mmseg/models/backbones/rednet.py:106
↓ 1 callers
Method
norm3
(self)
det/mmdet/models/backbones/rednet.py:106
Method
__init__
(self, in_channels, out_channels, expansion=4,
cls/mmcls/models/backbones/rednet.py:35
Method
__init__
(self, block, num_blocks, in_channels,
cls/mmcls/models/backbones/rednet.py:197
Method
__init__
(self, channels, kernel_size, stride)
cls/mmcls/models/utils/involution_naive.py:7
Method
__init__
(self, channels, kernel_size, stride)
cls/mmcls/models/utils/involution_cuda.py:248
Method
__init__
(self, in_channels, out_channels, num_outs,
seg/mmseg/models/necks/fpn_involution.py:64
Method
__init__
(self)
seg/mmseg/models/backbones/base_backbone.py:17
Method
__init__
(self, in_channels, out_channels, expansion=4,
seg/mmseg/models/backbones/rednet.py:35
Method
__init__
(self, block, num_blocks, in_channels,
seg/mmseg/models/backbones/rednet.py:197
Method
__init__
(self, channels, kernel_size, stride)
seg/mmseg/models/utils/involution_naive.py:7
Method
__init__
(self, channels, kernel_size, stride)
seg/mmseg/models/utils/involution_cuda.py:248
Method
__init__
(self, in_channels, out_channels, num_outs,
det/mmdet/models/necks/fpn_involution.py:65
Method
__init__
(self)
det/mmdet/models/backbones/base_backbone.py:17
Method
__init__
(self, in_channels, out_channels, expansion=4,
det/mmdet/models/backbones/rednet.py:35
Method
__init__
(self, block, num_blocks, in_channels,
det/mmdet/models/backbones/rednet.py:197
Method
__init__
(self, in_channels, **kwargs)
det/mmdet/models/dense_heads/rpn_head_involution.py:25
Method
__init__
(self, channels, kernel_size, stride)
det/mmdet/models/utils/involution_naive.py:7
Method
__init__
(self, channels, kernel_size, stride)
det/mmdet/models/utils/involution_cuda.py:248
Method
__init__
(self, num_convs=4, roi_feat_size=14, in_channels=256,
det/mmdet/models/roi_heads/mask_heads/fcn_mask_head_involution.py:23
Method
_get_bboxes
Transform outputs for a single batch item into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
det/mmdet/models/dense_heads/rpn_head_involution.py:82
Method
_init_layers
Initialize layers of the head.
det/mmdet/models/dense_heads/rpn_head_involution.py:28
Method
_inner_forward
(x)
cls/mmcls/models/backbones/rednet.py:111
Method
_inner_forward
(x)
seg/mmseg/models/backbones/rednet.py:111
Method
_inner_forward
(x)
det/mmdet/models/backbones/rednet.py:111
Method
backward
(ctx, grad_output)
cls/mmcls/models/utils/involution_cuda.py:181
Method
backward
(ctx, grad_output)
seg/mmseg/models/utils/involution_cuda.py:181
Method
backward
(ctx, grad_output)
det/mmdet/models/utils/involution_cuda.py:181
Method
before_train_epoch
Check whether the training dataset is compatible with head. Args: runner (obj:`EpochBasedRunner`): Epoch based Runner.
det/mmdet/datasets/utils.py:144
Method
before_val_epoch
Check whether the dataset in val epoch is compatible with head. Args: runner (obj:`EpochBasedRunner`): Epoch based Runner.
det/mmdet/datasets/utils.py:152
Method
forward
(self, x)
cls/mmcls/models/backbones/rednet.py:109
Method
forward
(self, x)
cls/mmcls/models/backbones/rednet.py:455
Method
forward
(self, x)
cls/mmcls/models/utils/involution_naive.py:37
Method
forward
(ctx, input, weight, stride, padding, dilation)
cls/mmcls/models/utils/involution_cuda.py:151
Method
forward
(self, x)
cls/mmcls/models/utils/involution_cuda.py:277
Method
forward
(self, inputs)
seg/mmseg/models/necks/fpn_involution.py:164
Method
forward
Forward computation Args: x (tensor | tuple[tensor]): x could be a Torch.tensor or a tuple of Torch.tensor, conta
seg/mmseg/models/backbones/base_backbone.py:40
Method
forward
(self, x)
seg/mmseg/models/backbones/rednet.py:109
Method
forward
(self, x)
seg/mmseg/models/backbones/rednet.py:455
Method
forward
(self, x)
seg/mmseg/models/utils/involution_naive.py:37
Method
forward
(ctx, input, weight, stride, padding, dilation)
seg/mmseg/models/utils/involution_cuda.py:151
Method
forward
(self, x)
seg/mmseg/models/utils/involution_cuda.py:277
Method
forward
Forward function.
det/mmdet/models/necks/fpn_involution.py:158
Method
forward
Forward computation Args: x (tensor | tuple[tensor]): x could be a Torch.tensor or a tuple of Torch.tensor, conta
det/mmdet/models/backbones/base_backbone.py:40
Method
forward
(self, x)
det/mmdet/models/backbones/rednet.py:109
Method
forward
(self, x)
det/mmdet/models/backbones/rednet.py:455
Method
forward
(self, x)
det/mmdet/models/utils/involution_naive.py:37
Method
forward
(ctx, input, weight, stride, padding, dilation)
det/mmdet/models/utils/involution_cuda.py:151
Method
forward
(self, x)
det/mmdet/models/utils/involution_cuda.py:277
Method
forward
(self, x)
det/mmdet/models/roi_heads/mask_heads/fcn_mask_head_involution.py:121
Method
forward_single
Forward feature map of a single scale level.
det/mmdet/models/dense_heads/rpn_head_involution.py:41
Function
get_loading_pipeline
Only keep loading image and annotations related configuration. Args: pipeline (list[dict]): Data pipeline configs. Returns:
det/mmdet/datasets/utils.py:73
Method
get_seg_masks
Get segmentation masks from mask_pred and bboxes. Args: mask_pred (Tensor or ndarray): shape (n, #class, h, w). F
det/mmdet/models/roi_heads/mask_heads/fcn_mask_head_involution.py:172
Method
get_targets
(self, sampling_results, gt_masks, rcnn_train_cfg)
det/mmdet/models/roi_heads/mask_heads/fcn_mask_head_involution.py:131
Method
init_weights
(self, pretrained=None)
cls/mmcls/models/backbones/rednet.py:441
Method
init_weights
(self)
seg/mmseg/models/necks/fpn_involution.py:159
Method
init_weights
Init backbone weights Args: pretrained (str | None): If pretrained is a string, then it initializes backbone weig
seg/mmseg/models/backbones/base_backbone.py:20
Method
init_weights
(self, pretrained=None)
seg/mmseg/models/backbones/rednet.py:441
Method
init_weights
Initialize the weights of FPN module.
det/mmdet/models/necks/fpn_involution.py:151
Method
init_weights
Init backbone weights Args: pretrained (str | None): If pretrained is a string, then it initializes backbone weig
det/mmdet/models/backbones/base_backbone.py:20
Method
init_weights
(self, pretrained=None)
det/mmdet/models/backbones/rednet.py:441
Method
init_weights
Initialize weights of the head.
det/mmdet/models/dense_heads/rpn_head_involution.py:35
Method
init_weights
(self)
det/mmdet/models/roi_heads/mask_heads/fcn_mask_head_involution.py:109
Method
loss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
det/mmdet/models/dense_heads/rpn_head_involution.py:49
next →
1–100 of 110, ranked by callers