Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShihaoZhaoZSH/Uni-ControlNet
/ functions
Functions
2,265 in github.com/ShihaoZhaoZSH/Uni-ControlNet
⨍
Functions
2,265
◇
Types & classes
474
↳
Endpoints
1
Function
tensor2single3
(img)
ldm/modules/image_degradation/utils_image.py:320
Function
tensor2uint
(img)
ldm/modules/image_degradation/utils_image.py:289
Method
terminal_width
(self)
annotator/uniformer/mmcv/utils/progressbar.py:22
Method
to_kwargs
(self, inputs, kwargs, device_id)
annotator/uniformer/mmcv/parallel/distributed.py:21
Function
track_iter_progress
Track the progress of tasks iteration or enumeration with a progress bar. Tasks are yielded with a simple for-loop. Args: tasks
annotator/uniformer/mmcv/utils/progressbar.py:179
Function
track_parallel_progress
Track the progress of parallel task execution with a progress bar. The built-in :mod:`multiprocessing` module is used for process pools and t
annotator/uniformer/mmcv/utils/progressbar.py:109
Method
train
Convert the model into training mode while keep normalization layer freezed.
annotator/uniformer/mmseg/models/backbones/unet.py:389
Method
train
Convert the model into training mode will keeping the normalization layer freezed.
annotator/uniformer/mmseg/models/backbones/cgnet.py:359
Method
train
(self, mode=True)
annotator/uniformer/mmseg/models/backbones/vit.py:454
Method
train
(self, mode=True)
annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py:249
Method
train
Convert the model into training mode will keeping the normalization layer freezed.
annotator/uniformer/mmseg/models/backbones/hrnet.py:547
Method
train
(self, mode=True)
annotator/uniformer/mmseg/models/backbones/mobilenet_v2.py:174
Method
train
Convert the model into training mode while keep normalization layer freezed.
annotator/uniformer/mmseg/models/backbones/resnet.py:649
Method
train
(self)
annotator/uniformer/mmcv/runner/base_runner.py:185
Method
train
(self, data_loader, **kwargs)
annotator/uniformer/mmcv/runner/epoch_based_runner.py:40
Method
train
(self, data_loader, **kwargs)
annotator/uniformer/mmcv/runner/iter_based_runner.py:54
Method
train
(self, mode=True)
annotator/uniformer/mmcv/cnn/resnet.py:295
Function
train_segmentor
Launch segmentor training.
annotator/uniformer/mmseg/apis/train.py:33
Method
train_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
annotator/uniformer/mmseg/models/segmentors/base.py:126
Method
train_step
train_step() API for module wrapped by DistributedDataParallel. This method is basically the same as ``DistributedDataParallel.forwar
annotator/uniformer/mmcv/parallel/distributed.py:29
Method
train_step
(self, *inputs, **kwargs)
annotator/uniformer/mmcv/parallel/distributed_deprecated.py:60
Method
training_step
(self, batch, batch_idx, optimizer_idx)
ldm/models/autoencoder.py:109
Method
training_step
(self, batch, batch_idx)
ldm/models/diffusion/ddpm.py:432
Function
transfer
(model, model_weights)
annotator/openpose/util.py:30
Function
tuple_cast
Cast elements of an iterable object into a tuple of some type. A partial method of :func:`iter_cast`.
annotator/uniformer/mmcv/utils/misc.py:120
Function
uint162single
(img)
ldm/modules/image_degradation/utils_image.py:259
Function
uint2single
(img)
ldm/modules/image_degradation/utils_image.py:249
Function
uint2tensor3
(img)
ldm/modules/image_degradation/utils_image.py:282
Function
uint2tensor4
(img)
ldm/modules/image_degradation/utils_image.py:275
Function
uniform_on_device
(r1, r2, shape, device)
ldm/models/diffusion/ddpm.py:42
Function
uniq
(arr)
ldm/modules/attention.py:27
Function
upfirdn2d
UpFRIDn for 2d features. UpFIRDn is short for upsample, apply FIR filter and downsample. More details can be found in: https://www.mathwo
annotator/uniformer/mmcv/ops/upfirdn2d.py:243
Function
upsample_flops_counter_hook
(module, input, output)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:404
Function
use_backend
Select a backend for image decoding. Args: backend (str): The image decoding backend type. Options are `cv2`, `pillow`, `turbojpe
annotator/uniformer/mmcv/image/io.py:43
Method
val
(self)
annotator/uniformer/mmcv/runner/base_runner.py:189
Method
val
(self, data_loader, **kwargs)
annotator/uniformer/mmcv/runner/epoch_based_runner.py:58
Method
val
(self, data_loader, **kwargs)
annotator/uniformer/mmcv/runner/iter_based_runner.py:72
Method
val_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note t
annotator/uniformer/mmseg/models/segmentors/base.py:162
Method
val_step
val_step() API for module wrapped by DistributedDataParallel. This method is basically the same as ``DistributedDataParallel.forward(
annotator/uniformer/mmcv/parallel/distributed.py:72
Method
val_step
(self, *inputs, **kwargs)
annotator/uniformer/mmcv/parallel/distributed_deprecated.py:66
Method
validation_step
(self, batch, batch_idx)
ldm/models/autoencoder.py:130
Method
validation_step
(self, batch, batch_idx)
ldm/models/diffusion/ddpm.py:457
Method
vcap
:obj:`cv2.VideoCapture`: The raw VideoCapture object.
annotator/uniformer/mmcv/video/io.py:80
Function
voc_classes
Pascal VOC class names for external use.
annotator/uniformer/mmseg/core/evaluation/class_names.py:44
Function
voc_palette
Pascal VOC palette for external use.
annotator/uniformer/mmseg/core/evaluation/class_names.py:105
Function
weighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, ta
annotator/uniformer/mmseg/models/losses/utils.py:78
Method
width
int: Width of video frames.
annotator/uniformer/mmcv/video/io.py:90
Method
with_auxiliary_head
bool: whether the segmentor has auxiliary head
annotator/uniformer/mmseg/models/segmentors/base.py:29
Method
with_decode_head
bool: whether the segmentor has decode head
annotator/uniformer/mmseg/models/segmentors/base.py:35
Method
with_neck
bool: whether the segmentor has neck
annotator/uniformer/mmseg/models/segmentors/base.py:24
Function
worker_init_fn
Worker init func for dataloader. The seed of each worker equals to num_worker * rank + worker_id + user_seed Args: worker_id (int):
annotator/uniformer/mmseg/datasets/builder.py:155
Method
world_size
int: Number of processes participating in the job. (distributed training)
annotator/uniformer/mmcv/runner/base_runner.py:149
Function
wrap
(func)
annotator/uniformer/mmcv/utils/misc.py:223
Function
wrap
(cls)
annotator/uniformer/mmcv/fileio/io.py:147
Function
wrapped_func
(*args, **kwargs)
annotator/uniformer/mmcv/utils/misc.py:226
Function
wrapper
(pred, target, weight=None, reduction='mean',
annotator/uniformer/mmseg/models/losses/utils.py:110
Function
wrapper
(func)
annotator/uniformer/mmcv/utils/parrots_jit.py:19
Function
wrapper
(*args, **kwargs)
annotator/uniformer/mmcv/runner/dist_utils.py:91
Function
wrapper
(*args, **kwargs)
annotator/uniformer/mmcv/parallel/data_container.py:10
Function
wrapper_inner
(*args, **kargs)
annotator/uniformer/mmcv/utils/parrots_jit.py:21
Function
write_depth
Write depth map to pfm and png file. Args: path (str): filepath without extension depth (array): depth
annotator/midas/utils.py:165
Method
write_frame
(file_idx)
annotator/uniformer/mmcv/video/io.py:226
Function
ycbcr2bgr
Convert a YCbCr image to BGR image. The bgr version of ycbcr2rgb. It implements the ITU-R BT.601 conversion for standard-definition telev
annotator/uniformer/mmcv/image/colorspace.py:243
Function
ycbcr2rgb
Convert a YCbCr image to RGB image. This function produces the same results as Matlab's ycbcr2rgb function. It implements the ITU-R BT.601 co
annotator/uniformer/mmcv/image/colorspace.py:211
Function
ycbcr2rgb
same as matlab ycbcr2rgb Input: uint8, [0, 255] float, [0, 1]
ldm/modules/image_degradation/utils_image.py:553
← previous
2,201–2,265 of 2,265, ranked by callers