MCPcopy Create free account

hub / github.com/deforum/sd-webui-deforum / functions

Functions1,109 in github.com/deforum/sd-webui-deforum

↓ 163 callersFunctioncreate_gr_elem
(d)
scripts/deforum_helpers/ui_elements.py:23
↓ 103 callersMethodget
(self, job_id:str)
scripts/deforum_api.py:382
↓ 86 callersMethodupdate
(self)
scripts/deforum_helpers/deforum_tqdm.py:81
↓ 55 callersMethodload
Load model from file. Args: path (str): file path
scripts/deforum_helpers/src/midas/base_model.py:5
↓ 53 callersMethodparse_inbetweens
(self, value, filename = 'unknown', is_single_string = False)
scripts/deforum_helpers/animation_key_frames.py:106
↓ 46 callersMethodappend
(self, value)
scripts/deforum_helpers/src/zoedepth/utils/misc.py:52
↓ 44 callersMethodcuda
(self)
scripts/deforum_helpers/src/py3d_tools.py:506
↓ 42 callersMethodopen
(self, fpath)
scripts/deforum_helpers/src/zoedepth/data/data_mono.py:266
↓ 38 callersMethodto
(self, device)
scripts/deforum_helpers/src/zoedepth/models/depth_model.py:40
↓ 37 callersMethodcpu
(self)
scripts/deforum_helpers/src/py3d_tools.py:503
↓ 35 callersMethodparseq_to_series
(self, seriesName)
scripts/deforum_helpers/parseq_adapter.py:158
↓ 28 callersMethodappend
(self, value)
scripts/deforum_helpers/src/utils.py:18
↓ 24 callersMethodconvert
(param)
scripts/deforum_helpers/src/rife/rife_new_gen/RIFE_HDv3.py:43
↓ 20 callersMethodstack
Return a new batched Transform3d representing the batch elements from self and all the given other transforms all batched together.
scripts/deforum_helpers/src/py3d_tools.py:332
↓ 18 callersMethoddevice
(self)
scripts/deforum_helpers/src/rife/rife_new_gen/RIFE_HDv3.py:36
↓ 17 callersMethodeval
(self)
scripts/deforum_helpers/src/rife/rife_new_gen/RIFE_HDv3.py:33
↓ 17 callersFunctionget_activation
(name)
scripts/deforum_helpers/src/midas/backbones/utils.py:56
↓ 17 callersFunctionget_attribute
(name)
scripts/deforum_helpers/src/clipseg/general_utils.py:180
↓ 16 callersMethodsave
(self, filename: str, depth: torch.Tensor)
scripts/deforum_helpers/depth.py:142
↓ 15 callersMethodto
(self, device)
scripts/deforum_helpers/depth.py:121
↓ 14 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
scripts/deforum_helpers/src/midas/blocks.py:133
↓ 13 callersMethodclone
Deep copy of Transforms object. All internal tensors are cloned individually. Returns: new Transforms object.
scripts/deforum_helpers/src/py3d_tools.py:446
↓ 12 callersMethodtransform
(self, img)
scripts/deforum_helpers/src/rife/model/loss.py:30
↓ 11 callersFunctionbuildParseqAdapter
(parseq_use_deltas, parseq_manifest, setup_args=DEFAULT_ARGS)
scripts/deforum_helpers/parseq_adapter_test.py:35
↓ 11 callersFunctionget_frame_name
(path)
scripts/deforum_helpers/video_audio_utilities.py:327
↓ 10 callersFunctionget_activation
(name)
scripts/deforum_helpers/src/midas/vit.py:159
↓ 10 callersFunctionget_user_values
()
scripts/deforum_helpers/subtitle_handler.py:110
↓ 10 callersFunctionwait_for_job_to_complete
(id : str)
tests/utils.py:27
↓ 9 callersFunctionget_gradio_html
(section_name)
scripts/deforum_helpers/defaults.py:208
↓ 9 callersFunctionimage_transform_optical_flow
(img, flow, flow_factor)
scripts/deforum_helpers/hybrid_video.py:246
↓ 9 callersFunctionload_image
(image_path :str, image_box :Image.Image)
scripts/deforum_helpers/load_images.py:46
↓ 8 callersMethod__init__
(self, inchannels, outchannels, upfactor=2)
scripts/deforum_helpers/src/leres/lib/network_auxi.py:240
↓ 8 callersFunctionffmpeg_stitch_video
(ffmpeg_location=None, fps=None, outmp4_path=None, stitch_from_frame=0, stitch_to_frame=None, imgs_path=None,
scripts/deforum_helpers/video_audio_utilities.py:201
↓ 8 callersFunctionget_ffmpeg_params
()
scripts/deforum_helpers/video_audio_utilities.py:56
↓ 8 callersFunctionget_mask_from_file
(mask_file, args)
scripts/deforum_helpers/load_images.py:108
↓ 8 callersMethodget_matrix
Return a matrix which is the result of composing this transform with others stored in self.transforms. Where necessary transforms
scripts/deforum_helpers/src/py3d_tools.py:253
↓ 8 callersFunctionget_next_frame
(outdir, video_path, frame_idx, mask=False)
scripts/deforum_helpers/video_audio_utilities.py:332
↓ 8 callersFunctiontickOrCross
(value)
scripts/deforum_helpers/general_utils.py:150
↓ 8 callersMethodtransform_points
Use this transform to transform a set of 3D points. Assumes row major ordering of the input points. Args: points
scripts/deforum_helpers/src/py3d_tools.py:349
↓ 8 callersFunctionvid2frames
(video_path, video_in_frame_path, n=1, overwrite=True, extract_from_frame=0, extract_to_frame=-1, out_img_form
scripts/deforum_helpers/video_audio_utilities.py:84
↓ 7 callersMethodadd
(self, predictions, ground_truth)
scripts/deforum_helpers/src/clipseg/metrics.py:34
↓ 7 callersFunctionclean_gradio_path_strings
(input_str)
scripts/deforum_helpers/general_utils.py:137
↓ 7 callersMethodcompose
Return a new Transform3d representing the composition of self with the given other transforms, which will be stored as an internal li
scripts/deforum_helpers/src/py3d_tools.py:233
↓ 7 callersFunctiondebug_print
(message)
scripts/deforum_helpers/general_utils.py:27
↓ 7 callersFunctionfilter_args
(input_args, default_args)
scripts/deforum_helpers/src/clipseg/general_utils.py:192
↓ 7 callersMethodget_full_projection_transform
Return the full world-to-camera transform composing the world-to-view and view-to-camera transforms. If camera is defined in
scripts/deforum_helpers/src/py3d_tools.py:982
↓ 7 callersFunctionimg_preprocess
(batch, blur=0, grayscale=False, center_context=None, rect=False, rect_color=(255,0,0), rect_width=2,
scripts/deforum_helpers/src/clipseg/evaluation_utils.py:102
↓ 7 callersMethodto
Match functionality of torch.Tensor.to() If copy = True or the self Tensor is on a different device, the returned tensor is a
scripts/deforum_helpers/src/py3d_tools.py:461
↓ 6 callersFunctionDeforumOutputArgs
()
scripts/deforum_helpers/args.py:996
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
scripts/deforum_helpers/src/zoedepth/data/transforms.py:202
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
scripts/deforum_helpers/src/zoedepth/models/base_models/midas.py:100
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
scripts/deforum_helpers/src/midas/transforms.py:94
↓ 6 callersFunctionget_activation
(name, bank)
scripts/deforum_helpers/src/zoedepth/models/base_models/midas.py:44
↓ 6 callersFunctionget_flow_from_images
(i1, i2, method, raft_model, prev_flow=None)
scripts/deforum_helpers/hybrid_video.py:333
↓ 6 callersFunctionget_quick_vid_info
(vid_path)
scripts/deforum_helpers/video_audio_utilities.py:188
↓ 6 callersFunctionget_resized_image_from_filename
(im, dimensions)
scripts/deforum_helpers/hybrid_video.py:554
↓ 6 callersFunctionmake_device
Makes an actual torch.device object from the device specified as either a string or torch.device object. If the device is `cuda` without
scripts/deforum_helpers/src/py3d_tools.py:1444
↓ 6 callersMethodmanages_prompts
(self)
scripts/deforum_helpers/parseq_adapter.py:133
↓ 6 callersMethodmanages_seed
(self)
scripts/deforum_helpers/parseq_adapter.py:136
↓ 6 callersFunctionpack_args
(args_dict, keys_function)
scripts/deforum_helpers/args.py:1133
↓ 6 callersMethodpop
(self, k, d=None)
scripts/deforum_helpers/src/zoedepth/utils/easydict/__init__.py:151
↓ 6 callersFunctionremove_leading_slash
(s)
scripts/deforum_helpers/src/zoedepth/data/data_mono.py:241
↓ 6 callersMethodto
(self, device)
scripts/deforum_helpers/src/infer.py:150
↓ 6 callersFunctionwarp
(tenInput, tenFlow)
scripts/deforum_helpers/src/rife/model/warplayer.py:8
↓ 5 callersMethodadd
(self, pred, gt)
scripts/deforum_helpers/src/clipseg/metrics.py:87
↓ 5 callersFunctioncheck_is_number
(value)
scripts/deforum_helpers/prompt.py:20
↓ 5 callersFunctionchecksum
(filename, hash_factory=hashlib.blake2b, chunk_num_blocks=128)
scripts/deforum_helpers/general_utils.py:32
↓ 5 callersFunctiondeforum_sys_extend
()
scripts/deforum_extend_paths.py:20
↓ 5 callersFunctionduplicate_pngs_from_folder
(from_folder, to_folder, img_batch_id, orig_vid_name)
scripts/deforum_helpers/general_utils.py:44
↓ 5 callersFunctionget_deforum_version
()
scripts/deforum_helpers/general_utils.py:78
↓ 5 callersFunctionimage_transform_ransac
(image_cv2, M, hybrid_motion, depth=None)
scripts/deforum_helpers/hybrid_video.py:240
↓ 5 callersMethodsave_weights
(self, only_trainable=False, weight_file='weights.pth')
scripts/deforum_helpers/src/clipseg/general_utils.py:253
↓ 4 callersFunctionDeforumAnimArgs
()
scripts/deforum_helpers/args.py:56
↓ 4 callersFunctionDeforumArgs
()
scripts/deforum_helpers/args.py:709
↓ 4 callersFunctionLoopArgs
()
scripts/deforum_helpers/args.py:934
↓ 4 callersFunctionParseqArgs
()
scripts/deforum_helpers/args.py:974
↓ 4 callersMethod__init__
(self)
scripts/deforum_helpers/src/rife/model/loss.py:11
↓ 4 callersMethod__init__
(self, version, reduce_cond, reduce_dim, prompt, n_tokens)
scripts/deforum_helpers/src/clipseg/models/clipseg.py:109
↓ 4 callersMethod__init__
Init. Args: scale_factor (float): scaling mode (str): interpolation mode
scripts/deforum_helpers/src/midas/blocks.py:212
↓ 4 callersFunction_make_fusion_block
(features, use_bn, size = None)
scripts/deforum_helpers/src/midas/dpt_depth.py:18
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
scripts/deforum_helpers/src/leres/lib/Resnext_torch.py:172
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
scripts/deforum_helpers/src/leres/lib/Resnet.py:118
↓ 4 callersFunction_make_swin_backbone
( model, hooks=[1, 1, 17, 1], patch_grid=[96, 96] )
scripts/deforum_helpers/src/midas/backbones/swin_common.py:13
↓ 4 callersFunction_make_vit_b16_backbone
( model, features=[96, 192, 384, 768], size=[384, 384], hooks=[2, 5, 8, 11], vit_features=
scripts/deforum_helpers/src/midas/vit.py:183
↓ 4 callersFunctionanim_frame_warp
(prev_img_cv2, args, anim_args, keys, frame_idx, depth_model=None, depth=None, device='cuda', half_precision =
scripts/deforum_helpers/animation.py:173
↓ 4 callersFunctionclean_folder_name
(string)
scripts/deforum_helpers/frame_interpolation.py:35
↓ 4 callersFunctiondeconv
(in_planes, out_planes, kernel_size=4, stride=2, padding=1)
scripts/deforum_helpers/src/rife/rife_new_gen/refine.py:26
↓ 4 callersFunctionextract_number
(string)
scripts/deforum_helpers/video_audio_utilities.py:78
↓ 4 callersMethodfail_job
(self, job_id: str, error_type: str, message: str)
scripts/deforum_api.py:350
↓ 4 callersFunctionfind_controlnet
()
scripts/deforum_helpers/deforum_controlnet.py:41
↓ 4 callersFunctiongenerate
(args, keys, anim_args, loop_args, controlnet_args, root, parseq_adapter, frame=0, sampler_name=None, schedul
scripts/deforum_helpers/generate.py:73
↓ 4 callersFunctionget_component_names
()
scripts/deforum_helpers/args.py:1126
↓ 4 callersFunctionget_settings_component_names
()
scripts/deforum_helpers/args.py:1130
↓ 4 callersMethodinference
(self, img0, img1, timestep=0.5, scale=1.0)
scripts/deforum_helpers/src/rife/rife_new_gen/RIFE_HDv3.py:58
↓ 4 callersMethodinverse
Returns a new Transform3d object that represents an inverse of the current transformation. Args: invert_composed
scripts/deforum_helpers/src/py3d_tools.py:283
↓ 4 callersFunctionis_above_tolerance
(arr, total_pixels)
scripts/deforum_helpers/src/zoedepth/data/preprocess.py:47
↓ 4 callersFunctionmaintain_colors
(prev_img, color_match_sample, mode)
scripts/deforum_helpers/colors.py:21
↓ 4 callersMethodmake_letter_box
(self, sample)
scripts/deforum_helpers/src/zoedepth/data/transforms.py:273
↓ 4 callersMethodpredict
(self, image1, image2, num_flow_updates:int = 50)
scripts/deforum_helpers/RAFT.py:29
↓ 4 callersFunctionprocess_depth
(depth, mode, thresholding, threshold_value, threshold_value_max, adapt_block_size, adapt_c, invert, end_blur)
scripts/deforum_helpers/vid2depth.py:131
next →1–100 of 1,109, ranked by callers