MCPcopy Create free account

hub / github.com/KuofengGao/Verbose_Images / functions

Functions3,633 in github.com/KuofengGao/Verbose_Images

Functiondownload_image
(row)
lavis/datasets/download_scripts/DownloadConceptualCaptions/download_data_cc12m.py:134
Functiondownload_image_from_url_test
(url)
lavis/datasets/download_scripts/download_nocaps.py:70
Functiondownload_image_from_url_val
(url)
lavis/datasets/download_scripts/download_nocaps.py:63
Functiondraw_bodypose
(canvas, candidate, subset)
lavis/common/annotator/openpose/util.py:37
Functiondraw_handpose
(canvas, all_hand_peaks, show_number=False)
lavis/common/annotator/openpose/util.py:74
Methoddummy_inputs
(self)
lavis/models/blip2_models/modeling_t5.py:843
Functiondump
Dump data to json/yaml/pickle strings or files. This method provides a unified api for dumping data as strings or to files, and also supports
lavis/common/annotator/uniformer/mmcv/fileio/io.py:69
Methoddump_to_fileobj
(self, obj, file, **kwargs)
lavis/common/annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py:22
Methoddump_to_fileobj
(self, obj, file, **kwargs)
lavis/common/annotator/uniformer/mmcv/fileio/handlers/yaml_handler.py:18
Methoddump_to_fileobj
(self, obj, file, **kwargs)
lavis/common/annotator/uniformer/mmcv/fileio/handlers/json_handler.py:30
Methoddump_to_path
(self, obj, filepath, mode='w', **kwargs)
lavis/common/annotator/uniformer/mmcv/fileio/handlers/base.py:28
Methoddump_to_path
(self, obj, filepath, **kwargs)
lavis/common/annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py:26
Methoddump_to_str
(self, obj, **kwargs)
lavis/common/annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py:18
Methoddump_to_str
(self, obj, **kwargs)
lavis/common/annotator/uniformer/mmcv/fileio/handlers/yaml_handler.py:22
Methoddump_to_str
(self, obj, **kwargs)
lavis/common/annotator/uniformer/mmcv/fileio/handlers/json_handler.py:34
Methodedit
( self, samples, lb_threshold=0.3, guidance_scale=7.5, height=512,
lavis/models/blip_diffusion_models/blip_diffusion.py:377
Methodembed_avg_ema_update
(self, new_embed_avg)
lavis/models/beats/quantizer.py:112
Methodembedded_gaussian
Embedded gaussian with temperature.
lavis/common/annotator/uniformer/mmseg/models/decode_heads/dnl_head.py:21
Methodembedded_gaussian
(self, theta_x, phi_x)
lavis/common/annotator/uniformer/mmcv/cnn/bricks/non_local.py:124
Methodempty_audio_tensor
()
lavis/processors/audio_processors.py:63
Functionempty_flops_counter_hook
(module, input, output)
lavis/common/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:400
Methodencode_decode
Placeholder for encode images with backbone and decode into a semantic segmentation map of the same size as input.
lavis/common/annotator/uniformer/mmseg/models/segmentors/base.py:45
Methodencode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
lavis/common/annotator/uniformer/mmseg/models/segmentors/cascade_encoder_decoder.py:65
Methodepoch
int: Current epoch.
lavis/common/annotator/uniformer/mmcv/runner/base_runner.py:160
Methodepoch
(self)
lavis/common/annotator/uniformer/mmcv/runner/iter_based_runner.py:27
Methodepoch
(self)
lavis/datasets/datasets/dataloader_utils.py:144
Functionequalize_func
same output as PIL.ImageOps.equalize PIL's implementation is different from cv2.equalize
lavis/processors/randaugment.py:52
Methodevaluate
Evaluation in Cityscapes/default protocol. Args: results (list): Testing results of the dataset. metric (str | list[s
lavis/common/annotator/uniformer/mmseg/datasets/cityscapes.py:124
Methodevaluate_only
Set to True to skip training.
lavis/runners/runner_base.py:328
Methodevaluation
(self, model, data_loader, **kwargs)
lavis/tasks/retrieval.py:32
Methodevaluation
(self, model, data_loader, cuda_enabled=True)
lavis/tasks/image_text_pretrain.py:17
Methodexists
Check whether a file path exists. Args: filepath (str or Path): Path to be checked whether exists. Returns:
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:220
Methodexists
Check whether a file path exists. Args: filepath (str or Path): Path to be checked whether exists. Returns:
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:581
Methodextra_repr
Extra repr.
lavis/common/annotator/uniformer/mmseg/models/decode_heads/decode_head.py:88
Methodextra_repr
(self)
lavis/models/eva_vit.py:40
Methodextract_features
Extract features for multimodal or unimodal samples. Args: samples (dict): A dictionary of samples, containing the follo
lavis/models/albef_models/albef_feature_extractor.py:49
Methodextract_features
Extract features from the model for samples. Keys allowed are "image" and "text_input" in samples. If either key is missing,
lavis/models/clip_models/model.py:603
Methodextract_features
Extract features for multimodal or unimodal samples. Args: samples (dict): A dictionary of samples, containing the follow
lavis/models/blip2_models/blip2_qformer.py:387
Methodextract_labels
( self, source: torch.Tensor, padding_mask: Optional[torch.Tensor] = None,
lavis/models/beats/Tokenizers.py:138
Functionfake_func
(*args, **kwargs)
lavis/common/annotator/uniformer/mmcv/utils/ext_loader.py:43
Methodfeed_forward_chunk
(self, attention_output)
lavis/models/med.py:499
Methodfeed_forward_chunk
(self, attention_output)
lavis/models/blip_models/nlvr_encoder.py:483
Methodfeed_forward_chunk
(self, attention_output)
lavis/models/blip2_models/Qformer.py:476
Methodfeed_forward_chunk_query
(self, attention_output)
lavis/models/blip2_models/Qformer.py:481
Methodfilename
(self)
lavis/common/annotator/uniformer/mmcv/utils/config.py:399
Methodfind_next_comma
Find the position of next comma in the string. If no ',' is found in the string, return the string length. All chars inside '
lavis/common/annotator/uniformer/mmcv/utils/config.py:641
Functionfind_vcs_root
Finds the root directory (including itself) of specified markers. Args: path (str): Path of directory or file. markers (list[str]
lavis/common/annotator/uniformer/mmcv/utils/path.py:83
Functionflops_repr
(self)
lavis/common/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:273
Functionflow_from_bytes
Read dense optical flow from bytes. .. note:: This load optical flow function works for FlyingChairs, FlyingThings3D, Sintel, Fly
lavis/common/annotator/uniformer/mmcv/video/optflow.py:204
Functionflow_warp
Use flow to warp img. Args: img (ndarray, float or uint8): Image to be warped. flow (ndarray, float): Optical Flow. filli
lavis/common/annotator/uniformer/mmcv/video/optflow.py:143
Functionflowshow
Show optical flow. Args: flow (ndarray or str): The optical flow to be displayed. win_name (str): The window name. wait_t
lavis/common/annotator/uniformer/mmcv/visualization/optflow.py:11
Functionflowwrite
Write optical flow to file. If the flow is not quantized, it will be saved as a .flo file losslessly, otherwise a jpeg image which is lossy b
lavis/common/annotator/uniformer/mmcv/video/optflow.py:61
Functionfn
(m)
lavis/models/ulip_models/pointbert/misc.py:131
Functionfopen
(filepath, *args, **kwargs)
lavis/common/annotator/uniformer/mmcv/utils/path.py:13
Functionforce_fp32
Decorator to convert input arguments to fp32 in force. This decorator is useful when you write custom modules and want to support mixed preci
lavis/common/annotator/uniformer/mmcv/runner/fp16_utils.py:141
Functionforce_fp32_wrapper
(old_func)
lavis/common/annotator/uniformer/mmcv/runner/fp16_utils.py:176
Methodformat_results
Place holder to format result to dataset specific output.
lavis/common/annotator/uniformer/mmseg/datasets/custom.py:227
Methodforward
(self, a, b)
lavis/common/annotator/mlsd/models/mbv2_mlsd_tiny.py:24
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_tiny.py:45
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_tiny.py:65
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_tiny.py:111
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_tiny.py:145
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_tiny.py:233
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_tiny.py:263
Methodforward
(self, a, b)
lavis/common/annotator/mlsd/models/mbv2_mlsd_large.py:24
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_large.py:46
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_large.py:66
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_large.py:112
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_large.py:146
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_large.py:233
Methodforward
(self, x)
lavis/common/annotator/mlsd/models/mbv2_mlsd_large.py:275
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/ops/encoding.py:57
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/ops/wrappers.py:45
Methodforward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
lavis/common/annotator/uniformer/mmseg/models/segmentors/base.py:111
Methodforward
(self, inputs)
lavis/common/annotator/uniformer/mmseg/models/necks/fpn.py:162
Methodforward
(self, inputs)
lavis/common/annotator/uniformer/mmseg/models/necks/multilevel_neck.py:55
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/resnest.py:28
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/resnest.py:117
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/resnest.py:226
Methodforward
Forward function.
lavis/common/annotator/uniformer/mmseg/models/backbones/unet.py:76
Methodforward
Forward function.
lavis/common/annotator/uniformer/mmseg/models/backbones/unet.py:137
Methodforward
Forward function.
lavis/common/annotator/uniformer/mmseg/models/backbones/unet.py:211
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/unet.py:376
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/cgnet.py:37
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/cgnet.py:142
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/cgnet.py:179
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/cgnet.py:309
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/vit.py:50
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/vit.py:89
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/vit.py:156
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/vit.py:201
Methodforward
(self, inputs)
lavis/common/annotator/uniformer/mmseg/models/backbones/vit.py:421
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py:233
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/uniformer.py:34
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/uniformer.py:53
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/uniformer.py:77
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/uniformer.py:97
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/uniformer.py:128
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/uniformer.py:185
Methodforward
(self, x)
lavis/common/annotator/uniformer/mmseg/models/backbones/uniformer.py:232
← previousnext →2,501–2,600 of 3,633, ranked by callers