MCPcopy Create free account

hub / github.com/KIMGEONUNG/VideoFrom3D / functions

Functions1,203 in github.com/KIMGEONUNG/VideoFrom3D

↓ 1 callersFunctioncompose2
(f1, f2)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/run_pb.py:65
↓ 1 callersFunctioncompose2
(f1, f2)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/run_onnx.py:57
↓ 1 callersFunctioncompute_errors
Compute metrics for 'pred' compared to 'gt' Args: gt (numpy.ndarray): Ground truth values pred (numpy.ndarray): Predicted values
src/flux/annotator/zoe/zoedepth/utils/misc.py:159
↓ 1 callersFunctioncompute_prompt_embeddings
( tokenizer: T5Tokenizer, text_encoder: T5EncoderModel, prompt: str, max_sequence_length: int,
training_ggi/text_encoder/text_encoder.py:69
↓ 1 callersFunctioncompute_scale_and_shift
(prediction, target, mask)
src/flux/annotator/zoe/zoedepth/trainers/loss.py:259
↓ 1 callersFunctionconvert_1D_to_2D
(W, height, width)
myutils.py:76
↓ 1 callersFunctionconvert_1D_to_2D
(W, height, width)
training_ggi/myutils.py:76
↓ 1 callersFunctionconvert_2D_to_1D
(W)
myutils.py:87
↓ 1 callersFunctionconvert_2D_to_1D
(W)
training_ggi/myutils.py:87
↓ 1 callersFunctioncorrespondence2opticalflow
(x_1, y_1, x_2, y_2, width, height)
assets/mk_noise.py:537
↓ 1 callersMethodcreateCameraPreviewSession
Creates a new {@link CameraCaptureSession} for camera preview.
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:427
↓ 1 callersFunctioncreate_argparser
()
sag_generate_anchor_view.py:225
↓ 1 callersMethodcrop_aware_infer
(self, x)
src/flux/annotator/zoe/zoedepth/trainers/zoedepth_trainer.py:114
↓ 1 callersFunctioncrop_image
Crops the image according to the crop parameters. Args: image: RGB or depth image, shape (H, W, 3) or (H, W). crop_params: Crop p
src/flux/annotator/zoe/zoedepth/data/preprocess.py:112
↓ 1 callersFunctioncrop_intrinsic_param
(cx, cy, w, h, x_min, x_max, y_min, y_max)
myutils.py:247
↓ 1 callersFunctioncrop_intrinsic_param
(cx, cy, w, h, x_min, x_max, y_min, y_max)
training_ggi/myutils.py:247
↓ 1 callersFunctiondecode
Modulate simcc distribution with Gaussian. Args: simcc_x (np.ndarray[K, Wx]): model predicted simcc in x. simcc_y (np.ndarray[K,
src/flux/annotator/dwpose/onnxpose.py:333
↓ 1 callersMethoddecode_latents
(self, latents: torch.Tensor)
mypipes/pipe_nointp_control.py:469
↓ 1 callersMethoddecode_latents
(self, latents: torch.Tensor)
mypipes/pipe_intp2.py:427
↓ 1 callersMethoddecode_latents
(self, latents: torch.Tensor)
mypipes/pipe_nointp.py:427
↓ 1 callersFunctiondemo
()
training_ggi/background_remover.py:53
↓ 1 callersFunctiondemo_postprocess
(outputs, img_size, p6=False)
src/flux/annotator/dwpose/onnxdet.py:58
↓ 1 callersFunctiondenormalize
Reverses the imagenet normalization applied to the input. Args: x (torch.Tensor - shape(N,3,H,W)): input tensor Returns: tor
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:32
↓ 1 callersFunctiondownsample_W_2D
(W_2D, size)
myutils.py:104
↓ 1 callersFunctiondownsample_W_2D
(W_2D, size)
training_ggi/myutils.py:104
↓ 1 callersMethoddrawCallback
(final Canvas canvas)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/customview/OverlayView.java:46
↓ 1 callersFunctiondraw_pose
(pose, H, W)
src/flux/annotator/dwpose/__init__.py:15
↓ 1 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
mypipes/pipe_nointp_control.py:305
↓ 1 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
mypipes/pipe_intp2.py:263
↓ 1 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
mypipes/pipe_nointp.py:263
↓ 1 callersFunctionfast_nearest_torch_remap_image
(image, x, y, *, relative=False, add_alpha_mask=False, use_cached_meshgrid=False)
training_ggi/noise_warp.py:216
↓ 1 callersMethodfillBytes
(final Plane[] planes, final byte[][] yuvBytes)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:499
↓ 1 callersMethodfilter
(self, p)
src/flux/annotator/tile/guided_filter.py:77
↓ 1 callersFunctionfn
(r, g, b)
sag_generate_anchor_view.py:466
↓ 1 callersFunctionfn
(r, g, b)
assets/mk_noise.py:525
↓ 1 callersMethodforward
( self, prompt, width, height, guidance, num_steps, se
src/flux/xflux_pipeline.py:282
↓ 1 callersMethodforward
( self, img: Tensor, img_ids: Tensor, txt: Tensor, txt_ids: Tensor,
src/flux/model.py:137
↓ 1 callersMethodforward
( self, prompt, width, height, guidance, num_steps, se
src/flux/my_xflux_pipeline.py:291
↓ 1 callersMethodforward
Forward pass. Args: x (tensor): input data (image) Returns: tensor: depth
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/make_onnx_model.py:47
↓ 1 callersMethodforward
(self, x)
src/flux/annotator/midas/midas/dpt_depth.py:67
↓ 1 callersFunctionforward_vit
(pretrained, x)
src/flux/annotator/midas/midas/vit.py:56
↓ 1 callersMethodfreeze
(self)
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:241
↓ 1 callersMethodfreeze_bn
(self)
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:253
↓ 1 callersMethodfreeze_encoder
(self, freeze_rel_pos=False)
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:289
↓ 1 callersFunctiongenerate_video
Generates a video based on the given prompt and saves it to the specified path. Parameters: - prompt (str): The description of the video
ggi.py:48
↓ 1 callersMethodgetCameraId
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/LegacyCameraConnectionFragment.java:195
↓ 1 callersMethodgetImageSizeX
Get the image size along the x axis.
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:300
↓ 1 callersMethodgetImageSizeY
Get the image size along the y axis.
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:305
↓ 1 callersMethodgetLabelPath
Gets the name of the label file stored in Assets.
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:362
↓ 1 callersMethodgetModelPath
Gets the name of the model file stored in Assets.
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:359
↓ 1 callersMethodgetOrientation
(int cameraOrientation)
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:263
↓ 1 callersMethodgetPostprocessNormalizeOp
Gets the TensorOperator to dequantize the output probability in post processing. <p>For quantized model, we need de-quantize the prediction with Norm
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:375
↓ 1 callersMethodgetPreprocessNormalizeOp
Gets the TensorOperator to nomalize the input image in preprocessing.
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:365
↓ 1 callersMethodgetRecognitions
Converts a list of {@link Classifications} objects into a list of {@link Recognition} objects to match the interface of other inference method, such a
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:250
↓ 1 callersMethodgetRgbBytes
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:208
↓ 1 callersMethodgetScreenOrientation
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:518
↓ 1 callersFunctionget_blip_model
()
ggi.py:176
↓ 1 callersFunctionget_config
Main entry point to get the config for the model. Args: model_name (str): name of the desired model. mode (str, optional): "train
src/flux/annotator/zoe/zoedepth/utils/config.py:354
↓ 1 callersFunctionget_coord_mapper
(width, height, bit)
sag_generate_anchor_view.py:463
↓ 1 callersFunctionget_coord_mapper
(width, height, bit)
assets/mk_noise.py:522
↓ 1 callersFunctionget_ddad_loader
(data_dir_root, resize_shape, batch_size=1, **kwargs)
src/flux/annotator/zoe/zoedepth/data/ddad.py:115
↓ 1 callersFunctionget_diml_indoor_loader
(data_dir_root, batch_size=1, **kwargs)
src/flux/annotator/zoe/zoedepth/data/diml_indoor_test.py:120
↓ 1 callersFunctionget_diml_outdoor_loader
(data_dir_root, batch_size=1, **kwargs)
src/flux/annotator/zoe/zoedepth/data/diml_outdoor_test.py:109
↓ 1 callersFunctionget_diode_loader
(data_dir_root, batch_size=1, **kwargs)
src/flux/annotator/zoe/zoedepth/data/diode.py:121
↓ 1 callersMethodget_enc_params_except_rel_pos
(self)
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:284
↓ 1 callersMethodget_enc_params_except_rel_pos
()
src/flux/annotator/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:261
↓ 1 callersFunctionget_hypersim_loader
(data_dir_root, batch_size=1, **kwargs)
src/flux/annotator/zoe/zoedepth/data/hypersim.py:136
↓ 1 callersFunctionget_ibims_loader
(config, batch_size=1, **kwargs)
src/flux/annotator/zoe/zoedepth/data/ibims.py:79
↓ 1 callersFunctionget_image_from_url
(url)
src/flux/annotator/zoe/zoedepth/utils/misc.py:342
↓ 1 callersFunctionget_intrinsics
Intrinsics for a pinhole camera model. Assume fov of 55 degrees and central principal point.
src/flux/annotator/zoe/zoedepth/utils/geometry.py:27
↓ 1 callersFunctionget_lin_function
(x1: float = 256, y1: float = 0.5, x2: float = 4096,
src/flux/sampling.py:72
↓ 1 callersMethodget_lr_params
Learning rate configuration for different layers of the model Args: lr (float) : Base learning rate Returns:
src/flux/annotator/zoe/zoedepth/models/zoedepth/zoedepth_v1.py:204
↓ 1 callersFunctionget_model
()
training_ggi/datasets/captioning.py:12
↓ 1 callersFunctionget_model_config
Find and parse the .json config file for the model. Args: model_name (str): name of the model. The config file should be named config_{mo
src/flux/annotator/zoe/zoedepth/utils/config.py:306
↓ 1 callersFunctionget_models
(name: str, device, offload: bool, is_schnell: bool)
sag_distribution_alignment.py:49
↓ 1 callersFunctionget_optimizer
( params_to_optimize, optimizer_name: str = "adam", learning_rate: float = 1e-3, beta1: float
training_ggi/utils.py:15
↓ 1 callersMethodget_rel_pos_params
()
src/flux/annotator/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:256
↓ 1 callersFunctionget_resize_crop_region_for_grid
(src, tgt_width, tgt_height)
mypipes/pipe_nointp_control.py:108
↓ 1 callersFunctionget_resize_crop_region_for_grid
(src, tgt_width, tgt_height)
mypipes/pipe_intp2.py:66
↓ 1 callersFunctionget_resize_crop_region_for_grid
(src, tgt_width, tgt_height)
mypipes/pipe_nointp.py:66
↓ 1 callersFunctionget_resize_crop_region_for_grid
(src, tgt_width, tgt_height)
training_ggi/utils.py:177
↓ 1 callersFunctionget_simcc_maximum
Get maximum response location and value from simcc representations. Note: instance number: N num_keypoints: K heatmap hei
src/flux/annotator/dwpose/onnxpose.py:288
↓ 1 callersMethodget_size
(self, width, height)
src/flux/annotator/zoe/zoedepth/data/transforms.py:215
↓ 1 callersMethodget_size
(self, width, height)
src/flux/annotator/zoe/zoedepth/models/base_models/midas.py:114
↓ 1 callersMethodget_size
(self, width, height)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/transforms.py:105
↓ 1 callersMethodget_size
(self, width, height)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/transforms.py:105
↓ 1 callersMethodget_size
(self, width, height)
src/flux/annotator/midas/midas/transforms.py:105
↓ 1 callersFunctionget_sunrgbd_loader
(data_dir_root, batch_size=1, **kwargs)
src/flux/annotator/zoe/zoedepth/data/sun_rgbd_loader.py:104
↓ 1 callersMethodget_value
(self)
src/flux/annotator/zoe/zoedepth/utils/misc.py:56
↓ 1 callersFunctionget_warp_matrix
Calculate the affine transformation matrix that can warp the bbox area in the input image to the output size. Args: center (np.ndarra
src/flux/annotator/dwpose/onnxpose.py:201
↓ 1 callersFunctiongrad_mask
(mask)
src/flux/annotator/zoe/zoedepth/trainers/loss.py:106
↓ 1 callersMethodhasPermission
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:402
↓ 1 callersFunctionhypersim_distance_to_depth
(npyDistance)
src/flux/annotator/zoe/zoedepth/data/hypersim.py:36
↓ 1 callersMethodinfer_with_flip_aug
Inference interface for the model with horizontal flip augmentation Horizontal flip augmentation improves the accuracy of the model b
src/flux/annotator/zoe/zoedepth/models/depth_model.py:99
↓ 1 callersFunctioninference
Inference RTMPose model. Args: sess (ort.InferenceSession): ONNXRuntime session. img (np.ndarray): Input image in shape. Ret
src/flux/annotator/dwpose/onnxpose.py:52
↓ 1 callersFunctioninference_detector
(session, oriImg)
src/flux/annotator/dwpose/onnxdet.py:98
↓ 1 callersFunctioninference_pose
(session, out_bbox, oriImg)
src/flux/annotator/dwpose/onnxpose.py:353
↓ 1 callersMethodinit_optimizer
(self)
src/flux/annotator/zoe/zoedepth/trainers/base_trainer.py:95
↓ 1 callersMethodinit_scheduler
(self)
src/flux/annotator/zoe/zoedepth/trainers/base_trainer.py:113
↓ 1 callersMethodisHardwareLevelSupported
( CameraCharacteristics characteristics, int requiredLevel)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java:424
← previousnext →301–400 of 1,203, ranked by callers