MCPcopy Create free account

hub / github.com/thygate/stable-diffusion-webui-depthmap-script / functions

Functions1,036 in github.com/thygate/stable-diffusion-webui-depthmap-script

Functionsave_image
Save a numpy image to the disk Parameters: image_numpy (numpy array) -- input numpy array image_path (str) -- the path o
pix2pix/util/util.py:47
Functionsave_images
Save images to the disk. Parameters: webpage (the HTML class) -- the HTML webpage class that stores these imaegs (see html.py for more de
pix2pix/util/visualizer.py:17
Methodsave_network
(self, network, network_label, epoch_label, gpu_ids)
pix2pix/models/base_model_hg.py:41
Functionsave_raw_16bit
(depth, fpath="raw.png")
dzoedepth/utils/misc.py:358
Functionseed_all
Set random seeds of all components.
dmarigold/marigold/util/seed_all.py:6
Methodset_input
(self, outer, inner)
pix2pix/models/pix2pix4depth_model.py:96
Methodset_input
(self, input)
pix2pix/models/base_model_hg.py:15
Methodstringify_losses
(L)
dzoedepth/trainers/base_trainer.py:171
Functiontensor2im
Converts a Tensor array into a numpy image array. Parameters: input_image (tensor) -- the input image tensor array imtype (type)
pix2pix/util/util.py:9
Methodtest
(self)
pix2pix/models/base_model_hg.py:22
Methodtitle
(self)
scripts/depthmap.py:15
Functiontorch_gc
()
src/backbone.py:103
Methodtotal_iters
(self)
dzoedepth/trainers/base_trainer.py:135
Methodtrain
Override the default train() to freeze the BN parameters
inpaint/networks.py:420
Methodtrain_on_batch
Expects a batch of images and depth as input batch["image"].shape : batch_size, c, h, w batch["depth"].shape : batch_size, 1,
dzoedepth/trainers/zoedepth_nk_trainer.py:47
Methodtrain_on_batch
Expects a batch of images and depth as input batch["image"].shape : batch_size, c, h, w batch["depth"].shape : batch_size, 1,
dzoedepth/trainers/zoedepth_trainer.py:48
Methodui
(self, is_img2img)
scripts/depthmap.py:21
Methodunfreeze_conf
Unfreezes all the parameters of all the ModuleDicts children that are exclusively used for the given bin configuration
dzoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:304
Functionunload_models
()
src/core.py:669
Functionunload_sd_model
()
src/backbone.py:61
Functionupdate_default_net_size
(model_type)
src/common_ui.py:172
Methodupdate_learning_rate
()
pix2pix/models/base_model_hg.py:57
Functionurl_to_torch
(url, size=(384, 384))
dzoedepth/utils/misc.py:347
Methodvalidate_on_batch
(self, batch, val_step)
dzoedepth/trainers/zoedepth_nk_trainer.py:115
Methodvalidate_on_batch
(self, batch, val_step)
dzoedepth/trainers/zoedepth_trainer.py:148
Functionversion
()
scripts/depthmap_api.py:44
Functionvis_depth_edge_connectivity
(depth, config)
inpaint/utils.py:1320
Functionvit_base
(patch_size=16, num_register_tokens=0, **kwargs)
ddepth_anything_v2/depth_anything_v2/dinov2.py:353
Functionvit_base
(patch_size=16, num_register_tokens=0, **kwargs)
ddepth_anything_v2/metric_depth/depth_anything_v2/dinov2.py:353
Functionvit_giant2
Close to ViT-giant, with embed-dim 1536 and 24 heads => embed-dim per head 64
ddepth_anything_v2/depth_anything_v2/dinov2.py:381
Functionvit_giant2
Close to ViT-giant, with embed-dim 1536 and 24 heads => embed-dim per head 64
ddepth_anything_v2/metric_depth/depth_anything_v2/dinov2.py:381
Functionvit_large
(patch_size=16, num_register_tokens=0, **kwargs)
ddepth_anything_v2/depth_anything_v2/dinov2.py:367
Functionvit_large
(patch_size=16, num_register_tokens=0, **kwargs)
ddepth_anything_v2/metric_depth/depth_anything_v2/dinov2.py:367
Functionvit_small
(patch_size=16, num_register_tokens=0, **kwargs)
ddepth_anything_v2/depth_anything_v2/dinov2.py:339
Functionvit_small
(patch_size=16, num_register_tokens=0, **kwargs)
ddepth_anything_v2/metric_depth/depth_anything_v2/dinov2.py:339
Functionwrap_gradio_gpu_call
(f)
src/backbone.py:120
← previous1,001–1,036 of 1,036, ranked by callers