Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/thygate/stable-diffusion-webui-depthmap-script
/ functions
Functions
1,036 in github.com/thygate/stable-diffusion-webui-depthmap-script
⨍
Functions
1,036
◇
Types & classes
199
↳
Endpoints
4
Method
freeze_conf
Freezes 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:297
Method
fuse
(self)
dmidas/backbones/levit.py:73
Function
fuse_model
(m)
dmidas/midas_net_custom.py:109
Function
gather_ops
Parameters for depthmap generation
src/backbone.py:36
Function
gen_video
(video, outpath, inp, custom_depthmap=None, colorvids_bitrate=None, smoothening='none')
src/video_mode.py:131
Function
get_area
(size)
inpaint/utils.py:1390
Function
get_context_from_nodes
(mesh, cc, H, W, source_type='')
inpaint/mesh_tools.py:924
Method
get_current_errors
(self)
pix2pix/models/base_model_hg.py:34
Method
get_current_visuals
(self)
pix2pix/models/base_model_hg.py:31
Function
get_hide_dirs
()
src/backbone.py:80
Method
get_image_paths
(self)
pix2pix/models/base_model_hg.py:25
Method
get_lr_params
Learning rate configuration for different layers of the model Args: lr (float) : Base learning rate Returns:
dzoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:245
Function
get_map_from_nodes
(nodes, height, width)
inpaint/mesh_tools.py:868
Function
get_mask_from_nodes
(mesh, cc, H, W)
inpaint/mesh_tools.py:939
Function
get_option_setter
Return the static method <modify_commandline_options> of the dataset class.
pix2pix/data/__init__.py:41
Function
get_option_setter
Return the static method <modify_commandline_options> of the model class.
pix2pix/models/__init__.py:48
Function
get_options
()
scripts/depthmap_api.py:48
Function
get_outpath
Get path where results are saved by default
src/backbone.py:52
Function
get_params
(opt, size)
pix2pix/data/base_dataset.py:63
Method
get_rel_pos_params
(self)
dzoedepth/models/base_models/midas.py:278
Function
get_scheduler
Return a learning rate scheduler Parameters: optimizer -- the optimizer of the network opt (option class) -- stores all
pix2pix/models/networks.py:38
Function
get_trainer
Builds and returns a trainer based on the config. Args: config (dict): the config dict (typically constructed using utils.config.get_conf
dzoedepth/trainers/builder.py:28
Function
get_transform
(opt, params=None, grayscale=False, method=Image.BICUBIC, convert=True)
pix2pix/data/base_dataset.py:81
Function
get_union_size
(mesh, dilate, *alls_cc)
inpaint/mesh_tools.py:660
Function
get_valid_size
(imap)
inpaint/utils.py:888
Function
hook
(model, input, output)
dzoedepth/models/base_models/midas.py:45
Function
hook
(model, input, output)
dmidas/backbones/utils.py:57
Function
incomplete_node
(mesh, edge_maps, info_on_pix)
inpaint/mesh_tools.py:684
Method
inference
(self, rgb)
lib/multi_depth_model_woauxi.py:15
Function
init_fun
(m)
inpaint/networks.py:41
Function
init_func
(m)
pix2pix/models/networks.py:78
Method
init_func
(m)
inpaint/networks.py:19
Method
init_params
(self)
lib/network_auxi.py:347
Function
init_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
ddepth_anything_v2/depth_anything_v2/dinov2.py:331
Function
init_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
ddepth_anything_v2/metric_depth/depth_anything_v2/dinov2.py:331
Method
initialize
(self, parser)
pix2pix/options/train_options.py:10
Method
initialize
(self, parser)
pix2pix/options/test_options.py:10
Method
initialize
(self, opt)
pix2pix/models/base_model_hg.py:8
Function
inv_attractor
Inverse attractor: dc = dx / (1 + alpha*dx^gamma), where dx = a - c, a = attractor point, c = bin center, dc = shift in bin center This is the def
dzoedepth/models/layers/attractor.py:45
Method
iters_per_epoch
(self)
dzoedepth/trainers/base_trainer.py:131
Function
judge_dangle
(mark, mesh, node)
inpaint/mesh.py:721
Function
lambda_rule
(epoch)
pix2pix/models/networks.py:52
Function
listfiles
(dirname)
src/backbone.py:122
Function
load_ckpt
Load checkpoint.
lib/net_tools.py:27
Method
load_ckpt
(self, checkpoint_dir="./checkpoints", ckpt_type="best")
dzoedepth/trainers/base_trainer.py:71
Function
load_model
Load the specified network. Args: device (device): the torch device used model_path (str): path to saved model model_type
dmidas/model_loader.py:29
Method
load_network
(self, network, network_label, epoch_label)
pix2pix/models/base_model_hg.py:49
Method
log_bar_plot
(self, title, labels, values)
dzoedepth/trainers/base_trainer.py:319
Method
log_line_plot
(self, data)
dzoedepth/trainers/base_trainer.py:310
Method
merge_bn
(self)
dmidas/backbones/next_vit.py:194
Method
merge_bn
(self, pre_bn)
dmidas/backbones/next_vit.py:235
Method
merge_bn
(self)
dmidas/backbones/next_vit.py:309
Method
merge_bn
(self)
dmidas/backbones/next_vit.py:401
Function
mkdirs
create empty directories if they don't exist Parameters: paths (str list) -- a list of directory paths
pix2pix/util/util.py:85
Method
modify_commandline_options
Add new dataset-specific options, and rewrite default values for existing options. Parameters: parser -- original option
pix2pix/data/base_dataset.py:33
Method
modify_commandline_options
Add new model-specific options, and rewrite default values for existing options. Parameters: parser -- original option p
pix2pix/models/base_model.py:47
Method
modify_commandline_options
Add new dataset-specific options, and rewrite default values for existing options. Parameters: parser -- original option
pix2pix/models/pix2pix4depth_model.py:17
Method
name
(self)
pix2pix/models/base_model_hg.py:5
Function
nextvit_base
(pretrained=False, pretrained_cfg=None, **kwargs)
dmidas/backbones/next_vit.py:442
Function
nextvit_large
(pretrained=False, pretrained_cfg=None, **kwargs)
dmidas/backbones/next_vit.py:448
Function
nextvit_small
(pretrained=False, pretrained_cfg=None, **kwargs)
dmidas/backbones/next_vit.py:436
Function
njit
(parallel=False)
src/stereoimage_generation.py:6
Function
on_submit
(image)
ddepth_anything_v2/app.py:60
Function
on_ui_settings
()
scripts/depthmap.py:81
Function
on_ui_tabs
()
src/common_ui.py:276
Method
open
(self, fpath)
dzoedepth/data/data_mono.py:254
Method
optimize_parameters
(self)
pix2pix/models/pix2pix4depth_model.py:144
Method
optimize_parameters
(self)
pix2pix/models/base_model_hg.py:28
Function
parallelize
(config, model, find_unused_parameters=True)
dzoedepth/utils/misc.py:251
Function
parse_unknown
(unknown_args)
dzoedepth/utils/arg_utils.py:22
Function
patch_embed_forward
Modification of timm.models.layers.patch_embed.py: PatchEmbed.forward to support arbitrary window sizes.
dmidas/backbones/beit.py:18
Function
pil_to_batched_tensor
(img)
dzoedepth/utils/misc.py:355
Function
print_numpy
Print the mean, min, max, median, std, and size of a numpy array Parameters: val (bool) -- if print the values of the numpy array
pix2pix/util/util.py:69
Method
print_options
Print and save options It will print both current options and default values(if different). It will save options into a text file / [
src/depthmap_generation.py:610
Method
print_options
Print and save options It will print both current options and default values(if different). It will save options into a text file / [
pix2pix/options/base_options.py:108
Function
printc
(text, color)
dzoedepth/utils/misc.py:337
Function
process
( depth_input_images: List[str] = Body([], title='Input Images'), options: Dict[str, object] =
scripts/depthmap_api.py:53
Function
process_video
( depth_input_images: List[str] = Body([], title='Input Images'), options: Dict[str, object] =
scripts/depthmap_api.py:78
Method
query
Return an image from the pool. Parameters: images: the latest generated images from the generator Returns images from th
pix2pix/util/image_pool.py:23
Function
reconstruct_depth
para disp: disparity, [h, w] para rgb: rgb image, [h, w, 3], in rgb format
lib/test_utils.py:212
Function
recover_metric_depth
(pred, gt)
lib/test_utils.py:229
Function
refine_focal
(depth, focal, model, u0, v0)
lib/test_utils.py:111
Function
refine_shift
(depth_wshift, model, focal, u0, v0)
lib/test_utils.py:120
Function
reload_sd_model
()
src/backbone.py:71
Function
repaint_info
(mesh, cc, x_anchor, y_anchor, source_type)
inpaint/mesh_tools.py:911
Function
reproject_3d_int
(sx, sy, z, mesh)
inpaint/mesh.py:153
Function
reproject_3d_int_detail_FB
(sx, sy, z, w_offset, h_offset, mesh)
inpaint/mesh.py:139
Function
resize_for_edge
(tensor_dict, largest_size)
inpaint/mesh_tools.py:841
Method
resize_to_target
(self, prediction, target)
dzoedepth/trainers/base_trainer.py:64
Function
resnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/Resnet.py:183
Function
resnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/Resnet.py:193
Function
resnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/Resnet.py:155
Function
resnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/Resnet.py:164
Function
resnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/Resnet.py:173
Function
resnet50_stride32
()
lib/network_auxi.py:8
Function
resnext101_stride32x8d
()
lib/network_auxi.py:11
Function
revise_map_by_nodes
(nodes, imap, operation, limit_constr=None)
inpaint/mesh_tools.py:892
Method
run
(self, p, *inputs)
scripts/depthmap.py:30
Function
run_generate
(*inputs)
src/common_ui.py:454
Function
save_image
(image, path, basename, **kwargs)
src/backbone.py:91
← previous
next →
901–1,000 of 1,036, ranked by callers