MCPcopy Create free account

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

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

↓ 1 callersFunctioncalculate_ins_level_acc
Calculate the instruction level accuracy for given Subject results https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c35
lmms-eval/lmms_eval/tasks/longvideobench/utils.py:260
↓ 1 callersFunctioncalculate_ins_level_acc_score
Calculate the instruction level accuracy for given Subject results https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c35
lmms-eval/lmms_eval/tasks/FALCONBench/utils.py:340
↓ 1 callersFunctioncalculate_iou
(range_1, range_2)
lmms-eval/lmms_eval/tasks/plm_videobench/eval_utils.py:19
↓ 1 callersFunctioncalculate_metrics
(merged_2steps, merged_3steps)
lmms-eval/lmms_eval/tasks/wemath/wemath_utils.py:18
↓ 1 callersFunctioncalculate_model_summary
Re-calculate model performance summary statistics across core and open tasks. Args: task_results: List of task results with scores
lmms-eval/lmms_eval/tasks/megabench/breakdown/derive_breakdown_results.py:8
↓ 1 callersFunctioncalculate_multiple_choice_f1
计算多选题F1分数
lmms-eval/lmms_eval/tasks/snsbench/metrics.py:52
↓ 1 callersFunctioncalculate_node_score
(node)
lmms-eval/lmms_eval/tasks/spatialtreebench/utils.py:309
↓ 1 callersFunctioncalculate_proximity_score
Calculate the proximity score based on the location. Exponentially decreases depending on the distance. Args: guess_coords (float, f
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/geo_proximity.py:107
↓ 1 callersFunctioncalculate_score_backward_realtime
(results)
lmms-eval/lmms_eval/tasks/ovobench/score_utils/score.py:2
↓ 1 callersFunctioncalculate_score_forward
(results)
lmms-eval/lmms_eval/tasks/ovobench/score_utils/score.py:21
↓ 1 callersFunctioncalculate_semantic_similarity
计算答案和模型输出的语义相似度分数
lmms-eval/lmms_eval/tasks/snsbench/metrics.py:82
↓ 1 callersMethodcalculate_stability_metrics
Calculate model stability metrics (EA, CA, IV, CR) when num_samples > 1. These metrics measure model consistency across multiple samples per
lmms-eval/lmms_eval/evaluator_utils.py:164
↓ 1 callersFunctioncalculate_three_level_accuracy
计算三级准确率(词级别匹配)
lmms-eval/lmms_eval/tasks/snsbench/metrics.py:29
↓ 1 callersFunctioncalculate_token_throughput
Calculate the token throughput. Args: token_count (int): The number of tokens processed. duration (float): The time taken to
lmms-eval/lmms_eval/models/model_utils/gen_metrics.py:17
↓ 1 callersMethodcall_gpt
(self, system_prompt, user_prompt)
lmms-eval/lmms_eval/tasks/capability/utils.py:435
↓ 1 callersFunctioncall_llm_judge
Call the LLM judge for a single prompt using direct HTTP request. The judge server is started by lmms-eval's eval_server_launcher. Usage
lmms-eval/lmms_eval/tasks/captionqa/utils.py:328
↓ 1 callersMethodcan_infer_option
(self, answer, choices)
lmms-eval/lmms_eval/tasks/hrbench/hrbench_evals.py:42
↓ 1 callersMethodcan_infer_option
(self, answer, option_dict, question_type=None, valid_option=None)
lmms-eval/lmms_eval/tasks/mmupd/mmupd_evals.py:329
↓ 1 callersMethodcan_infer_option
(self, answer, num_choice=5)
lmms-eval/lmms_eval/tasks/mmbench/mmbench_evals.py:79
↓ 1 callersMethodcan_infer_text
(self, answer, choices)
lmms-eval/lmms_eval/tasks/hrbench/hrbench_evals.py:78
↓ 1 callersMethodcan_infer_text
(self, answer, choices)
lmms-eval/lmms_eval/tasks/mmbench/mmbench_evals.py:107
↓ 1 callersMethodcancel_job
Cancel a queued job. Args: job_id: The job ID to cancel Returns: Dict with cancellation message
lmms-eval/lmms_eval/entrypoints/client.py:209
↓ 1 callersFunctioncaption_to_words
Input: caption Output: MSCOCO words in the caption
lmms-eval/lmms_eval/tasks/coco_cap_chair/utils.py:906
↓ 1 callersFunctioncharxiv_descriptive_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:60
↓ 1 callersFunctioncharxiv_descriptive_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/charxiv/reasoning/utils.py:78
↓ 1 callersFunctioncharxiv_reasoning_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:28
↓ 1 callersFunctioncharxiv_reasoning_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/charxiv/reasoning/utils.py:27
↓ 1 callersFunctionchased_dp_assignment
dp matching from https://github.com/fujiso/SODA/blob/master/soda.py.
lmms-eval/lmms_eval/tasks/plm_videobench/eval_utils.py:89
↓ 1 callersFunctionchat_compeletion_openai
(model, messages, temperature, max_tokens)
lmms-eval/lmms_eval/tasks/egothink/utils.py:75
↓ 1 callersFunctioncheck_ans
Check if the predicted answer matches the ground truth answer. Args: pred (str): The predicted answer. gt (str): The ground
lmms-eval/lmms_eval/tasks/plm_videobench/fgqa/fgqa_utils.py:84
↓ 1 callersFunctioncheck_constraint
(response, constraint, constraint_val)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:276
↓ 1 callersFunctioncheck_dangerous_code
Performs a basic static analysis to detect dangerous patterns in the code. Returns True if dangerous patterns are found, False otherwise.
lmms-eval/lmms_eval/models/model_utils/thyme/sandbox.py:52
↓ 1 callersMethodcheck_following
(self, value)
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:835
↓ 1 callersFunctioncheck_is_number
(string)
lmms-eval/lmms_eval/tasks/videommmu/utils.py:433
↓ 1 callersFunctioncheck_is_number
(string)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:280
↓ 1 callersFunctioncheck_is_number
Check if the given string a number. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#L
lmms-eval/lmms_eval/tasks/jmmmu/utils.py:349
↓ 1 callersFunctioncheck_is_number
Check if the given string a number. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#L
lmms-eval/lmms_eval/tasks/mmmu_pro/utils.py:381
↓ 1 callersFunctioncheck_is_number
Check if the given string a number. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#L
lmms-eval/lmms_eval/tasks/mmmu_pro/reasoning/utils.py:402
↓ 1 callersFunctioncheck_is_number
Check if the given string a number. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#L
lmms-eval/lmms_eval/tasks/mmmu/utils.py:482
↓ 1 callersFunctioncheck_is_number
Check if the given string a number. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#L
lmms-eval/lmms_eval/tasks/mmmu/utils_group_img.py:462
↓ 1 callersFunctioncheck_is_number
Check if the given string a number. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#L
lmms-eval/lmms_eval/tasks/mmmu/reasoning/utils.py:405
↓ 1 callersFunctioncheck_is_number
Check if the given string a number. https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c3508794/eval/eval_utils.py#L
lmms-eval/lmms_eval/tasks/mirb/utils.py:65
↓ 1 callersFunctioncheck_pre_conds_satisfy
(current_state, pre_conds, param_to_obj)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/symbolic_planning.py:173
↓ 1 callersFunctioncheck_rotation_invariant_isomorphism
Check if generated relations are isomorphic to ground truth relations. Args: gen_relations: Generated relation matrix ground_rela
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:457
↓ 1 callersFunctioncheck_strict
(instruction_ids, kwargs_list, prompt, response)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:1497
↓ 1 callersFunctioncheck_web_built
()
lmms-eval/lmms_eval/tui/cli.py:27
↓ 1 callersMethodclass_impl
(self)
lmms-eval/lmms_eval/tasks/megabench/metrics/metric_type.py:121
↓ 1 callersFunctionclean_and_parse_json
Attempt to clean and parse a malformed JSON string. Args: json_str: A potentially malformed JSON string Returns: Parsed JSON
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/parse_output.py:174
↓ 1 callersFunctionclean_and_parse_json
Attempt to clean and parse a malformed JSON string. Args: json_str: A potentially malformed JSON string Returns: Parsed JSON
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/extractors.py:128
↓ 1 callersFunctionclean_response
(resp: str)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:1469
↓ 1 callersFunctionclean_text
(text)
lmms-eval/lmms_eval/tasks/mmsearch/utils/web_content_utils.py:6
↓ 1 callersFunctionclean_units
Clean the units in the number.
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/general_numerical_match.py:88
↓ 1 callersMethodcleanup
(self)
playground/bench_efficiency.py:329
↓ 1 callersMethodcleanup_old_jobs
Remove old completed/failed/cancelled jobs to prevent memory leak. Keeps at most `max_completed_jobs` finished jobs, removing oldest
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:188
↓ 1 callersFunctioncli_evaluate
(args: Union[argparse.Namespace, None] = None)
lmms-eval/lmms_eval/__main__.py:439
↓ 1 callersFunctioncli_evaluate_single
(args: Union[argparse.Namespace, None] = None)
lmms-eval/lmms_eval/__main__.py:541
↓ 1 callersMethodclose
(self)
lmms-eval/lmms_eval/entrypoints/client.py:327
↓ 1 callersFunctionclustered_stderr
Calculate clustered standard error for non-independent samples. When multiple questions share the same context (e.g., same image/video),
lmms-eval/lmms_eval/api/metrics.py:761
↓ 1 callersFunctioncn_math_expression_evaluation
(predict, answers)
lmms-eval/lmms_eval/tasks/ocrbench_v2/vqa_metric.py:253
↓ 1 callersFunctioncn_vqa_evaluation
(predict, answers)
lmms-eval/lmms_eval/tasks/ocrbench_v2/vqa_metric.py:66
↓ 1 callersFunctioncollect_task_metadata
Collect task metadata for a model's results using the all_task_meta.json file
lmms-eval/lmms_eval/tasks/megabench/breakdown/analysis_utils.py:75
↓ 1 callersFunctioncompare_two_list
(pred, gt)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/general_numerical_match.py:57
↓ 1 callersFunctioncompute_accuracy
Check if IoU meets the specified threshold.
lmms-eval/lmms_eval/tasks/groundingme/utils.py:236
↓ 1 callersFunctioncompute_averages_from_task_scores
(task_score, groups)
lmms-eval/lmms_eval/tasks/mirb/utils.py:297
↓ 1 callersFunctioncompute_baseline_comparison
Compute paired t-test comparison between current and baseline.
lmms-eval/lmms_eval/evaluator_utils.py:607
↓ 1 callersFunctioncompute_bleu_en
(refs, hyps)
lmms-eval/lmms_eval/tasks/covost2/utils.py:84
↓ 1 callersFunctioncompute_bleu_zh
(refs, hyps)
lmms-eval/lmms_eval/tasks/covost2/utils.py:97
↓ 1 callersFunctioncompute_center_accuracy
Check if the center point of box2 is within box1.
lmms-eval/lmms_eval/tasks/groundingme/utils.py:241
↓ 1 callersFunctioncompute_final_scores
(metrics, total_count)
lmms-eval/lmms_eval/tasks/wemath/wemath_utils.py:37
↓ 1 callersFunctioncompute_frame_timestamps
(duration, max_num_frames=16)
lmms-eval/lmms_eval/tasks/longvideobench/utils.py:44
↓ 1 callersFunctioncompute_iou
Compute the Intersection over Union (IoU) of two bounding boxes. Parameters: - box1 (list of float): Bounding box [x_min, y_min, x_max,
lmms-eval/lmms_eval/tasks/refcoco+/utils_rec.py:95
↓ 1 callersFunctioncompute_iou
Compute the Intersection over Union (IoU) of two bounding boxes. Parameters: - box1 (list of float): Bounding box [x_min, y_min, x_max,
lmms-eval/lmms_eval/tasks/refcoco/utils_rec.py:95
↓ 1 callersFunctioncompute_iou
Compute the Intersection over Union (IoU) of two bounding boxes. Parameters: - box1 (list of float): Bounding box [x_min, y_min, x_max,
lmms-eval/lmms_eval/tasks/screenspot/utils_rec.py:58
↓ 1 callersFunctioncompute_iou
Compute Intersection over Union (IoU) of two bounding boxes [x_min, y_min, x_max, y_max].
lmms-eval/lmms_eval/tasks/groundingme/utils.py:214
↓ 1 callersFunctioncompute_iou
Compute the Intersection over Union (IoU) of two bounding boxes. Parameters: - box1 (list of float): Bounding box [x_min, y_min, x_max,
lmms-eval/lmms_eval/tasks/refcocog/utils_rec.py:95
↓ 1 callersFunctioncompute_mer
(ref, hyp)
lmms-eval/lmms_eval/tasks/wenet_speech/utils.py:61
↓ 1 callersFunctioncompute_mle_elo
(df, baseline, SCALE=400, BASE=10, INIT_RATING=1000)
lmms-eval/lmms_eval/tasks/wild_vision_bench/utils.py:237
↓ 1 callersFunctioncompute_score
(gt_data, res_data, res_file, tokenizer, llm, sampling_params, bs=64)
lmms-eval/lmms_eval/tasks/videomathqa/cot_step_evaluation.py:110
↓ 1 callersMethodcompute_score_with_ext
(self, solution_str: str, ground_truth)
lmms-eval/lmms_eval/tasks/_task_utils/math_verify_utils.py:177
↓ 1 callersFunctioncompute_value
Compute the value. When current unit is larger than previous unit, current unit * all previous units will be used as all previous u
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:615
↓ 1 callersFunctioncompute_vci_metric
(pred, answer)
lmms-eval/lmms_eval/tasks/sparbench/utils.py:151
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
lmms-eval/lmms_eval/tasks/common_voice_15/utils.py:132
↓ 1 callersFunctioncompute_wer
(refs, hyps)
lmms-eval/lmms_eval/tasks/gigaspeech/utils.py:136
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
lmms-eval/lmms_eval/tasks/people_speech/utils.py:132
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
lmms-eval/lmms_eval/tasks/tedlium/utils.py:132
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
lmms-eval/lmms_eval/tasks/fleurs/utils.py:241
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
lmms-eval/lmms_eval/tasks/librispeech/utils.py:146
↓ 1 callersFunctionconcatenate_images_horizontal
(image_list)
lmms-eval/lmms_eval/tasks/mmvetv2/utils.py:58
↓ 1 callersFunctionconcatenate_images_horizontal
(image_list)
lmms-eval/lmms_eval/tasks/mmmu/utils_group_img.py:46
↓ 1 callersFunctionconcatenate_images_vertical
(image_list)
lmms-eval/lmms_eval/tasks/mmvetv2/utils.py:79
↓ 1 callersFunctionconcatenate_images_vertical
(image_list)
lmms-eval/lmms_eval/tasks/mmmu/utils_group_img.py:67
↓ 1 callersFunctionconsensus_accuracy
Calculate Consensus Accuracy (CA) via majority voting. For each question, take the majority vote across k samples. CA = fraction of ques
lmms-eval/lmms_eval/api/metrics.py:688
↓ 1 callersFunctionconsistency_rate
Calculate Consistency Rate (CR) - fraction of questions with consistent answers. A question is consistent if all k samples give the same ans
lmms-eval/lmms_eval/api/metrics.py:737
↓ 1 callersFunctionconsolidate_ckpt
(src_path, dst_path)
llava/model/consolidate.py:14
↓ 1 callersFunctionconsolidate_group_results
(Recursively) calculates groups' aggregated metrics and updates the results and versions dictionaries with this info. @return: a tuple [resu
lmms-eval/lmms_eval/evaluator_utils.py:458
↓ 1 callersFunctionconsolidate_results
@param eval_tasks: list(TaskOutput). @return: A tuple containing the consolidated results, samples, configs, versions, and num_fewshot.
lmms-eval/lmms_eval/evaluator_utils.py:382
↓ 1 callersMethodconstruct_interleaved_input
(self, content, media)
lmms-eval/lmms_eval/models/simple/gemini_api.py:139
↓ 1 callersFunctionconstruct_param_to_obj
(domain, action)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/symbolic_planning.py:150
↓ 1 callersFunctionconstruct_prompt
(doc)
lmms-eval/lmms_eval/tasks/websrc/utils.py:16
↓ 1 callersFunctionconstruct_question_prompt
Construct the question prompt for evaluation
lmms-eval/lmms_eval/tasks/mmvu/utils.py:119
← previousnext →1,201–1,300 of 6,334, ranked by callers