MCPcopy Create free account

hub / github.com/KIMGEONUNG/VideoFrom3D / functions

Functions1,203 in github.com/KIMGEONUNG/VideoFrom3D

↓ 2 callersMethodToTensor
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/src/main.cpp:45
↓ 2 callersMethod__init__
(self)
src/flux/annotator/hed/__init__.py:58
↓ 2 callersFunction_cached_arange
(length, device, dtype)
training_ggi/noise_warp.py:207
↓ 2 callersMethod_computeCoefficients
(self, p)
src/flux/annotator/tile/guided_filter.py:171
↓ 2 callersMethod_computeOutput
(self, ab, I)
src/flux/annotator/tile/guided_filter.py:181
↓ 2 callersFunction_downSample
(I, scale=4, shape=None)
src/flux/annotator/tile/guided_filter.py:33
↓ 2 callersMethod_filterGray
(self, p_sub, shape_original)
src/flux/annotator/tile/guided_filter.py:93
↓ 2 callersMethod_filterGray
(self, p)
src/flux/annotator/tile/guided_filter.py:142
↓ 2 callersFunction_get_3rd_point
To calculate the affine matrix, three pairs of points are required. This function is used to get the 3rd point, given 2D points a & b. The 3r
src/flux/annotator/dwpose/onnxpose.py:182
↓ 2 callersMethod_get_t5_prompt_embeds
( self, prompt: Union[str, List[str]] = None, num_videos_per_prompt: int = 1,
mypipes/pipe_nointp_control.py:261
↓ 2 callersMethod_get_t5_prompt_embeds
( self, prompt: Union[str, List[str]] = None, num_videos_per_prompt: int = 1,
mypipes/pipe_intp2.py:219
↓ 2 callersMethod_get_t5_prompt_embeds
( self, prompt: Union[str, List[str]] = None, num_videos_per_prompt: int = 1,
mypipes/pipe_nointp.py:219
↓ 2 callersFunction_make_vit_b16_backbone
( model, features=[96, 192, 384, 768], size=[384, 384], hooks=[2, 5, 8, 11], vit_features=
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/vit.py:75
↓ 2 callersMethod_preprocess_image
(self, image)
training_ggi/raft.py:25
↓ 2 callersFunctionapp
()
src/flux/cli.py:249
↓ 2 callersFunctionblend_noise
Variance-preserving blend
ggi.py:41
↓ 2 callersFunctionblend_noise
Variance-preserving blend
assets/mk_noise.py:401
↓ 2 callersFunctionblend_noise
Variance-preserving blend
training_ggi/exps/T073-000.py:81
↓ 2 callersMethodbuild_from_config
(config)
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:352
↓ 2 callersFunctioncalculate_wave_pattern
(h, w, frame)
training_ggi/noise_warp.py:164
↓ 2 callersFunctionchange_dataset
(config, new_dataset)
src/flux/annotator/zoe/zoedepth/utils/config.py:435
↓ 2 callersFunctioncheck_outside_inside
(segments_info, connect_idx)
src/flux/annotator/mlsd/utils.py:406
↓ 2 callersMethodchooseOptimalSize
Given {@code choices} of {@code Size}s supported by a camera, chooses the smallest one whose width and height are at least as large as the minimum of
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:215
↓ 2 callersFunctioncolorize
Converts a depth map to a color image. Args: value (torch.Tensor, numpy.ndarry): Input depth map. Shape: (H, W) or (1, H, W) or (1, 1, H,
src/flux/annotator/zoe/zoedepth/utils/misc.py:97
↓ 2 callersFunctioncompute_metrics
Compute metrics of predicted depth maps. Applies cropping and masking as necessary or specified via arguments. Refer to compute_errors for more detail
src/flux/annotator/zoe/zoedepth/utils/misc.py:202
↓ 2 callersMethodconfigureTransform
Configures the necessary {@link Matrix} transformation to `mTextureView`. This method should be called after the camera preview size is determined in
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:503
↓ 2 callersFunctioncreate_side_by_side
Take an RGB image and depth map and place them side by side. This includes a proper normalization of the depth map for better visibility.
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/run.py:77
↓ 2 callersFunctioncrop_images
Crops the images according to the crop parameters. Args: images: RGB or depth images, shape (H, W, 3) or (H, W). crop_params: Cro
src/flux/annotator/zoe/zoedepth/data/preprocess.py:124
↓ 2 callersFunctiondeccode_output_score_and_ptss
tpMap: center: tpMap[1, 0, :, :] displacement: tpMap[1, 1:5, :, :]
src/flux/annotator/mlsd/utils.py:19
↓ 2 callersFunctiondetect_model_format
(path, ext)
colmap.py:463
↓ 2 callersFunctiondetect_model_format
(path, ext)
training_ggi/colmap.py:463
↓ 2 callersFunctiondownscale_noise
(noise, downscale_factor=32)
assets/mk_noise.py:516
↓ 2 callersFunctiondownscale_noise
(noise)
training_ggi/noise_warp.py:1076
↓ 2 callersFunctiondownscale_noise
(noise, downscale_factor=32)
training_ggi/exps/T073-000.py:97
↓ 2 callersFunctionencode_prompt
( tokenizer: T5Tokenizer, text_encoder: T5EncoderModel, prompt: Union[str, List[str]], num_vid
training_ggi/text_encoder/text_encoder.py:45
↓ 2 callersMethodfilter
(self, p)
src/flux/annotator/tile/guided_filter.py:115
↓ 2 callersFunctionforward_adapted_unflatten
(pretrained, x, function_name="forward_features")
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/utils.py:83
↓ 2 callersFunctionforward_default
(pretrained, x, function_name="forward_features")
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/utils.py:63
↓ 2 callersMethodgetDesiredPreviewFrameSize
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:681
↓ 2 callersMethodgetDevice
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:647
↓ 2 callersMethodgetId
()
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:158
↓ 2 callersMethodgetLayoutId
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:679
↓ 2 callersMethodgetModel
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:635
↓ 2 callersMethodgetModelPath
Gets the name of the model file stored in Assets.
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/lib_task_api/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:277
↓ 2 callersMethodgetNumThreads
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:663
↓ 2 callersFunctionget_black_border
Crops the black border of the RGB. Args: rgb: RGB image, shape (H, W, 3). Returns: Crop parameters.
src/flux/annotator/zoe/zoedepth/data/preprocess.py:100
↓ 2 callersFunctionget_border_params
(rgb_image, tolerance=0.1, cut_off=20, value=0, level_diff_threshold=5, channel_axis=-1, min_border=5)
src/flux/annotator/zoe/zoedepth/data/preprocess.py:39
↓ 2 callersMethodget_conf_parameters
Returns parameters of all the ModuleDicts children that are exclusively used for the given bin configuration
src/flux/annotator/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:285
↓ 2 callersFunctionget_gradient_norm
(parameters)
training_ggi/utils.py:165
↓ 2 callersMethodget_image_proj
( self, image_prompt: Tensor, )
src/flux/my_xflux_pipeline.py:160
↓ 2 callersFunctionget_readout_oper
(vit_features, features, use_readout, start_index=1)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/utils.py:127
↓ 2 callersFunctionget_readout_oper
(vit_features, features, use_readout, start_index=1)
src/flux/annotator/midas/midas/vit.py:166
↓ 2 callersMethodget_value
(self)
src/flux/annotator/zoe/zoedepth/utils/misc.py:91
↓ 2 callersFunctionget_vkitti2_loader
(data_dir_root, batch_size=1, **kwargs)
src/flux/annotator/zoe/zoedepth/data/vkitti2.py:172
↓ 2 callersFunctionget_vkitti_loader
(data_dir_root, batch_size=1, **kwargs)
src/flux/annotator/zoe/zoedepth/data/vkitti.py:136
↓ 2 callersFunctionget_white_border
Crops the white border of the RGB. Args: rgb: RGB image, shape (H, W, 3). Returns: Crop parameters.
src/flux/annotator/zoe/zoedepth/data/preprocess.py:82
↓ 2 callersFunctiongrad
(x)
src/flux/annotator/zoe/zoedepth/trainers/loss.py:96
↓ 2 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
assets/mk_noise.py:17
↓ 2 callersMethodinfer
Inference interface for the model Args: x (torch.Tensor): input tensor of shape (b, c, h, w) pad_input (bool,
src/flux/annotator/zoe/zoedepth/models/depth_model.py:115
↓ 2 callersFunctioninfer_type
(x)
src/flux/annotator/zoe/zoedepth/utils/arg_utils.py:3
↓ 2 callersFunctionload_flow_model_quintized
(name: str, device: str | torch.device = "cuda", hf_download: bool = True)
src/flux/util.py:330
↓ 2 callersFunctionload_state_dict
Load state_dict into model, handling DataParallel and DistributedDataParallel. Also checks for "model" key in state_dict. DataParallel prefixes s
src/flux/annotator/zoe/zoedepth/models/model_io.py:27
↓ 2 callersFunctionload_state_from_resource
Loads weights to the model from a given resource. A resource can be of following types: 1. URL. Prefixed with "url::" e.g. url
src/flux/annotator/zoe/zoedepth/models/model_io.py:64
↓ 2 callersFunctionload_wts
(model, checkpoint_path)
src/flux/annotator/zoe/zoedepth/models/model_io.py:54
↓ 2 callersFunctionmake_backbone_default
( model, features=[96, 192, 384, 768], size=[384, 384], hooks=[2, 5, 8, 11],
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/utils.py:144
↓ 2 callersFunctionmix_new_noise
As alpha --> 1, noise is destroyed
assets/mk_noise.py:407
↓ 2 callersFunctionmix_new_noise
As alpha --> 1, noise is destroyed
training_ggi/noise_warp.py:801
↓ 2 callersMethodnewInstance
( final ConnectionCallback callback, final OnImageAvailableListener imageListener, final int
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:256
↓ 2 callersFunctionnormalize_input
( item, mean=[0.5, 0.5, 0.5], # Imagenet [0.485, 0.456, 0.406] std=[0.5, 0.5, 0.5],
training_ggi/mydataset_depthhed_mask.py:65
↓ 2 callersMethodonPreviewSizeChosen
(Size size, int cameraRotation)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:534
↓ 2 callersMethodopenCamera
Opens the camera specified by {@link CameraConnectionFragment#cameraId}.
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:367
↓ 2 callersFunctionpad64
(x)
src/flux/util.py:67
↓ 2 callersFunctionparse_prompt
(options: SamplingOptions)
src/flux/cli.py:29
↓ 2 callersFunctionprocess
Run the inference and interpolate. Args: device (torch.device): the torch device used model: the model used for inference
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/run.py:17
↓ 2 callersMethodprocessImage
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:675
↓ 2 callersMethodquantize_depth
(self, depth)
src/flux/annotator/zoe/zoedepth/trainers/loss.py:198
↓ 2 callersFunctionqvec2rotmat
(qvec)
colmap.py:507
↓ 2 callersFunctionqvec2rotmat
(qvec)
training_ggi/colmap.py:507
↓ 2 callersMethodrecognizeImage
(final Bitmap bitmap, int sensorOrientation)
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:252
↓ 2 callersMethodrecreateClassifier
(Model model, Device device, int numThreads)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/ClassifierActivity.java:206
↓ 2 callersFunctionregaussianize
(noise)
assets/mk_noise.py:146
↓ 2 callersMethodrequest
Request to generate the image.
src/flux/api.py:101
↓ 2 callersMethodrequestPermission
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:410
↓ 2 callersFunctionresize_frame
(frame, target_height=64)
training_ggi/noise_warp.py:408
↓ 2 callersFunctionretrieve_latents
(encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None,
mypipes/pipe_nointp_control.py:189
↓ 2 callersFunctionretrieve_latents
(encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None,
mypipes/pipe_intp2.py:147
↓ 2 callersFunctionretrieve_latents
(encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None,
mypipes/pipe_nointp.py:147
↓ 2 callersMethodrotate_image
(self, image, angle, flag=Image.BILINEAR)
src/flux/annotator/zoe/zoedepth/data/data_mono.py:440
↓ 2 callersMethodrunInBackground
(final Runnable r)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:374
↓ 2 callersFunctionsafer_memory
(x)
src/flux/util.py:88
↓ 2 callersMethodsetFragment
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:470
↓ 2 callersMethodset_controlnet
(self, control_type: str, local_path: str = None, repo_id: str = None, name: str = None)
src/flux/my_xflux_pipeline.py:147
↓ 2 callersMethodset_ip
(self, local_path: str = None, repo_id = None, name: str = None)
src/flux/my_xflux_pipeline.py:68
↓ 2 callersMethodshould_early_stop
(self)
src/flux/annotator/zoe/zoedepth/trainers/base_trainer.py:138
↓ 2 callersFunctionstarfield_zoom
(h, w, frame)
training_ggi/noise_warp.py:185
↓ 2 callersFunctionsum_indexed_values
Sum the values in the CHW image tensor based on the indices specified in the HW index matrix. Args: image (torch.Tensor): Image tens
training_ggi/noise_warp.py:58
↓ 2 callersFunctionto8U
(img)
src/flux/annotator/tile/guided_filter.py:20
↓ 2 callersMethodto_tensor
(self, pic)
src/flux/annotator/zoe/zoedepth/data/vkitti.py:52
↓ 2 callersMethodto_tensor
(self, pic)
src/flux/annotator/zoe/zoedepth/data/vkitti2.py:53
↓ 2 callersMethodto_tensor
(self, pic)
src/flux/annotator/zoe/zoedepth/data/diode.py:51
← previousnext →101–200 of 1,203, ranked by callers