MCPcopy Create free account

hub / github.com/ShihaoZhaoZSH/Uni-ControlNet / functions

Functions2,265 in github.com/ShihaoZhaoZSH/Uni-ControlNet

Method__contains__
(self, key)
annotator/uniformer/mmcv/utils/registry.py:115
Method__enter__
(self)
annotator/uniformer/mmcv/video/io.py:269
Method__exit__
(self, exc_type, exc_value, traceback)
annotator/uniformer/mmcv/video/io.py:272
Method__getattr__
(self, name)
annotator/uniformer/mmcv/utils/config.py:38
Method__getitem__
Get training/test data after pipeline. Args: idx (int): Index of data. Returns: dict: Training/test data (wi
annotator/uniformer/mmseg/datasets/custom.py:178
Method__getitem__
Get item from original dataset.
annotator/uniformer/mmseg/datasets/dataset_wrappers.py:44
Method__getitem__
(self, name)
annotator/uniformer/mmcv/utils/config.py:509
Method__getitem__
(self, index)
annotator/uniformer/mmcv/video/io.py:243
Method__getitem__
(self, index)
src/train/dataset.py:41
Method__getstate__
(self)
annotator/uniformer/mmcv/utils/config.py:525
Method__init__
(self)
annotator/mlsd/__init__.py:18
Method__init__
(self, in_c, out_c)
annotator/mlsd/models/mbv2_mlsd_tiny.py:32
Method__init__
(self, in_c, out_c)
annotator/mlsd/models/mbv2_mlsd_tiny.py:51
Method__init__
(self, in_planes, out_planes, kernel_size=3, stride=1, groups=1)
annotator/mlsd/models/mbv2_mlsd_tiny.py:92
Method__init__
(self, inp, oup, stride, expand_ratio)
annotator/mlsd/models/mbv2_mlsd_tiny.py:124
Method__init__
MobileNet V2 main class Args: num_classes (int): Number of classes width_mult (float): Width multiplier - adj
annotator/mlsd/models/mbv2_mlsd_tiny.py:153
Method__init__
(self)
annotator/mlsd/models/mbv2_mlsd_tiny.py:248
Method__init__
(self, in_c, out_c)
annotator/mlsd/models/mbv2_mlsd_large.py:33
Method__init__
(self, in_c, out_c)
annotator/mlsd/models/mbv2_mlsd_large.py:52
Method__init__
(self, in_planes, out_planes, kernel_size=3, stride=1, groups=1)
annotator/mlsd/models/mbv2_mlsd_large.py:93
Method__init__
(self, inp, oup, stride, expand_ratio)
annotator/mlsd/models/mbv2_mlsd_large.py:125
Method__init__
MobileNet V2 main class Args: num_classes (int): Number of classes width_mult (float): Width multiplier - adj
annotator/mlsd/models/mbv2_mlsd_large.py:154
Method__init__
(self)
annotator/mlsd/models/mbv2_mlsd_large.py:248
Method__init__
(self)
annotator/sketch/__init__.py:18
Method__init__
(self)
annotator/sketch/model/module.py:5
Method__init__
(self)
annotator/uniformer/__init__.py:12
Method__init__
(self, channels, num_codes)
annotator/uniformer/mmseg/ops/encoding.py:17
Method__init__
(self, size=None, scale_factor=None, mode='nearest',
annotator/uniformer/mmseg/ops/wrappers.py:31
Method__init__
(self, context, thresh=None, min_kept=100000)
annotator/uniformer/mmseg/core/seg/sampler/ohem_pixel_sampler.py:23
Method__init__
(self, **kwargs)
annotator/uniformer/mmseg/core/seg/sampler/base_pixel_sampler.py:7
Method__init__
(self, *args, by_epoch=False, efficient_test=False, **kwargs)
annotator/uniformer/mmseg/core/evaluation/eval_hooks.py:70
Method__init__
(self, split, **kwargs)
annotator/uniformer/mmseg/datasets/pascal_context.py:96
Method__init__
(self, **kwargs)
annotator/uniformer/mmseg/datasets/drive.py:21
Method__init__
(self, pipeline, img_dir, img_suffix='.jpg',
annotator/uniformer/mmseg/datasets/custom.py:75
Method__init__
(self, **kwargs)
annotator/uniformer/mmseg/datasets/hrf.py:21
Method__init__
(self, datasets)
annotator/uniformer/mmseg/datasets/dataset_wrappers.py:17
Method__init__
(self, dataset, times)
annotator/uniformer/mmseg/datasets/dataset_wrappers.py:37
Method__init__
(self, split, **kwargs)
annotator/uniformer/mmseg/datasets/voc.py:26
Method__init__
(self, **kwargs)
annotator/uniformer/mmseg/datasets/chase_db1.py:21
Method__init__
(self, **kwargs)
annotator/uniformer/mmseg/datasets/ade.py:79
Method__init__
(self, **kwargs)
annotator/uniformer/mmseg/datasets/stare.py:21
Method__init__
(self, **kwargs)
annotator/uniformer/mmseg/datasets/cityscapes.py:32
Method__init__
(self, transforms, img_scale, img_ratios=None,
annotator/uniformer/mmseg/datasets/pipelines/test_time_aug.py:53
Method__init__
(self, img_scale=None, multiscale_mode='range', ratio_range
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:41
Method__init__
(self, prob=None, direction='horizontal')
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:252
Method__init__
(self, size=None, size_divisor=None, pad_val=0,
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:308
Method__init__
(self, mean, std, to_rgb=True)
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:376
Method__init__
(self, min_value=0, max_value=255)
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:416
Method__init__
(self, clip_limit=40.0, tile_grid_size=(8, 8))
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:465
Method__init__
(self, crop_size, cat_max_ratio=1., ignore_index=255)
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:506
Method__init__
(self, prob, degree, pad_val=0, seg_pad_va
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:588
Method__init__
(self, out_channels=None, weights=(0.299, 0.587, 0.114))
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:668
Method__init__
(self, gamma=1.0)
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:716
Method__init__
(self, scale_factor=1)
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:751
Method__init__
(self, brightness_delta=32, contrast_range=(0.5, 1.5), satu
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:794
Method__init__
(self, to_float32=False, color_type='color', file_client_ar
annotator/uniformer/mmseg/datasets/pipelines/loading.py:31
Method__init__
(self, reduce_zero_label=False, file_client_args=dict(backend='disk'),
annotator/uniformer/mmseg/datasets/pipelines/loading.py:104
Method__init__
(self, transforms)
annotator/uniformer/mmseg/datasets/pipelines/compose.py:17
Method__init__
(self, keys)
annotator/uniformer/mmseg/datasets/pipelines/formating.py:44
Method__init__
(self, keys)
annotator/uniformer/mmseg/datasets/pipelines/formating.py:78
Method__init__
(self, keys, order)
annotator/uniformer/mmseg/datasets/pipelines/formating.py:113
Method__init__
(self, fields=(dict(key='img', stack=True), dict(key='gt_semant
annotator/uniformer/mmseg/datasets/pipelines/formating.py:150
Method__init__
(self, keys, meta_keys=('filename', 'ori_filename', 'ori_shape',
annotator/uniformer/mmseg/datasets/pipelines/formating.py:256
Method__init__
(self)
annotator/uniformer/mmseg/models/segmentors/base.py:19
Method__init__
(self, backbone, decode_head, neck=None, a
annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:21
Method__init__
(self, num_stages, backbone, decode_head,
annotator/uniformer/mmseg/models/segmentors/cascade_encoder_decoder.py:19
Method__init__
(self, in_channels, out_channels, num_outs,
annotator/uniformer/mmseg/models/necks/fpn.py:63
Method__init__
(self, in_channels, out_channels, scales=[0.5, 1, 2, 4],
annotator/uniformer/mmseg/models/necks/multilevel_neck.py:22
Method__init__
(self, radix, groups)
annotator/uniformer/mmseg/models/backbones/resnest.py:23
Method__init__
(self, in_channels, channels, kernel_size,
annotator/uniformer/mmseg/models/backbones/resnest.py:58
Method__init__
Bottleneck block for ResNeSt.
annotator/uniformer/mmseg/models/backbones/resnest.py:165
Method__init__
(self, in_channels, out_channels, num_convs=2,
annotator/uniformer/mmseg/models/backbones/unet.py:43
Method__init__
(self, in_channels, out_channels, with_cp=False,
annotator/uniformer/mmseg/models/backbones/unet.py:105
Method__init__
(self, in_channels, out_channels, with_cp=False,
annotator/uniformer/mmseg/models/backbones/unet.py:179
Method__init__
(self, channel, reduction=16, with_cp=False)
annotator/uniformer/mmseg/models/backbones/cgnet.py:26
Method__init__
(self, in_channels, out_channels, dilation=2,
annotator/uniformer/mmseg/models/backbones/cgnet.py:78
Method__init__
(self, num_downsampling)
annotator/uniformer/mmseg/models/backbones/cgnet.py:173
Method__init__
(self, dim, num_heads=8, qkv_bias=False, q
annotator/uniformer/mmseg/models/backbones/vit.py:72
Method__init__
(self, dim, num_heads, mlp_ratio=4, qkv_bi
annotator/uniformer/mmseg/models/backbones/vit.py:128
Method__init__
(self, img_size=224, patch_size=16, in_channels=3,
annotator/uniformer/mmseg/models/backbones/vit.py:183
Method__init__
(self, img_size=(224, 224), patch_size=16, in_channels=3,
annotator/uniformer/mmseg/models/backbones/vit.py:246
Method__init__
(self, arch='small', conv_cfg=None, norm_cfg=dict(type='BN'
annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py:70
Method__init__
(self, inplanes, planes, groups=1, base_wi
annotator/uniformer/mmseg/models/backbones/resnext.py:18
Method__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
annotator/uniformer/mmseg/models/backbones/uniformer.py:44
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
annotator/uniformer/mmseg/models/backbones/uniformer.py:63
Method__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0.)
annotator/uniformer/mmseg/models/backbones/uniformer.py:85
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
annotator/uniformer/mmseg/models/backbones/uniformer.py:113
Method__init__
(self, dim, num_heads, window_size=14, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0.,
annotator/uniformer/mmseg/models/backbones/uniformer.py:169
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768)
annotator/uniformer/mmseg/models/backbones/uniformer.py:221
Method__init__
Args: layer (list): number of block in each layer img_size (int, tuple): input image size in_chans (int):
annotator/uniformer/mmseg/models/backbones/uniformer.py:248
Method__init__
(self, num_branches, blocks, num_blocks, i
annotator/uniformer/mmseg/models/backbones/hrnet.py:20
Method__init__
(self, in_channels, dw_channels, out_channels,
annotator/uniformer/mmseg/models/backbones/fast_scnn.py:29
Method__init__
(self, in_channels=64, block_channels=(64, 96, 128), out_ch
annotator/uniformer/mmseg/models/backbones/fast_scnn.py:106
Method__init__
(self, higher_in_channels, lower_in_channels, out_channels,
annotator/uniformer/mmseg/models/backbones/fast_scnn.py:199
Method__init__
(self, widen_factor=1., strides=(1, 2, 2, 2, 1, 2, 1), dila
annotator/uniformer/mmseg/models/backbones/mobilenet_v2.py:45
Method__init__
(self, inplanes, planes, stride=1, dilatio
annotator/uniformer/mmseg/models/backbones/resnet.py:18
Method__init__
(self, inplanes, planes, stride=1, dilatio
annotator/uniformer/mmseg/models/backbones/resnet.py:106
Method__init__
(self, **kwargs)
annotator/uniformer/mmseg/models/backbones/resnet.py:672
Method__init__
(self, **kwargs)
annotator/uniformer/mmseg/models/backbones/resnet.py:686
Method__init__
(self, drop_prob=0.)
annotator/uniformer/mmseg/models/utils/drop.py:17
← previousnext →901–1,000 of 2,265, ranked by callers