MCPcopy Create free account

hub / github.com/KIMGEONUNG/VideoFrom3D / functions

Functions1,203 in github.com/KIMGEONUNG/VideoFrom3D

↓ 205 callersMethodto
(self, device)
src/flux/annotator/zoe/zoedepth/models/depth_model.py:40
↓ 106 callersMethodappend
(self, value)
src/flux/annotator/zoe/zoedepth/utils/misc.py:52
↓ 42 callersMethodopen
(self, fpath)
src/flux/annotator/zoe/zoedepth/data/data_mono.py:266
↓ 28 callersMethodencode
(self, x: Tensor)
src/flux/modules/autoencoder.py:302
↓ 23 callersMethodupdate
(self, new_dict)
src/flux/annotator/zoe/zoedepth/utils/misc.py:79
↓ 19 callersMethodload
Load model from file. Args: path (str): file path
src/flux/annotator/midas/midas/base_model.py:5
↓ 19 callersFunctionwrite_next_bytes
pack and write to a binary file. :param fid: :param data: data to send, if multiple elements are sent at the same time, they should be enc
colmap.py:89
↓ 19 callersFunctionwrite_next_bytes
pack and write to a binary file. :param fid: :param data: data to send, if multiple elements are sent at the same time, they should be enc
training_ggi/colmap.py:89
↓ 18 callersMethoddecode
(self, z: Tensor)
src/flux/modules/autoencoder.py:307
↓ 17 callersFunctionget_activation
(name)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/utils.py:56
↓ 16 callersMethodpop
(self, k, d=None)
src/flux/annotator/zoe/zoedepth/utils/easydict/__init__.py:151
↓ 15 callersMethod__init__
(self, dim: int)
src/flux/modules/layers.py:76
↓ 15 callersMethodsave
Save the generated image to a local path
src/flux/api.py:179
↓ 14 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/blocks.py:133
↓ 13 callersMethodload
Load model from file. Args: path (str): file path
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/base_model.py:5
↓ 13 callersFunctionread_next_bytes
Read and unpack the next bytes from a binary file. :param fid: :param num_bytes: Sum of combination of {2, 4, 8}, e.g. 2, 6, 16, 30, etc.
colmap.py:74
↓ 13 callersFunctionread_next_bytes
Read and unpack the next bytes from a binary file. :param fid: :param num_bytes: Sum of combination of {2, 4, 8}, e.g. 2, 6, 16, 30, etc.
training_ggi/colmap.py:74
↓ 11 callersMethodgetConfidence
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:166
↓ 11 callersFunctionload_checkpoint
(local_path, repo_id, name)
src/flux/util.py:40
↓ 10 callersFunctionget_activation
(name)
src/flux/annotator/midas/midas/vit.py:159
↓ 10 callersFunctionprepare
(t5: HFEmbedder, clip: HFEmbedder, img: Tensor, prompt: str | list[str])
src/flux/sampling.py:33
↓ 9 callersMethodclose
Closes the interpreter and model to release resources.
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:284
↓ 9 callersMethodgetTitle
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:162
↓ 8 callersFunctionattention
(q: Tensor, k: Tensor, v: Tensor, pe: Tensor)
src/flux/math.py:6
↓ 7 callersMethod__init__
( self, resolution: int, in_channels: int, ch: int, ch_mult: list[int]
src/flux/modules/autoencoder.py:110
↓ 7 callersMethodrun
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:249
↓ 7 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
src/flux/model.py:103
↓ 7 callersMethodtoString
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:178
↓ 7 callersFunctionunwrap_model
(accelerator: Accelerator, model)
training_ggi/utils.py:257
↓ 6 callersMethod__init__
(self, in_c1, in_c2, out_c1, out_c2, upscale = True)
src/flux/annotator/mlsd/models/mbv2_mlsd_tiny.py:10
↓ 6 callersMethod__init__
(self, in_c1, in_c2, out_c1, out_c2, upscale = True)
src/flux/annotator/mlsd/models/mbv2_mlsd_large.py:10
↓ 6 callersMethodbuild
(midas_model_type="DPT_BEiT_L_384", train_midas=False, use_pretrained_midas=True, fetch_features=False, freeze
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:334
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
src/flux/annotator/zoe/zoedepth/data/transforms.py:202
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:101
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/transforms.py:94
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/transforms.py:94
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
src/flux/annotator/midas/midas/transforms.py:94
↓ 6 callersFunctionget_activation
(name, bank)
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:45
↓ 6 callersFunctionremove_leading_slash
(s)
src/flux/annotator/zoe/zoedepth/data/data_mono.py:241
↓ 6 callersFunctionto32F
(img)
src/flux/annotator/tile/guided_filter.py:14
↓ 6 callersFunctionunpack
(x: Tensor, height: int, width: int)
src/flux/sampling.py:374
↓ 5 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
src/flux/annotator/midas/midas/blocks.py:49
↓ 5 callersFunctionget_schedule
( num_steps: int, image_seq_len: int, base_shift: float = 0.5, max_shift: float = 1.15, sh
src/flux/sampling.py:81
↓ 5 callersMethodlog_images
(self, rgb: Dict[str, list] = {}, depth: Dict[str, list] = {}, scalar_field: Dict[str, list] = {}, prefix="",
src/flux/annotator/zoe/zoedepth/trainers/base_trainer.py:289
↓ 5 callersMethodset_processor
(self, processor)
src/flux/modules/layers.py:371
↓ 4 callersMethod__init__
Init. Args: scale_factor (float): scaling mode (str): interpolation mode
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/blocks.py:212
↓ 4 callersMethod__init__
Init. Args: scale_factor (float): scaling mode (str): interpolation mode
src/flux/annotator/midas/midas/blocks.py:124
↓ 4 callersFunction_isGray
(I)
src/flux/annotator/tile/guided_filter.py:26
↓ 4 callersFunction_make_fusion_block
(features, use_bn, size = None)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/dpt_depth.py:18
↓ 4 callersFunction_make_fusion_block
(features, use_bn)
src/flux/annotator/midas/midas/dpt_depth.py:15
↓ 4 callersFunction_make_swin_backbone
( model, hooks=[1, 1, 17, 1], patch_grid=[96, 96] )
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/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=
src/flux/annotator/midas/midas/vit.py:183
↓ 4 callersFunctiondenoise
( model: Flux, # model input img: Tensor, img_ids: Tensor, txt: Tensor
src/flux/sampling.py:100
↓ 4 callersMethodget_image_proj
( self, image_prompt: Tensor, )
src/flux/xflux_pipeline.py:159
↓ 4 callersFunctionget_noise
( num_samples: int, height: int, width: int, device: torch.device, dtype: torch.dtype,
src/flux/sampling.py:13
↓ 4 callersFunctionis_above_tolerance
(arr, total_pixels)
src/flux/annotator/zoe/zoedepth/data/preprocess.py:47
↓ 4 callersFunctionis_rank_zero
(args)
src/flux/annotator/zoe/zoedepth/trainers/base_trainer.py:44
↓ 4 callersFunctionload_ae
(name: str, device: str | torch.device = "cuda", hf_download: bool = True)
src/flux/util.py:371
↓ 4 callersFunctionload_clip
(device: str | torch.device = "cuda")
src/flux/util.py:367
↓ 4 callersFunctionload_t5
(device: str | torch.device = "cuda", max_length: int = 512)
src/flux/util.py:363
↓ 4 callersMethodmake_letter_box
(self, sample)
src/flux/annotator/zoe/zoedepth/data/transforms.py:273
↓ 4 callersMethodsave_checkpoint
(self, filename)
src/flux/annotator/zoe/zoedepth/trainers/base_trainer.py:273
↓ 4 callersFunctionswish
(x: Tensor)
src/flux/modules/autoencoder.py:21
↓ 4 callersFunctiontimestep_embedding
Create sinusoidal timestep embeddings. :param t: a 1-D Tensor of N indices, one per batch element. These may be fractio
src/flux/modules/layers.py:28
↓ 3 callersMethod__init__
(self, beta=0.15)
src/flux/annotator/zoe/zoedepth/trainers/loss.py:44
↓ 3 callersMethod__init__
(self, start_index=1)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/utils.py:7
↓ 3 callersMethod__init__
Projector MLP Args: in_features (int): input channels out_features (int): output channels mlp_dim (int, o
src/flux/annotator/zoe/zoedepth/models/layers/localbins_layers.py:100
↓ 3 callersMethod__init__
(self, start_index=1)
src/flux/annotator/midas/midas/vit.py:10
↓ 3 callersMethod_infer_with_pad_aug
Inference interface for the model with padding augmentation Padding augmentation fixes the boundary artifacts in the output depth map
src/flux/annotator/zoe/zoedepth/models/depth_model.py:57
↓ 3 callersFunction_make_beit_backbone
( model, features=[96, 192, 384, 768], size=[384, 384], hooks=[0, 4, 8, 11],
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/beit.py:130
↓ 3 callersFunction_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
src/flux/annotator/mlsd/models/mbv2_mlsd_tiny.py:71
↓ 3 callersFunction_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
src/flux/annotator/mlsd/models/mbv2_mlsd_large.py:72
↓ 3 callersFunction_make_encoder
(backbone, features, use_pretrained, groups=1, expand=False, exportable=True, hooks=None, us
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/blocks.py:32
↓ 3 callersFunction_make_encoder
(backbone, features, use_pretrained, groups=1, expand=False, exportable=True, hooks=None, use_vit_only=False,
src/flux/annotator/midas/midas/blocks.py:11
↓ 3 callersFunctionblend_noise
Variance-preserving blend
training_ggi/noise_warp.py:797
↓ 3 callersFunctioncheck_choices
(name, value, choices)
src/flux/annotator/zoe/zoedepth/utils/config.py:344
↓ 3 callersMethodcreate
Creates a classifier with the provided configuration. @param activity The current Activity. @param model The model to use for classification. @param
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_support/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:116
↓ 3 callersFunctioncrop_to_aspect_ratio
(image, ratio="16:9")
image_datasets/dataset.py:33
↓ 3 callersFunctiondenoise_controlnet
( # ------ paint ------ # self, x_0, x_1, mask, prompt, height, width, # -
src/flux/sampling.py:247
↓ 3 callersMethodeval_infer
(self, x)
src/flux/annotator/zoe/zoedepth/trainers/zoedepth_trainer.py:107
↓ 3 callersFunctionextract_key
(prediction, key)
src/flux/annotator/zoe/zoedepth/trainers/loss.py:35
↓ 3 callersFunctionflatten
(config, except_keys=('bin_conf'))
src/flux/annotator/zoe/zoedepth/utils/config.py:257
↓ 3 callersMethodforward
(self, x)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/dpt_depth.py:110
↓ 3 callersFunctionget_lora_rank
(checkpoint)
src/flux/util.py:35
↓ 3 callersFunctionimage_resize
(img, max_size=512)
image_datasets/dataset.py:12
↓ 3 callersFunctionindexed_to_image
Create a CHW image tensor from an HW index matrix and a UC unique_colors matrix. Args: index_matrix (torch.Tensor): Index matrix ten
training_ggi/noise_warp.py:97
↓ 3 callersFunctionload_controlnet
(name, device, transformer=None)
src/flux/util.py:356
↓ 3 callersFunctionload_flow_model
(name: str, device: str | torch.device = "cuda", hf_download: bool = True)
src/flux/util.py:284
↓ 3 callersMethodonInferenceConfigurationChanged
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:683
↓ 3 callersFunctionpreprocessing_transforms
(mode, **kwargs)
src/flux/annotator/zoe/zoedepth/data/data_mono.py:64
↓ 3 callersFunctionprint_load_warning
(missing: list[str], unexpected: list[str])
src/flux/util.py:269
↓ 3 callersFunctionregaussianize
(noise)
training_ggi/noise_warp.py:297
↓ 3 callersMethodremove_hooks
(self)
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:322
↓ 3 callersMethodsetAspectRatio
Sets the aspect ratio for this view. The size of the view will be measured based on the ratio calculated from the parameters. Note that the actual siz
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/customview/AutoFitTextureView.java:48
↓ 3 callersMethodsetNumThreads
(int numThreads)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:667
↓ 3 callersMethodset_controlnet
(self, control_type: str, local_path: str = None, repo_id: str = None, name: str = None)
src/flux/xflux_pipeline.py:146
↓ 3 callersMethodset_ip
(self, local_path: str = None, repo_id = None, name: str = None)
src/flux/xflux_pipeline.py:67
↓ 3 callersMethodtrain
(self)
src/flux/annotator/zoe/zoedepth/trainers/base_trainer.py:142
↓ 3 callersFunctionupdate_model_config
(config, mode, model_name, model_version=None, strict=False)
src/flux/annotator/zoe/zoedepth/utils/config.py:334
↓ 2 callersFunctionHWC3
(x)
src/flux/util.py:70
next →1–100 of 1,203, ranked by callers