MCPcopy Create free account

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

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

Method__init__
(self, power=1., min_lr=0., **kwargs)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:228
Method__init__
(self, gamma, power=1., **kwargs)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:247
Method__init__
(self, min_lr=None, min_lr_ratio=None, **kwargs)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:260
Method__init__
(self, start_percent=0.75, min_lr=None, min_lr_ratio=None,
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:298
Method__init__
(self, periods, restart_weights=[1], min_lr=None,
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:349
Method__init__
(self, by_epoch=False, target_ratio=(10, 1e-4), cyclic_time
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:434
Method__init__
(self, max_lr, total_steps=None, pct_start=0.3,
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:532
Method__init__
(self, distributed=True)
annotator/uniformer/mmcv/runner/hooks/sync_buffer.py:16
Method__init__
(self, log_dir=None, interval=10, ignore_last=True,
annotator/uniformer/mmcv/runner/hooks/logger/tensorboard.py:13
Method__init__
(self, by_epoch=True, interval=10, ignore_last=True,
annotator/uniformer/mmcv/runner/hooks/logger/text.py:55
Method__init__
(self, init_kwargs=None, interval=10, ignore_last=True,
annotator/uniformer/mmcv/runner/hooks/logger/neptune.py:38
Method__init__
(self, init_kwargs=None, interval=10, ignore_last=True,
annotator/uniformer/mmcv/runner/hooks/logger/wandb.py:10
Method__init__
(self, interval=10, ignore_last=True, reset_flag=False,
annotator/uniformer/mmcv/runner/hooks/logger/base.py:24
Method__init__
(self, init_kwargs=None, add_graph=False, add_last_ckpt=Fal
annotator/uniformer/mmcv/runner/hooks/logger/pavi.py:19
Method__init__
Class to log metrics and (optionally) a trained model to MLflow. It requires `MLflow`_ to be installed. Args: exp_name (
annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py:10
Method__init__
(self, path, interval=10, ignore_last=True,
annotator/uniformer/mmcv/runner/hooks/logger/dvclive.py:29
Method__init__
(self, optimizer_cfg, paramwise_cfg=None)
annotator/uniformer/mmcv/runner/optimizer/default_constructor.py:95
Method__init__
(self, num_classes=-1)
annotator/uniformer/mmcv/cnn/alexnet.py:14
Method__init__
(self, depth, with_bn=False, num_classes=-1,
annotator/uniformer/mmcv/cnn/vgg.py:61
Method__init__
(self, inplanes, planes, stride=1, dilatio
annotator/uniformer/mmcv/cnn/resnet.py:25
Method__init__
Bottleneck block. If style is "pytorch", the stride-two layer is the 3x3 conv layer, if it is "caffe", the stride-two layer is the fi
annotator/uniformer/mmcv/cnn/resnet.py:67
Method__init__
(self, val, **kwargs)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:175
Method__init__
(self, gain=1, distribution='normal', **kwargs)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:217
Method__init__
(self, mean=0, std=1, **kwargs)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:260
Method__init__
(self, mean: float = 0, std: float = 1, a: float = -2,
annotator/uniformer/mmcv/cnn/utils/weight_init.py:306
Method__init__
(self, a=0, b=1, **kwargs)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:358
Method__init__
(self, a=0, mode='fan_out', nonlinearity='relu',
annotator/uniformer/mmcv/cnn/utils/weight_init.py:411
Method__init__
(self, **kwargs)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:451
Method__init__
(self, checkpoint, prefix=None, map_location=None)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:478
Method__init__
(self, drop_prob=0.1)
annotator/uniformer/mmcv/cnn/bricks/drop.py:39
Method__init__
(self, in_channels, spatial_range=-1, num_heads=9,
annotator/uniformer/mmcv/cnn/bricks/generalized_attention.py:47
Method__init__
(self, in_channels, out_channels, kernel_size,
annotator/uniformer/mmcv/cnn/bricks/conv_module.py:70
Method__init__
(self, in_channels, out_channels, kernel_size,
annotator/uniformer/mmcv/cnn/bricks/conv_ws.py:78
Method__init__
(self, in_channels, ratio, pooling_type='att',
annotator/uniformer/mmcv/cnn/bricks/context_block.py:36
Method__init__
(self, in_channels, out_channels, scale_factor, upsample_kernel)
annotator/uniformer/mmcv/cnn/bricks/upsample.py:27
Method__init__
(self, in_channels, out_channels, kernel_size,
annotator/uniformer/mmcv/cnn/bricks/depthwise_separable_conv_module.py:48
Method__init__
(self, bias=1.0, divisor=2.0, min_value=0.0, max_value=1.0)
annotator/uniformer/mmcv/cnn/bricks/hsigmoid.py:23
Method__init__
(self)
annotator/uniformer/mmcv/cnn/bricks/swish.py:21
Method__init__
(self, scale=1.0)
annotator/uniformer/mmcv/cnn/bricks/scale.py:16
Method__init__
(self, in_channels, reduction=2, use_scale=True,
annotator/uniformer/mmcv/cnn/bricks/non_local.py:35
Method__init__
(self, in_channels, sub_sample=False, conv_cfg=dict(type='C
annotator/uniformer/mmcv/cnn/bricks/non_local.py:260
Method__init__
(self, in_channels, sub_sample=False, conv_cfg=dict(type='C
annotator/uniformer/mmcv/cnn/bricks/non_local.py:291
Method__init__
(self, in_channels, out_channels, kernel_size,
annotator/uniformer/mmcv/cnn/bricks/conv2d_adaptive_padding.py:33
Method__init__
(self, embed_dims, num_heads, attn_drop=0.,
annotator/uniformer/mmcv/cnn/bricks/transformer.py:81
Method__init__
(self, attn_cfgs=None, ffn_cfgs=dict( type='FFN',
annotator/uniformer/mmcv/cnn/bricks/transformer.py:319
Method__init__
(self, transformerlayers=None, num_layers=None, init_cfg=None)
annotator/uniformer/mmcv/cnn/bricks/transformer.py:533
Method__init__
(self, inplace=False)
annotator/uniformer/mmcv/cnn/bricks/hswish.py:24
Method__init__
(self, min=-1., max=1.)
annotator/uniformer/mmcv/cnn/bricks/activation.py:31
Method__init__
(self, data, stack=False, padding_value=0,
annotator/uniformer/mmcv/parallel/data_container.py:37
Method__init__
(self, module, dim=0, broadcast_buffers=True,
annotator/uniformer/mmcv/parallel/distributed_deprecated.py:16
Method__init__
(self, *args, dim=0, **kwargs)
annotator/uniformer/mmcv/parallel/data_parallel.py:26
Method__init__
(self, path_mapping=None)
annotator/uniformer/mmcv/fileio/file_client.py:60
Method__init__
(self, path_mapping: Optional[dict] = None, enable_mc: bool = True)
annotator/uniformer/mmcv/fileio/file_client.py:108
Method__init__
(self, server_list_cfg, client_cfg, sys_path=None)
annotator/uniformer/mmcv/fileio/file_client.py:423
Method__init__
(self, db_path, readonly=True, lock=False,
annotator/uniformer/mmcv/fileio/file_client.py:469
Method__init__
(self, capacity)
annotator/uniformer/mmcv/video/io.py:16
Method__init__
(self, filename, cache_capacity=10)
annotator/uniformer/mmcv/video/io.py:64
Method__init__
(self, model_path)
annotator/hed/__init__.py:10
Method__init__
(self)
annotator/hed/__init__.py:97
Method__init__
(self)
annotator/content/__init__.py:11
Method__init__
(self, model_path)
annotator/openpose/hand.py:16
Method__init__
(self, model_path)
annotator/openpose/body.py:15
Method__init__
(self)
annotator/openpose/__init__.py:17
Method__init__
(self)
annotator/openpose/model.py:144
Method__init__
(self, model_type)
annotator/midas/api.py:158
Method__init__
(self)
annotator/midas/__init__.py:10
Method__init__
(self, start_index=1)
annotator/midas/midas/vit.py:19
Method__init__
(self, in_features, start_index=1)
annotator/midas/midas/vit.py:32
Method__init__
(self, dim0, dim1)
annotator/midas/midas/vit.py:46
Method__init__
Init. Args: path (str, optional): Path to saved model. Defaults to None. features (int, optional): Number of features
annotator/midas/midas/midas_net_custom.py:16
Method__init__
Init. Args: features (int): number of features
annotator/midas/midas/blocks.py:159
Method__init__
Init. Args: features (int): number of features
annotator/midas/midas/blocks.py:198
Method__init__
Init. Args: features (int): number of features
annotator/midas/midas/blocks.py:235
Method__init__
Init. Args: features (int): number of features
annotator/midas/midas/blocks.py:295
Method__init__
Init. Args: width (int): desired output width height (int): desired output height resize_target (bool, op
annotator/midas/midas/transforms.py:52
Method__init__
(self, mean, std)
annotator/midas/midas/transforms.py:201
Method__init__
(self)
annotator/midas/midas/transforms.py:215
Method__init__
Init. Args: path (str, optional): Path to saved model. Defaults to None. features (int, optional): Number of features
annotator/midas/midas/midas_net.py:16
Method__init__
(self, path=None, non_negative=True, **kwargs)
annotator/midas/midas/dpt_depth.py:89
Method__init__
(self, anno_path, image_dir, condition_root,
src/train/dataset.py:12
Method__init__
AdamW that saves EMA versions of the parameters.
ldm/util.py:92
Method__init__
(self, model, decay=0.9999, use_num_upates=True)
ldm/modules/ema.py:6
Method__init__
(self, dim, dim_out=None, mult=4, glu=False, dropout=0.)
ldm/modules/attention.py:60
Method__init__
(self, in_channels)
ldm/modules/attention.py:93
Method__init__
(self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0.)
ldm/modules/attention.py:146
Method__init__
(self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0.0)
ldm/modules/attention.py:199
Method__init__
(self, dim, n_heads, d_head, dropout=0., context_dim=None, gated_ff=True, checkpoint=True, di
ldm/modules/attention.py:251
Method__init__
(self, in_channels, n_heads, d_head, depth=1, dropout=0., context_dim=None,
ldm/modules/attention.py:287
Method__init__
( self, spacial_dim: int, embed_dim: int, num_heads_channels: int, out
ldm/modules/diffusionmodules/openaimodel.py:36
Method__init__
(self, channels, out_channels=None, ks=5)
ldm/modules/diffusionmodules/openaimodel.py:122
Method__init__
(self, channels, use_conv, dims=2, out_channels=None,padding=1)
ldm/modules/diffusionmodules/openaimodel.py:142
Method__init__
( self, channels, emb_channels, dropout, out_channels=None, us
ldm/modules/diffusionmodules/openaimodel.py:178
Method__init__
( self, channels, num_heads=1, num_head_channels=-1, use_checkpoint=Fa
ldm/modules/diffusionmodules/openaimodel.py:284
Method__init__
(self, n_heads)
ldm/modules/diffusionmodules/openaimodel.py:351
Method__init__
(self, n_heads)
ldm/modules/diffusionmodules/openaimodel.py:383
Method__init__
( self, image_size, in_channels, model_channels, out_channels,
ldm/modules/diffusionmodules/openaimodel.py:442
Method__init__
(self, noise_schedule_config=None)
ldm/modules/diffusionmodules/upscaling.py:12
Method__init__
(self, noise_schedule_config, max_noise_level=1000, to_cuda=False)
ldm/modules/diffusionmodules/upscaling.py:68
Method__init__
(self, c_concat_config, c_crossattn_config)
ldm/modules/diffusionmodules/util.py:256
Method__init__
(self, in_channels, with_conv)
ldm/modules/diffusionmodules/model.py:51
← previousnext →1,101–1,200 of 2,265, ranked by callers