MCPcopy Create free account

hub / github.com/KIMGEONUNG/VideoFrom3D / functions

Functions1,203 in github.com/KIMGEONUNG/VideoFrom3D

Method__init__
Init. Args: features (int): number of features
src/flux/annotator/midas/midas/blocks.py:198
Method__init__
Init. Args: features (int): number of features
src/flux/annotator/midas/midas/blocks.py:235
Method__init__
Init. Args: features (int): number of features
src/flux/annotator/midas/midas/blocks.py:295
Method__init__
Init. Args: width (int): desired output width height (int): desired output height resize_target (bool, op
src/flux/annotator/midas/midas/transforms.py:52
Method__init__
(self, mean, std)
src/flux/annotator/midas/midas/transforms.py:201
Method__init__
(self)
src/flux/annotator/midas/midas/transforms.py:215
Method__init__
Init. Args: path (str, optional): Path to saved model. Defaults to None. features (int, optional): Number of features
src/flux/annotator/midas/midas/midas_net.py:16
Method__init__
(self, path=None, non_negative=True, **kwargs)
src/flux/annotator/midas/midas/dpt_depth.py:89
Method__init__
(self, weight_dtype: torch.dtype)
training_ggi/mydataset_depthhed_mask.py:39
Method__init__
( self, path_root, path_seed='seeds.txt', width: int = 480, height: in
training_ggi/mydataset_depthhed_mask.py:88
Method__init__
(self, device, checkpoint_path=None)
training_ggi/background_remover.py:19
Method__init__
( self, c, h, w, device, dtype=torch.float32, scale_factor=1,
training_ggi/noise_warp.py:697
Method__init__
(self, w_src, h_src, size)
training_ggi/myutils.py:173
Method__init__
(self, w_src, h_src, size)
training_ggi/myutils.py:201
Method__init__
Automatically downloads the model you select upon instantiation if not already downloaded
training_ggi/raft.py:7
Method__init__
(self, img_dir, img_size=512, caption_type='json', random_ratio=False)
image_datasets/dataset.py:56
Method__init__
( self, img_dir, img_size=512, caption_type='json', random_ratio=False
image_datasets/dataset.py:95
Method__init__
( self, img_dir, prompt, img_size=512, caption_type='json', ra
image_datasets/dataset.py:146
Method__init__
(self, img_dir, img_size=512)
image_datasets/canny_dataset.py:31
Method__iter__
(self)
src/flux/annotator/zoe/zoedepth/data/data_mono.py:208
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/vkitti.py:132
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/vkitti2.py:168
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/diode.py:117
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/data_mono.py:211
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/data_mono.py:509
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/diml_outdoor_test.py:105
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/sun_rgbd_loader.py:100
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/hypersim.py:132
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/ddad.py:111
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/ibims.py:75
Method__len__
(self)
src/flux/annotator/zoe/zoedepth/data/diml_indoor_test.py:116
Method__len__
(self)
training_ggi/mydataset_depthhed_mask.py:129
Method__len__
(self)
image_datasets/dataset.py:65
Method__len__
(self)
image_datasets/dataset.py:112
Method__len__
(self)
image_datasets/dataset.py:162
Method__len__
(self)
image_datasets/canny_dataset.py:36
Method__setattr__
(self, name, value)
src/flux/annotator/zoe/zoedepth/utils/easydict/__init__.py:134
Method__str__
(self)
src/flux/api.py:18
Method_computeCoefficients
(self, p)
src/flux/annotator/tile/guided_filter.py:243
Method_computeOutput
(self, ab, I)
src/flux/annotator/tile/guided_filter.py:270
Method_dequantize_depth
Inverse of quantization depth : NCHW -> N1HW
src/flux/annotator/zoe/zoedepth/trainers/loss.py:211
Function_get_rel_pos_bias
Modification of timm.models.beit.py: Attention._get_rel_pos_bias to support arbitrary window sizes.
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/beit.py:29
Method_load_pretrained_model
(self)
src/flux/annotator/mlsd/models/mbv2_mlsd_tiny.py:236
Function_make_pretrained_deitb16_384
(pretrained, use_readout="ignore", hooks=None)
src/flux/annotator/midas/midas/vit.py:319
Function_make_pretrained_deitb16_distil_384
(pretrained, use_readout="ignore", hooks=None)
src/flux/annotator/midas/midas/vit.py:328
Function_resize_pos_embed
(self, posemb, gs_h, gs_w)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/vit.py:16
Function_resize_pos_embed
(self, posemb, gs_h, gs_w)
src/flux/annotator/midas/midas/vit.py:100
Method_set_gradient_checkpointing
(self, module, value=False)
src/flux/controlnet.py:101
Method_set_gradient_checkpointing
(self, module, value=False)
src/flux/model.py:80
MethodaddCallback
(final DrawCallback callback)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/customview/OverlayView.java:33
Functionapply_min_size
Rezise the sample to ensure the given size. Keeps aspect ratio. Args: sample (dict): sample size (tuple): image size Returns
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/tf/transforms.py:6
Functionapply_min_size
Rezise the sample to ensure the given size. Keeps aspect ratio. Args: sample (dict): sample size (tuple): image size Returns
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/transforms.py:6
Functionapply_min_size
Rezise the sample to ensure the given size. Keeps aspect ratio. Args: sample (dict): sample size (tuple): image size Returns
src/flux/annotator/midas/midas/transforms.py:6
Functionattention_forward
Modification of timm.models.beit.py: Attention.forward to support arbitrary window sizes.
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/beit.py:65
Methodattention_kwargs
(self)
mypipes/pipe_nointp_control.py:631
Methodattention_kwargs
(self)
mypipes/pipe_intp2.py:589
Methodattention_kwargs
(self)
mypipes/pipe_nointp.py:589
Methodattn_processors
(self)
src/flux/controlnet.py:107
Methodattn_processors
(self)
src/flux/model.py:85
Functionbeit_forward_features
Modification of timm.models.beit.py: Beit.forward_features to support arbitrary window sizes.
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/beit.py:108
Functionblock_forward
Modification of timm.models.beit.py: Block.forward to support arbitrary window sizes.
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/midas/backbones/beit.py:94
Methodbuild_from_config
(config)
src/flux/annotator/zoe/zoedepth/models/zoedepth/zoedepth_v1.py:249
Methodbuild_from_config
(config)
src/flux/annotator/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py:332
Functionbuild_model
Builds a model from a config. The model is specified by the model name and version in the config. The model is then constructed using the build_from_c
src/flux/annotator/zoe/zoedepth/models/builder.py:28
Methodbytes
Generated image as bytes.
src/flux/api.py:150
Functionc_crop
(image)
src/flux/util.py:58
Functionc_crop
(image)
image_datasets/dataset.py:23
Functioncall
( self, warped_x, mask, prompt: str, image_prompt: Image = None, controlnet_image: Ima
sag_generate_anchor_view.py:158
Methodcallback
(self, data)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/scripts/listener_original.py:25
Methodcallback
(self, data)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/ros/midas_cpp/scripts/listener.py:25
Functionch_channel
(transformer, ch_in)
myutils.py:36
Functionch_channel
(transformer, ch_in)
training_ggi/myutils.py:36
Functionchecksum_string
(data: str, algorithm: str = 'sha256')
sag_generate_anchor_view.py:28
MethodclassificationResultsShouldNotChange
()
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/androidTest/java/org/tensorflow/lite/examples/classification/ClassifierTest.java:55
Methodclose
Closes the interpreter and model to release resources.
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:228
Methodcompare
(Recognition lhs, Recognition rhs)
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:339
Methodcompare
(final Size lhs, final Size rhs)
src/flux/annotator/zoe/zoedepth/models/base_models/midas_repo/mobile/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraConnectionFragment.java:539
Functionconvert_jsonformat_to_colmapformat
(matrix, applied_transform)
myutils.py:326
Functionconvert_jsonformat_to_colmapformat
(matrix, applied_transform)
training_ggi/myutils.py:326
Functionconvert_to_canonical
(flow, mask)
myutils.py:143
Functionconvert_to_canonical
(flow, mask)
training_ggi/myutils.py:143
Functioncount_parameters
(model, include_all=False)
src/flux/annotator/zoe/zoedepth/utils/misc.py:155
Methodcreate
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_task_api/src/main/java/org/tensorflow/lite/examples/classification/tflite/Classifier.java:81
Methodcreate_custom_forward
(module, return_dict=None)
src/flux/controlnet.py:195
Methodcreate_custom_forward
(module, return_dict=None)
src/flux/model.py:170
Functioncreate_triangles
Reference: https://github.com/google-research/google-research/blob/e96197de06613f1b027d20328e06d69829fa5a89/infinite_nature/render_utils.py#L68
src/flux/annotator/zoe/zoedepth/utils/geometry.py:75
Functioncrop_black_or_white_border
Crops the white and black border of the RGB and depth images. Args: rgb: RGB image, shape (H, W, 3). This image is used to determine the
src/flux/annotator/zoe/zoedepth/data/preprocess.py:136
Methodcustom_forward
(*inputs)
src/flux/controlnet.py:196
Methodcustom_forward
(*inputs)
src/flux/model.py:171
Functiondemo_noise_warp
(Q=-6,scale_factor=1,num_frames=300)
training_ggi/noise_warp.py:337
Functiondemo_pixellation_via_proxy
()
training_ggi/noise_warp.py:134
Functiondemo_webcam_noise_warp
()
training_ggi/noise_warp.py:397
Functiondenoise_sdedit
( self, model: Flux, # model input img: Tensor, img_ids: Tensor,
src/flux/sampling.py:163
Functiondenormalize
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/utils/misc.py:60
Functiondepth_to_points
(depth, R=None, t=None)
src/flux/annotator/zoe/zoedepth/utils/geometry.py:39
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
src/flux/annotator/midas/api.py:26
Functiondownsample_W_1D
(W_1D, size, height_org, width_org)
myutils.py:97
Functiondownsample_W_1D
(W_1D, size, height_org, width_org)
training_ggi/myutils.py:97
Methoddraw
(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:37
Functiondraw_bodypose
(canvas, candidate, subset)
src/flux/annotator/dwpose/util.py:68
← previousnext →801–900 of 1,203, ranked by callers