MCPcopy Create free account

hub / github.com/Fanziyang-v/FlashVID / functions

Functions6,334 in github.com/Fanziyang-v/FlashVID

↓ 1 callersMethodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LMM. :param doc_id: int
lmms-eval/lmms_eval/api/task.py:488
↓ 1 callersFunctionconvert_bbox_from_mimo
Convert bbox coordinates from MIMO resized space to original image space.
lmms-eval/lmms_eval/tasks/groundingme/utils.py:119
↓ 1 callersFunctionconvert_bbox_from_qwen
Convert bbox coordinates from Qwen resized space to original image space.
lmms-eval/lmms_eval/tasks/groundingme/utils.py:125
↓ 1 callersMethodconvert_modality
(self, images)
lmms-eval/lmms_eval/models/simple/gemini_api.py:127
↓ 1 callersFunctionconvert_pi_to_number
(code_string)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/general_numerical_match.py:91
↓ 1 callersMethodconvert_result_to_openai_format
Convert the result from the MCP tool to OpenAI compatible format. :param result: Result from the MCP tool. :return: Converted
lmms-eval/lmms_eval/mcp/client.py:49
↓ 1 callersFunctionconvert_table_to_html_str
Given a list of table rows, build the corresponding html string, which is used to compute the TEDS score. We use the official code of PubTabN
lmms-eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:158
↓ 1 callersFunctionconvert_time_to_frames_in_question
(question, total_duration_sec, total_frames)
lmms-eval/lmms_eval/tasks/scivideobench/utils.py:22
↓ 1 callersFunctionconvert_to_custom_text_state_dict
(state_dict: dict)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:358
↓ 1 callersFunctionconvert_to_dataset
(json_data: list, images: dict)
lmms-eval/lmms_eval/tasks/illusionbench/convert_dataset.py:56
↓ 1 callersFunctionconvert_to_range
(match)
lmms-eval/lmms_eval/tasks/megabench/metrics/parsing/common/parsers.py:123
↓ 1 callersFunctionconvert_to_serializable
(obj)
lmms-eval/lmms_eval/tasks/ocrbench_v2/upload_ocrbench_v2.py:49
↓ 1 callersFunctionconvert_weights_to_lp
Convert applicable model parameters to low-precision (bf16 or fp16)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:326
↓ 1 callersFunctioncorrect_symbols
一百八 to 一百八十 一亿一千三百万 to 一亿 一千万 三百万
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:583
↓ 1 callersFunctioncount_syllables
Count the number of syllables in a piece of text.
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:149
↓ 1 callersFunctioncounting_evaluation
(predict, answers, eval_method)
lmms-eval/lmms_eval/tasks/ocrbench_v2/vqa_metric.py:157
↓ 1 callersMethodcreate_batch
(self, file_id, metadata=None)
lmms-eval/lmms_eval/models/simple/batch_gpt4.py:208
↓ 1 callersMethodcreate_batch_input_file
(self, requests_data, file_path="batchinput.jsonl")
lmms-eval/lmms_eval/models/simple/batch_gpt4.py:189
↓ 1 callersMethodcreate_from_arg_string
Creates an instance of the LMM class using the given argument string and additional config. Parameters: - arg_string: A stri
lmms-eval/lmms_eval/api/model.py:292
↓ 1 callersMethodcreate_image_content
(self, image)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/ascii_art_vlm_judge.py:36
↓ 1 callersMethodcreate_image_content
(self, image_path)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/vlm_as_judge.py:50
↓ 1 callersFunctioncreate_iterator
Method for creating a (potentially) sliced and limited iterator from a raw document iterator. Used for splitting data among ranks in mult
lmms-eval/lmms_eval/utils.py:857
↓ 1 callersFunctioncreate_model_and_transforms
( model_name: str, pretrained: Optional[str] = None, precision: str = "fp32", device: Union[st
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/factory.py:442
↓ 1 callersFunctioncreate_norm_layer_factory
(use_fused_ln, eps=1e-6)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:795
↓ 1 callersMethodcreate_one_query
(self, problem)
lmms-eval/lmms_eval/tasks/mmrefine/mmrefine_evals.py:132
↓ 1 callersMethodcreate_options_prompt
(self, row_data, option_candidate)
lmms-eval/lmms_eval/tasks/mmupd/mmupd_evals.py:90
↓ 1 callersMethodcreate_provider
Create a judge instance based on API type Args: api_type: Type of API to use ('openai' or 'azure').
lmms-eval/lmms_eval/llm_judge/factory.py:28
↓ 1 callersFunctioncreate_python_file_with_texts
(folder_path, output_file)
lmms-eval/lmms_eval/tasks/gedit_bench/viescore/parse_prompt.py:4
↓ 1 callersFunctioncreate_test_prompt
(score_prompt, problem, pred)
lmms-eval/lmms_eval/tasks/stare/utils.py:304
↓ 1 callersFunctioncreate_test_prompt
https://github.com/EMMA-Bench/EMMA/blob/main/evaluation/evaluate.py#L54
lmms-eval/lmms_eval/tasks/emma/utils.py:374
↓ 1 callersMethodcreate_test_prompt
(self, demo_prompt, query, response)
lmms-eval/lmms_eval/tasks/mathvista/mathvista_evals.py:212
↓ 1 callersFunctioncrop_and_split
(fullpage_path, fullpage_split_dict, save_slice_path=None)
lmms-eval/lmms_eval/tasks/mmsearch/utils/image_utils.py:114
↓ 1 callersFunctioncsbench_doc_to_choice
(doc: Dict)
lmms-eval/lmms_eval/tasks/csbench/utils.py:34
↓ 1 callersFunctioncsbench_doc_to_target
(doc: Dict)
lmms-eval/lmms_eval/tasks/csbench/utils.py:27
↓ 1 callersFunctioncsv2triples
(csv, separator="\\t", delimiter="\\n")
lmms-eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:620
↓ 1 callersFunctioncustom_lemmatize
Custom lemmatization to handle special cases like 'puppies' -> 'puppy'.
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:16
↓ 1 callersFunctioncuva_aggregate_results_bleurt
(results, args)
lmms-eval/lmms_eval/tasks/cuva/utils.py:170
↓ 1 callersMethoddate2chntext
(self)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:846
↓ 1 callersFunctiondecode_base64_to_image
(base64_string, target_size=-1)
lmms-eval/lmms_eval/tasks/hrbench/utils.py:27
↓ 1 callersFunctiondecode_base64_to_image
(base64_string, target_size=-1)
lmms-eval/lmms_eval/tasks/mme_realworld/utils.py:30
↓ 1 callersFunctiondecode_generated_output
( tokenizer, output_ids: torch.Tensor, prompt_length: int, )
playground/bench_efficiency.py:127
↓ 1 callersFunctiondecode_mask
(mask_b64: str)
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:530
↓ 1 callersFunctiondecode_utf8
Returns a Unicode object on success, or None on failure
lmms-eval/lmms_eval/tasks/ocrbench_v2/spotting_eval/rrc_evaluation_funcs_1_1.py:85
↓ 1 callersFunctiondecode_video
(video_path: str)
lmms-eval/lmms_eval/tasks/videomathqa/utils.py:17
↓ 1 callersFunctiondecorator
(f)
lmms-eval/lmms_eval/tasks/_task_utils/math_verify_utils.py:27
↓ 1 callersFunctiondefault_bpe
()
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/tokenizer.py:23
↓ 1 callersMethoddefault_process
(self, visuals, contexts)
lmms-eval/lmms_eval/models/simple/phi4_multimodal.py:193
↓ 1 callersFunctionderive_keyword_stats
Calculate keyword-based statistics for skills, input_format, and output_format.
lmms-eval/lmms_eval/tasks/megabench/breakdown/analysis_utils.py:26
↓ 1 callersFunctiondescriptive_query_helper
(qid, subplot_loc)
lmms-eval/lmms_eval/tasks/charxiv/reasoning/utils.py:37
↓ 1 callersFunctiondetailcaps_doc_to_target
(doc)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:31
↓ 1 callersFunctiondetermine_answer_fields
Determine which fields contain the answers. Args: item: The evaluation item dictionary Returns: Tuple of (cogmap_field, plai
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/extractors.py:183
↓ 1 callersFunctiondetermine_inner_outer_relationship
Determine if relationship is inner/outer based on positions and facings. Args: pos1: Position of first object pos2: Position of s
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/graph_operations.py:566
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/phi3v.py:109
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/minicpm_v.py:107
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/instructblip.py:108
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/plm.py:137
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/minimonkey.py:108
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/cogvlm2.py:107
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/qwen_vl.py:112
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/auroracap.py:205
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/vora.py:110
↓ 1 callersMethoddevice
(self)
lmms-eval/lmms_eval/models/simple/fuyu.py:134
↓ 1 callersFunctiondivide_to_patches
Divides an image into patches of a specified size. Args: image (PIL.Image.Image): The input image. patch_size (int): The siz
llava/mm_utils.py:191
↓ 1 callersMethoddoc_iterator
(self, *, rank: int = 0, limit: Union[int, None] = None, world_size: int = 1)
lmms-eval/lmms_eval/api/task.py:662
↓ 1 callersFunctiondoc_to_choice
(doc)
lmms-eval/lmms_eval/tasks/mmau/utils.py:25
↓ 1 callersFunctiondoc_to_text
(sample: Dict[str, Any], lmms_kwargs: Dict[str, Any] = None)
lmms-eval/lmms_eval/tasks/mme_sci/utils.py:53
↓ 1 callersFunctiondoc_to_text
(sample: Dict[str, Any], lmms_kwargs: Dict[str, Any] = None)
lmms-eval/lmms_eval/tasks/mme_sci_image/utils.py:49
↓ 1 callersFunctiondoc_to_text_qwen3vl
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/snsbench/utils.py:62
↓ 1 callersFunctiondoc_to_visual
(sample: dict)
lmms-eval/lmms_eval/tasks/mme_sci/utils.py:17
↓ 1 callersFunctiondoc_to_visual
(sample: dict)
lmms-eval/lmms_eval/tasks/mme_sci_image/utils.py:13
↓ 1 callersMethoddoc_to_visual
(self, doc: dict)
lmms-eval/lmms_eval/api/task.py:1372
↓ 1 callersMethoddownload
(self, dataset_kwargs=None)
lmms-eval/lmms_eval/api/task.py:867
↓ 1 callersFunctiondownload_and_extract_images
(url: str, output_dir: Path)
lmms-eval/lmms_eval/tasks/illusionbench/convert_dataset.py:41
↓ 1 callersFunctiondownload_and_organize_data
(cache_dir)
lmms-eval/lmms_eval/tasks/FALCONBench/utils.py:68
↓ 1 callersFunctiondownload_json
(url: str)
lmms-eval/lmms_eval/tasks/illusionbench/convert_dataset.py:35
↓ 1 callersFunctiondownload_nltk_resources
Download 'punkt' if not already installed
lmms-eval/lmms_eval/tasks/ifeval/instructions_util.py:25
↓ 1 callersFunctiondpc_knn
Apply DPC-kNN clustering algorithm to the pooled image features, generating preliminary clustering result. Args: features (torch.Tensor):
flashvid/utils.py:253
↓ 1 callersFunctiondrop_additional_text
(result)
lmms-eval/lmms_eval/tasks/megabench/metrics/parsing/common/utils.py:104
↓ 1 callersFunctiondynamath_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/dynamath/reasoning/utils.py:25
↓ 1 callersFunctiondynamic_preprocess
(image, min_num=1, max_num=12, image_size=448, use_thumbnail=False)
lmms-eval/lmms_eval/models/simple/minimonkey.py:251
↓ 1 callersFunctiondynamic_preprocess2
(image, min_num=1, max_num=12, prior_aspect_ratio=None, image_size=448, use_thumbnail=False)
lmms-eval/lmms_eval/models/simple/minimonkey.py:282
↓ 1 callersMethodencode_audio
(self, audio)
lmms-eval/lmms_eval/models/simple/gemini_api.py:122
↓ 1 callersMethodencode_audio
Encode audio input into a base64-encoded WAV string. Accepts: file path, dict{array,sampling_rate}, numpy array, objects with
lmms-eval/lmms_eval/models/simple/gpt4o_audio.py:112
↓ 1 callersMethodencode_image
(self, image, normalize: bool = False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:257
↓ 1 callersMethodencode_image
(self, image, normalize: bool = False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:312
↓ 1 callersMethodencode_image
Encode an image into base64 and return its mime type.
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/ascii_art_vlm_judge.py:20
↓ 1 callersMethodencode_image
(self, image_path, max_side=None)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/vlm_as_judge.py:87
↓ 1 callersMethodencode_image
(self, image)
lmms-eval/lmms_eval/models/simple/claude.py:86
↓ 1 callersMethodencode_image
(self, image: Union[Image.Image, str])
lmms-eval/lmms_eval/models/simple/vllm.py:249
↓ 1 callersMethodencode_image
(self, image)
lmms-eval/lmms_eval/models/simple/reka.py:87
↓ 1 callersMethodencode_image
(self, image: Image)
lmms-eval/lmms_eval/models/simple/batch_gpt4.py:82
↓ 1 callersFunctionencode_image_to_base64
Convert PIL Image or file path to base64 string.
lmms-eval/lmms_eval/tasks/gedit_bench/viescore/openai_backend.py:23
↓ 1 callersMethodencode_text
(self, text, normalize: bool = False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:316
↓ 1 callersMethodencode_video
(self, video_path)
lmms-eval/lmms_eval/models/simple/gemini_api.py:116
↓ 1 callersMethodencode_video
(self, video_path)
lmms-eval/lmms_eval/models/simple/claude.py:133
↓ 1 callersMethodencode_video
(self, video_path, for_get_frames_num)
lmms-eval/lmms_eval/models/simple/openai_compatible.py:172
↓ 1 callersMethodencode_video
(self, video_path, for_get_frames_num)
lmms-eval/lmms_eval/models/simple/gpt4v.py:126
↓ 1 callersMethodencode_video
(self, video_path)
lmms-eval/lmms_eval/models/simple/reka.py:105
↓ 1 callersMethodencode_video
(self, video_path, for_get_frames_num)
lmms-eval/lmms_eval/models/simple/batch_gpt4.py:90
↓ 1 callersMethodensure_model_cache_dir
Ensure the cache directory for a given model exists, and return its path.
lmms-eval/lmms_eval/api/model.py:100
← previousnext →1,301–1,400 of 6,334, ranked by callers