MCPcopy Create free account

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

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

↓ 2 callersFunctionparse_options
(options)
lmms-eval/lmms_eval/tasks/mmmu_pro/utils.py:30
↓ 2 callersFunctionparse_options
(options)
lmms-eval/lmms_eval/tasks/mmmu_pro/reasoning/utils.py:38
↓ 2 callersFunctionparse_options
(options)
lmms-eval/lmms_eval/tasks/mmmu/utils.py:45
↓ 2 callersFunctionparse_point_2d_from_xml
Parse an (x, y) point from XML formatted like this: <point>x, y</point>
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/common/conversions.py:144
↓ 2 callersFunctionparse_score
(review)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:150
↓ 2 callersFunctionparse_subtitle_time
(time_str)
lmms-eval/lmms_eval/tasks/videomme/utils.py:90
↓ 2 callersFunctionparse_subtitle_time
(time_str)
lmms-eval/lmms_eval/tasks/videomathqa/utils.py:57
↓ 2 callersFunctionparse_subtitle_time
(time_str)
lmms-eval/lmms_eval/tasks/worldsense/utils.py:119
↓ 2 callersFunctionparse_value
(item)
lmms-eval/lmms_eval/__main__.py:65
↓ 2 callersFunctionpatch_device
(module)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/openai.py:97
↓ 2 callersFunctionpatch_float
(module)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/openai.py:121
↓ 2 callersFunctionperceptiontest_aggregate_submissions
(results, args, task)
lmms-eval/lmms_eval/tasks/perceptiontest/test/utils.py:104
↓ 2 callersFunctionpolygon_from_points
Returns a Polygon object to use with the Polygon2 class from a list of 8 points: x1,y1,x2,y2,x3,y3,x4,y4
lmms-eval/lmms_eval/tasks/ocrbench_v2/spotting_eval/script.py:78
↓ 2 callersFunctionpostprocess_rerank
(rerank, rerank_num)
lmms-eval/lmms_eval/tasks/mmsearch/utils/prompt_utils.py:70
↓ 2 callersFunctionpower_analysis
Calculate minimum sample size for paired t-test power analysis. For paired samples, the effective variance is: Var(X - Y) = Var(X) +
lmms-eval/lmms_eval/api/metrics.py:875
↓ 2 callersFunctionprepare_elo_data
(results)
lmms-eval/lmms_eval/tasks/wild_vision_bench/utils.py:230
↓ 2 callersFunctionpreprocess
(text)
lmms-eval/lmms_eval/tasks/hellaswag/utils.py:6
↓ 2 callersFunctionprint_basic_results
Print basic evaluation results in a readable format. Args: results: Evaluation results dictionary
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/io_utils.py:90
↓ 2 callersFunctionprocess
(answer)
lmms-eval/lmms_eval/tasks/llava_interleave_bench/utils.py:131
↓ 2 callersFunctionprocess
(answer)
lmms-eval/lmms_eval/tasks/mvbench/utils.py:112
↓ 2 callersFunctionprocess_anyres_image
Process an image with variable resolutions. Args: image (PIL.Image.Image): The input image to be processed. processor: The i
llava/mm_utils.py:243
↓ 2 callersMethodprocess_image
(self, image, image_process_mode, return_pil=False, image_format="PNG")
llava/conversation.py:183
↓ 2 callersFunctionprocess_images
(images, size=1008)
lmms-eval/lmms_eval/tasks/mmmu/utils_group_img.py:113
↓ 2 callersFunctionprocess_option_for_matching
(sent)
lmms-eval/lmms_eval/tasks/vitatecs/utils.py:75
↓ 2 callersFunctionprocess_results
(doc, results, categories)
lmms-eval/lmms_eval/tasks/salbench/utils.py:31
↓ 2 callersFunctionprocess_steps_data
(df, steps)
lmms-eval/lmms_eval/tasks/wemath/wemath_utils.py:5
↓ 2 callersFunctionprocess_text_and_mixed_media
(doc, max_nframes, cache_dir)
lmms-eval/lmms_eval/tasks/megabench/image_video_utils.py:92
↓ 2 callersFunctionprocess_videos
(videos, image_processor, model_cfg, num_threads=-1)
lmms-eval/lmms_eval/models/simple/cambrians.py:81
↓ 2 callersFunctionqa_template
(entry)
lmms-eval/lmms_eval/tasks/plm_videobench/fgqa/fgqa_utils.py:19
↓ 2 callersMethodquery
(self, text: str, max_results: int)
lmms-eval/lmms_eval/tasks/mmsearch/utils/utils.py:74
↓ 2 callersMethodrandom_masking
Perform per-sample random masking by per-sample shuffling. Per-sample shuffling is done by argsort random noise. x: [N, L, D]
llava/model/multimodal_resampler/masked_drop.py:56
↓ 2 callersFunctionread_image
(image_path)
lmms-eval/lmms_eval/tasks/megabench/image_video_utils.py:12
↓ 2 callersFunctionread_jsonl_records
(path: str)
playground/bench_efficiency.py:155
↓ 2 callersFunctionread_video_pyav_base64
( video_path: str, *, num_frm: int = 8, fps: Optional[float] = None, format="rgb24", i
lmms-eval/lmms_eval/models/model_utils/load_video.py:161
↓ 2 callersFunctionrealworldqa_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/realworldqa/reasoning/utils.py:10
↓ 2 callersFunctionrectangle_to_polygon
(rect)
lmms-eval/lmms_eval/tasks/ocrbench_v2/spotting_eval/script.py:101
↓ 2 callersFunctionremove_latex_math_brackets
Removes LaTeX math mode delimiters (\( ... \) and \[ ... \]) from a string while preserving the contents inside the delimiters. If no suc
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/general_numerical_match.py:149
↓ 2 callersFunctionremove_nonascii
(text)
lmms-eval/lmms_eval/tasks/youcook2/utils.py:18
↓ 2 callersFunctionremove_sp
(text, language)
lmms-eval/lmms_eval/tasks/common_voice_15/utils.py:54
↓ 2 callersFunctionremove_sp
(text)
lmms-eval/lmms_eval/tasks/gigaspeech/utils.py:58
↓ 2 callersFunctionremove_sp
(text, language)
lmms-eval/lmms_eval/tasks/people_speech/utils.py:54
↓ 2 callersFunctionremove_sp
(text, language)
lmms-eval/lmms_eval/tasks/tedlium/utils.py:54
↓ 2 callersFunctionremove_sp
(text, language)
lmms-eval/lmms_eval/tasks/fleurs/utils.py:163
↓ 2 callersFunctionremove_sp
(text, language)
lmms-eval/lmms_eval/tasks/librispeech/utils.py:66
↓ 2 callersFunctionremove_text_tags
Removes LaTeX \text{...} tags while keeping their content. :param latex_str: A string containing LaTeX expressions :return: The processe
lmms-eval/lmms_eval/tasks/ocrbench_v2/vqa_metric.py:238
↓ 2 callersFunctionreplace_images_tokens
(input_string)
lmms-eval/lmms_eval/tasks/mmvetv2/utils.py:156
↓ 2 callersMethodresample_audio
Resample the audio to the target sample rate.
lmms-eval/lmms_eval/models/simple/qwen2_5_omni.py:155
↓ 2 callersMethodreset_classifier
(self, num_classes, global_pool="")
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:525
↓ 2 callersFunctionresize2predefined
(blocks, scale)
lmms-eval/lmms_eval/tasks/mmsearch/utils/image_utils.py:91
↓ 2 callersFunctionrotate_half
Rotates half the hidden dims of the input.
llava/model/language_model/modeling_llama.py:167
↓ 2 callersFunctionrotate_half
(x)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:30
↓ 2 callersFunctionrun_dataset_phase
( samples: list[dict[str, Any]], tokenizer, model, image_processor, args: BenchmarkArgs,
playground/bench_efficiency.py:472
↓ 2 callersFunctionsanitize_list
Takes possible nested list and recursively converts all inner component to strings
lmms-eval/lmms_eval/utils.py:132
↓ 2 callersFunctionsanitize_task_name
Given the task name, returns a sanitized version of it.
lmms-eval/lmms_eval/utils.py:335
↓ 2 callersFunctionsave_json_results
Save evaluation results as JSON. Args: results: Evaluation results dictionary output_path: Path to save the results to
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/io_utils.py:33
↓ 2 callersFunctionsave_result_to_cache
(doc, round_res, previous_round_info, save_dir)
lmms-eval/lmms_eval/tasks/mmsearch/utils/lmms_eval_utils.py:5
↓ 2 callersFunctionscan_directory
(directory: Path)
lmms-eval/lmms_eval/tui/discovery.py:16
↓ 2 callersMethodscore_answer
(self, question, answer, model_response, quick_match=False)
lmms-eval/lmms_eval/tasks/mathverse/mathverse_evals.py:92
↓ 2 callersFunctionscroll_full_page
(page, max_height=10000)
lmms-eval/lmms_eval/tasks/mmsearch/utils/utils.py:299
↓ 2 callersFunctionselect_best_resolution
Selects the best resolution from a list of possible resolutions based on the original size. Args: original_size (tuple): The origina
llava/mm_utils.py:119
↓ 2 callersFunctionsend_to_gemini
Send prompt and images to Gemini API for evaluation Args: prompt: Evaluation prompt image_paths: List of image file paths to
lmms-eval/lmms_eval/tasks/ueval/utils.py:114
↓ 2 callersFunctionseparate_text_and_latex
(text)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/latex_expr_equality.py:49
↓ 2 callersMethodset_grad_checkpointing
(self, enable=True)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:249
↓ 2 callersFunctionsimple_parse
Parse the prediction string to extract the answer. Args: predict_str (str): The prediction string to be parsed. Returns: str
lmms-eval/lmms_eval/tasks/_task_utils/reasoning_utils.py:182
↓ 2 callersFunctionspatial_doc_to_text_image
(doc, lmmseval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/sitebench/utils.py:101
↓ 2 callersFunctionspatial_doc_to_text_video
(doc, lmmseval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/sitebench/utils.py:121
↓ 2 callersFunctionspatial_doc_to_visual_image
(doc)
lmms-eval/lmms_eval/tasks/sitebench/utils.py:89
↓ 2 callersMethodsplit_by_comma
(self, expr: str)
lmms-eval/lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:43
↓ 2 callersMethodsplit_by_comma
(self, expr: str)
lmms-eval/lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:41
↓ 2 callersMethodstart
Start the evaluation server. Args: timeout: Maximum seconds to wait for server to be ready Returns:
lmms-eval/test/eval/utils.py:148
↓ 2 callersMethodstem
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/modified_resnet.py:164
↓ 2 callersFunctionstr_to_coords
(coord_list, dim=2)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/common/conversions.py:123
↓ 2 callersMethodstrip_changes
Strips off the changes.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:666
↓ 2 callersMethodstrip_changes
Strips off the changes.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:681
↓ 2 callersFunctionsummarize
(bucket)
lmms-eval/lmms_eval/tasks/scivideobench/utils.py:171
↓ 2 callersFunctionsummarize_phase_records
(records: list[dict[str, Any]])
playground/bench_efficiency.py:172
↓ 2 callersMethodsympy_sub_pi
(self, expression_sympy)
lmms-eval/lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:128
↓ 2 callersMethodsympy_sub_pi
(self, expression_sympy)
lmms-eval/lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:126
↓ 2 callersMethodtelephone2chntext
(self, fixed=False)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:783
↓ 2 callersFunctiontimestamp_to_seconds
(timestamp)
lmms-eval/lmms_eval/tasks/longvideobench/utils.py:17
↓ 2 callersFunctionto_float
(pred)
lmms-eval/lmms_eval/tasks/sparbench/utils.py:270
↓ 2 callersFunctionto_float
(pred)
lmms-eval/lmms_eval/tasks/vsibench/utils.py:105
↓ 2 callersFunctiontoggleTask
(taskId: string)
lmms-eval/lmms_eval/tui/web/src/App.tsx:456
↓ 2 callersMethodtok_encode
lmms-eval/lmms_eval/models/simple/llava_onevision.py:280
↓ 2 callersFunctiontokenize
(text)
lmms-eval/lmms_eval/tasks/wenet_speech/utils.py:25
↓ 2 callersFunctiontokenize
Tokenize the text and return the tokens. Parameters: text (str): The text to tokenize. language (str): The language of the text.
lmms-eval/lmms_eval/tasks/vcr_wiki/utils.py:82
↓ 2 callersMethodtokenize
(self, sent: str)
lmms-eval/lmms_eval/tasks/common_voice_15/utils.py:117
↓ 2 callersMethodtokenize
(self, sent: str)
lmms-eval/lmms_eval/tasks/gigaspeech/utils.py:121
↓ 2 callersMethodtokenize
(self, sent: str)
lmms-eval/lmms_eval/tasks/people_speech/utils.py:117
↓ 2 callersMethodtokenize
(self, sent: str)
lmms-eval/lmms_eval/tasks/librispeech/utils.py:131
↓ 2 callersMethodtokenize
(self, sent: str)
lmms-eval/lmms_eval/tasks/open_asr/utils.py:130
↓ 2 callersMethodtraining_docs
:return: Iterable[obj] A iterable of any object, that doc_to_text can handle
lmms-eval/lmms_eval/api/task.py:310
↓ 2 callersMethodtrans_plus_minus_sign
(self, expr_list: list)
lmms-eval/lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:62
↓ 2 callersMethodtrans_plus_minus_sign
(self, expr_list: list)
lmms-eval/lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:60
↓ 2 callersFunctionuniform_sample
(m, n)
lmms-eval/lmms_eval/tasks/plm_videobench/eval_utils.py:241
↓ 2 callersFunctionupdate_accuracy_metrics
Update accuracy metrics for all settings. Args: results: Results dictionary to update Returns: Updated results dictionary
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/base_metrics.py:63
↓ 2 callersFunctionvalidate_clockwise_points
Validates that the points are in clockwise order.
lmms-eval/lmms_eval/tasks/ocrbench_v2/spotting_eval/rrc_evaluation_funcs_1_1.py:310
↓ 2 callersFunctionvalidate_cogmap_format
Validate if a cognitive map has the correct format. Args: cogmap: The cognitive map to validate Returns: Tuple of (is_valid,
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:112
↓ 2 callersFunctionvcr_aggregate_results
Args: results: List[List[Dict]], list of results returned by process_results Returns: A float value representing the final sc
lmms-eval/lmms_eval/tasks/vcr_wiki/utils.py:274
↓ 2 callersFunctionvcr_process_results_single
Args: doc: an instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case
lmms-eval/lmms_eval/tasks/vcr_wiki/utils.py:99
← previousnext →801–900 of 6,334, ranked by callers