MCPcopy Create free account

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

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

↓ 2 callersFunctiondynamic_preprocess
(image, min_num=1, max_num=6, image_size=448, use_thumbnail=False)
lmms-eval/lmms_eval/models/simple/internvideo2_5.py:62
↓ 2 callersFunctiondynamic_preprocess
Dynamically preprocess an image by splitting it into tiles. Args: image: Input PIL Image to process. min_num: Minimum number of t
lmms-eval/lmms_eval/models/simple/internvl3.py:87
↓ 2 callersFunctionegoschema_aggregate_submissions
(results, args, task)
lmms-eval/lmms_eval/tasks/egoschema/utils.py:191
↓ 2 callersMethodencode_audio_to_base64_wav
Convert audio numpy array to base64-encoded WAV format. Args: audio_array: Audio data as numpy array samplin
lmms-eval/lmms_eval/models/whisper_tt.py:110
↓ 2 callersMethodencode_image
(self, image: Union[Image.Image, str])
lmms-eval/lmms_eval/models/simple/openai_compatible.py:148
↓ 2 callersMethodencode_image
(self, image: Union[Image.Image, str])
lmms-eval/lmms_eval/models/simple/gpt4v.py:102
↓ 2 callersMethodencode_image
(self, image: Image)
lmms-eval/lmms_eval/models/simple/srt_api.py:121
↓ 2 callersMethodencode_text
(self, text, normalize: bool = False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:261
↓ 2 callersMethodencode_video
(self, video_path, for_get_frames_num)
lmms-eval/lmms_eval/models/simple/srt_api.py:129
↓ 2 callersFunctionensure_dir
Ensure directory exists, create if it doesn't. Args: dir_path: Directory path to create
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/utils/io_utils.py:72
↓ 2 callersFunctioneval_models
(args, branch=None)
lmms-eval/tools/regression.py:45
↓ 2 callersFunctioneval_multi_choice
(gold_i, pred_i)
lmms-eval/lmms_eval/tasks/videommmu/utils.py:259
↓ 2 callersFunctioneval_multi_choice
Evaluate a multiple choice instance. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#
lmms-eval/lmms_eval/tasks/jmmmu_pro/utils.py:354
↓ 2 callersFunctioneval_multi_choice
Evaluate a multiple choice instance. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#
lmms-eval/lmms_eval/tasks/mmmu_pro/utils.py:215
↓ 2 callersFunctioneval_multi_choice
Evaluate a multiple choice instance. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#
lmms-eval/lmms_eval/tasks/mmmu_pro/reasoning/utils.py:236
↓ 2 callersMethodeval_result
Parameters: - args: Arguments. - results: Results to evaluate. - eval_method: The evaluation method. either "openai".
lmms-eval/lmms_eval/tasks/mmupd/mmupd_evals.py:508
↓ 2 callersFunctioneval_tuple
Evaluates the mathematical expressions within tuples or lists represented as strings. Args: s (str): The string representation of a
lmms-eval/lmms_eval/tasks/mathvision/eval_utils.py:39
↓ 2 callersFunctioneval_web_caption
(preds, golds, **kwargs)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:127
↓ 2 callersFunctionevaluate
Unified evaluation interface with automatic mode selection. Args: jsonl_path: Path to JSONL file with model responses task_type:
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/evaluator.py:113
↓ 2 callersMethodevaluate
Run complete cognitive map evaluation. Args: jsonl_path: Path to JSONL file with model responses output_path: Optiona
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:63
↓ 2 callersFunctionevaluate_FALCONbench_temporal_localization
(results)
lmms-eval/lmms_eval/tasks/FALCONBench/utils.py:531
↓ 2 callersFunctionevaluate_by_chatgpt
(data, output_entry, correctness_entry, gpt_model="gpt-4", load_json=False, save_json_path="./hallusion_output
lmms-eval/lmms_eval/tasks/hallusion_bench/utils.py:29
↓ 2 callersFunctionevaluate_detections
(predicted_segments, gt_segments, iou_thresholds=(0.3, 0.5, 0.7, 0.9))
lmms-eval/lmms_eval/tasks/plm_videobench/eval_utils.py:30
↓ 2 callersFunctionevaluate_jmmmu_pro
Batch evaluation for multiple choice questions. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eva
lmms-eval/lmms_eval/tasks/jmmmu_pro/utils.py:372
↓ 2 callersFunctionevaluate_q_bench
(samples)
lmms-eval/lmms_eval/tasks/qbench/utils.py:103
↓ 2 callersMethodevaluate_scores
(self)
lmms-eval/lmms_eval/tasks/capability/utils.py:501
↓ 2 callersFunctionevaluate_temporal_localization
(pred_interval, gt_interval)
lmms-eval/lmms_eval/tasks/FALCONBench/utils.py:493
↓ 2 callersMethodexpression_equal
(self, exp1, exp2)
lmms-eval/lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:184
↓ 2 callersMethodexpression_equal
(self, exp1, exp2)
lmms-eval/lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:182
↓ 2 callersFunctionextract_answer
(response, id)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:306
↓ 2 callersFunctionextract_answer
Extract the answer from model response text using regular expressions. Returns the last occurrence of the letter of the answer (A, B, C, D, or E)
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/extractors.py:14
↓ 2 callersFunctionextract_anwser_tag
Extract the answer tag from the prediction string. This function now handles both <answer> tags and \boxed{} format. Args: predict_s
lmms-eval/lmms_eval/tasks/_task_utils/reasoning_utils.py:119
↓ 2 callersFunctionextract_boxed_answer
Extract the answer from \boxed{} format. Args: predict_str (str): The prediction string containing the boxed answer. Returns:
lmms-eval/lmms_eval/tasks/_task_utils/reasoning_utils.py:70
↓ 2 callersFunctionextract_characters_regex
(s)
lmms-eval/lmms_eval/tasks/videomathqa/utils.py:200
↓ 2 callersFunctionextract_first_number
(string)
lmms-eval/lmms_eval/tasks/ocrbench_v2/vqa_metric.py:150
↓ 2 callersFunctionextract_json_from_text
Extract JSON cognitive map from text response. Returns the JSON object if found, otherwise None. Args: text: Text containing a JSON o
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/parse_output.py:141
↓ 2 callersFunctionextract_objects_with_extended_info
Extract objects with position and facing information. Handles both complex and simple formats. Args: cog_map: The cognitive map
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/graph_operations.py:184
↓ 2 callersFunctionextract_option
(text)
lmms-eval/lmms_eval/tasks/viewspatial/utils.py:40
↓ 2 callersFunctionextract_patches
(image, patch_size, overlap_ratio)
llava/mm_utils.py:63
↓ 2 callersFunctionextract_subtitles
(video_path, subtitle_path)
lmms-eval/lmms_eval/tasks/videomathqa/utils.py:83
↓ 2 callersFunctionfast_extract_answer
(response)
lmms-eval/lmms_eval/tasks/stare/utils.py:268
↓ 2 callersFunctionfast_extract_answer
https://github.com/EMMA-Bench/EMMA/blob/main/evaluation/evaluate.py#L11
lmms-eval/lmms_eval/tasks/emma/utils.py:328
↓ 2 callersMethodfeature_select
(self, image_forward_outs)
llava/model/multimodal_encoder/open_clip_encoder.py:63
↓ 2 callersMethodfeature_select
(self, image_forward_outs)
llava/model/multimodal_encoder/hf_vision.py:45
↓ 2 callersMethodfeature_select
(self, image_features)
llava/model/multimodal_encoder/dev_eva_clip/eva_vit.py:78
↓ 2 callersFunctionfind_blank_block
(arr, thresh_gradsum, thresh_length)
lmms-eval/lmms_eval/tasks/mmsearch/utils/image_utils.py:81
↓ 2 callersFunctionfind_closest_aspect_ratio
(aspect_ratio, target_ratios, width, height, image_size)
lmms-eval/lmms_eval/models/simple/minimonkey.py:235
↓ 2 callersFunctionfind_string_occurrences_with_variations
(text, search_string)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:158
↓ 2 callersFunctionfind_word_position
(string, word)
lmms-eval/lmms_eval/tasks/camerabench_vqa/utils.py:122
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/slime.py:279
↓ 2 callersMethodflatten
(input_list)
lmms-eval/lmms_eval/models/simple/cambrian.py:228
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/llava.py:279
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/oryx.py:319
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/ross.py:279
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/srt_api.py:159
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/qwen3_vl.py:215
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/longva.py:329
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/vila.py:277
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/video_chatgpt.py:99
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/qwen2_5_vl.py:215
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/qwen_vl.py:177
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/auroracap.py:313
↓ 2 callersMethodflatten
(self, input)
lmms-eval/lmms_eval/models/simple/tinyllava.py:186
↓ 2 callersMethodflatten
(self, input, only_get_first=False)
lmms-eval/lmms_eval/models/simple/fuyu.py:145
↓ 2 callersMethodflush
(self)
llava/utils.py:157
↓ 2 callersFunctionformat_value
(args, results, model, task)
lmms-eval/tools/regression.py:110
↓ 2 callersMethodforward
(self, x)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:205
↓ 2 callersMethodforward_features
(self, x, return_all_features=False)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:665
↓ 2 callersMethodforward_visual
(self, x, output_hidden_states=False)
llava/model/multimodal_encoder/open_clip_encoder.py:75
↓ 2 callersFunctionfunqa_aggregate_results
(results, metric, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:301
↓ 2 callersFunctionfuzzy_matching
(pred)
lmms-eval/lmms_eval/tasks/vsibench/utils.py:80
↓ 2 callersFunctiongenerate_combinations
Function to generate all possible combinations of values from a dictionary.
lmms-eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:330
↓ 2 callersMethodget_acc_with_contion
Calculate the accuracy of predictions with a specific condition
lmms-eval/lmms_eval/tasks/mathvista/mathvista_evals.py:337
↓ 2 callersFunctionget_anls
(s1, s2)
lmms-eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:521
↓ 2 callersFunctionget_anyres_image_grid_shape
Calculate the shape of the image patch grid after the preprocessing for images of any resolution. Args: image_size (tuple): The size
llava/mm_utils.py:213
↓ 2 callersFunctionget_cache_dir
(config, sub_dir="videos")
lmms-eval/lmms_eval/tasks/_task_utils/video_loader.py:4
↓ 2 callersFunctionget_caption_judge_prompt
(gt, pred)
lmms-eval/lmms_eval/tasks/plm_videobench/eval_utils.py:154
↓ 2 callersFunctionget_cast_dtype
(precision: str)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:116
↓ 2 callersMethodget_cast_dtype
(self)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:473
↓ 2 callersFunctionget_chat_response
( prompt, model=MODEL_VERSION, temperature=0.0, max_tokens=128, patience=3, sleep_time
lmms-eval/lmms_eval/tasks/mmvetv2/utils.py:206
↓ 2 callersFunctionget_chat_response
(prompt, model=MODEL_VERSION, temperature=0.0, max_tokens=128, patience=3, sleep_time=5)
lmms-eval/lmms_eval/tasks/mmvet/utils.py:40
↓ 2 callersMethodget_chunks
Divides an iterable into chunks of specified size or based on a given function. Useful for batching Parameters: - it
lmms-eval/lmms_eval/utils.py:1150
↓ 2 callersFunctionget_column_value
(doc, candidates)
lmms-eval/lmms_eval/tasks/wenet_speech/utils.py:18
↓ 2 callersFunctionget_commit_from_path
(repo_path: Union[Path, str])
lmms-eval/lmms_eval/loggers/utils.py:63
↓ 2 callersMethodget_context
(self, doc, num_fewshot)
lmms-eval/lmms_eval/api/samplers.py:20
↓ 2 callersFunctionget_discovery_cache
()
lmms-eval/lmms_eval/tui/discovery.py:187
↓ 2 callersFunctionget_eval
(question, answer, pred, max_tokens: int, retries: int = 5)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:85
↓ 2 callersFunctionget_eval
(max_tokens: int, content: str, retries: int = retries)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:74
↓ 2 callersMethodget_extended_attention_mask
Makes broadcastable attention and causal masks so that future and masked tokens are ignored. Arguments: attention_mask (
llava/model/multimodal_resampler/qformer.py:651
↓ 2 callersFunctionget_f1_score
(a_pred, a_gold)
lmms-eval/lmms_eval/tasks/mmsearch/score/f1_score.py:34
↓ 2 callersFunctionget_file_task_name
Given the sample results filenames, extracts and returns the task name.
lmms-eval/lmms_eval/utils.py:309
↓ 2 callersFunctionget_filter
(filter_name)
lmms-eval/lmms_eval/filters/__init__.py:22
↓ 2 callersMethodget_function_list
Connect to the MCP server and retrieve the list of available functions.
lmms-eval/lmms_eval/mcp/client.py:18
↓ 2 callersFunctionget_gt
(doc)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:271
↓ 2 callersMethodget_instruction_args
Returns the keyward args of `build_description`.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:850
↓ 2 callersFunctionget_key_subresponses
(response)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:319
↓ 2 callersFunctionget_metric
(name: str, hf_evaluate_metric=False)
lmms-eval/lmms_eval/api/registry.py:116
↓ 2 callersFunctionget_number_instruction
(answer)
lmms-eval/lmms_eval/tasks/charxiv/reasoning_utils.py:59
↓ 2 callersFunctionget_pairs
Return set of symbol pairs in a word. Word is represented as tuple of symbols (symbols being variable-length strings).
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/tokenizer.py:50
↓ 2 callersFunctionget_popular_models
()
lmms-eval/lmms_eval/tui/discovery.py:129
← previousnext →601–700 of 6,334, ranked by callers