MCPcopy Create free account

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

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

↓ 1 callersFunction_print_dataset_summary
(summary: dict[str, Any])
playground/bench_efficiency.py:528
↓ 1 callersFunction_print_header
(args: BenchmarkArgs)
playground/bench_efficiency.py:512
↓ 1 callersMethod_print_results
Print results with cognitive map specific information.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:375
↓ 1 callersMethod_quick_compare
(self, response_expr, answer_expr, tol=1e-6)
lmms-eval/lmms_eval/tasks/seephys/seephys_evals.py:331
↓ 1 callersFunction_remove_right_units
(string)
lmms-eval/lmms_eval/tasks/mathvision/eval_utils.py:289
↓ 1 callersMethod_remove_unpickable_values
(self, dictionary)
lmms-eval/lmms_eval/models/chat/thyme.py:430
↓ 1 callersMethod_resolve_model_name_for_cache
Best-effort resolution of a human-readable model identifier for cache naming. Checks common attributes; falls back to class name.
lmms-eval/lmms_eval/api/model.py:68
↓ 1 callersFunction_rgba_to_rgb
(image)
lmms-eval/lmms_eval/tasks/megabench/image_video_utils.py:22
↓ 1 callersMethod_run_evaluation
Run evaluation in a subprocess using accelerate/torchrun. This allows GPU-based evaluation to run in a separate process whil
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:302
↓ 1 callersFunction_run_power_analysis
Run power analysis to calculate minimum sample size for detecting a given effect.
lmms-eval/lmms_eval/__main__.py:111
↓ 1 callersMethod_safe_to_dict
Convert response to plain dict for robust inspection.
lmms-eval/lmms_eval/tasks/seephys/seephys_evals.py:72
↓ 1 callersFunction_sandboxed_execution_target
Target function for sandboxed code execution in a subprocess. Results are put into return_dict. `previous_execution_context` is a dict {'
lmms-eval/lmms_eval/models/model_utils/thyme/sandbox.py:472
↓ 1 callersMethod_sanitize_results_dict
Sanitize the results dictionary.
lmms-eval/lmms_eval/logging_utils.py:115
↓ 1 callersMethod_sanitize_results_dict
Sanitize the results dictionary.
lmms-eval/lmms_eval/loggers/wandb_logger.py:69
↓ 1 callersFunction_search_by_image
(image_url, screenshot_path="search_results.png", delay=5.0, headless=True)
lmms-eval/lmms_eval/tasks/mmsearch/utils/utils.py:376
↓ 1 callersMethod_should_omit_lexeme
(self, lexeme: str)
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:245
↓ 1 callersFunction_smart_comma_split
Splits a string by comma, but not if inside quotes or braces. This is useful for parsing argument strings that may contain JSON or other
lmms-eval/lmms_eval/utils.py:144
↓ 1 callersMethod_split_long_sentences
(self, analyzed_sentences: List[List[LexemeWithPositions]])
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:156
↓ 1 callersMethod_start_job
Mark a job as running and return its config. Returns None if job doesn't exist or is cancelled.
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:225
↓ 1 callersFunction_stream_output
Stream subprocess output as SSE events.
lmms-eval/lmms_eval/tui/server.py:259
↓ 1 callersFunction_strip_string
(string)
lmms-eval/lmms_eval/tasks/mathvision/eval_utils.py:325
↓ 1 callersFunction_take_fullpage_screenshot
(url: str, screenshot_path: str, timeout: int = FULLPAGE_TIMEOUT)
lmms-eval/lmms_eval/tasks/mmsearch/utils/utils.py:195
↓ 1 callersMethod_task_needs_eval
(self, task: Dict)
lmms-eval/lmms_eval/tasks/megabench/evaluator.py:61
↓ 1 callersFunction_temporal_target_frame_from_doc
For temporal_prediction samples, infer which frame is the target (ground-truth) frame. The jsonl uses filenames like: "<id>-<frame>.jpg". We
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:126
↓ 1 callersFunction_text2pts
(text: str, width: int = 640, height: int = 480, normalization_constant: int = 1, is_absolute: bool = False)
lmms-eval/lmms_eval/tasks/refspatial/utils.py:39
↓ 1 callersFunction_text2pts
(text: str, width: int = 640, height: int = 480, normalization_constant: int = 1, is_absolute: bool = False)
lmms-eval/lmms_eval/tasks/where2place/utils.py:35
↓ 1 callersMethod_to_remote_conversation
Convert ChatMessages to LongVILA remote_code conversation format. [{"from": "human"|"gpt", "value": [str | {"path": media_path}, ...]
lmms-eval/lmms_eval/models/chat/longvila.py:84
↓ 1 callersMethod_tokens_match
(self, prev_tokens: torch.LongTensor, tokens: List[int])
lmms-eval/lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:309
↓ 1 callersMethod_transform_lexeme
(self, lexeme: str)
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:253
↓ 1 callersMethod_upad_input
(self, query_layer, key_layer, value_layer, attention_mask, query_length)
llava/model/language_model/modeling_llama.py:535
↓ 1 callersMethod_upad_input
(self, query_layer, key_layer, value_layer, attention_mask, query_length)
llava/model/language_model/modeling_llama.py:712
↓ 1 callersMethod_update_causal_mask
(self, attention_mask, input_tensor)
llava/model/language_model/modeling_llama.py:1191
↓ 1 callersMethod_update_image_path
(image_path)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/vlm_as_judge.py:44
↓ 1 callersMethod_update_similarity_metrics
Update similarity metrics in results structure.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:271
↓ 1 callersFunctionabs_dist_norm
(pred, target)
lmms-eval/lmms_eval/tasks/sparbench/utils.py:250
↓ 1 callersFunctionabs_dist_norm
(pred, target)
lmms-eval/lmms_eval/tasks/vsibench/utils.py:88
↓ 1 callersFunctionabs_dist_norm
(pred, target)
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:250
↓ 1 callersFunctionaction2cam_response
(instructions, initial_pose, extra_info)
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:931
↓ 1 callersFunctionactions2cam_response
Converts a model's response with symbolic actions into a sequence of camera poses. This function is based on the logic from `utils.cam2action
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:631
↓ 1 callersFunctionadaptive_pixel_slimming
(image_path, RESIZE_W=1024, RESIZE_H=5120, thresh_gradmap=200, thresh_gradsum=50, thresh_length=15)
lmms-eval/lmms_eval/tasks/mmsearch/utils/image_utils.py:32
↓ 1 callersFunctionadd_cannot_answer_option
Add 'cannot answer from the caption' option to non-yes/no questions.
lmms-eval/lmms_eval/tasks/captionqa/utils.py:303
↓ 1 callersMethodadd_child
Adds a child node.
lmms-eval/lmms_eval/tasks/spatialtreebench/utils.py:28
↓ 1 callersMethodadd_job
Create and queue a new job. Args: request: The evaluation request configuration. Returns: Tuple of
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:119
↓ 1 callersMethodadd_token_per_frame
(self, image_feature)
llava/model/llava_arch.py:245
↓ 1 callersFunctionadditional_segment
( cut_indices: torch.Tensor, num_frames: int, min_segment_num: int, transition_similarities: t
flashvid/utils.py:229
↓ 1 callersMethodaggregate
Aggregate the field scores.
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation_type.py:28
↓ 1 callersFunctionai2d_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/ai2d/reasoning/utils.py:20
↓ 1 callersFunctionalign_first_line_to_second
(code_string: str)
lmms-eval/lmms_eval/models/model_utils/thyme/sandbox.py:102
↓ 1 callersMethodanalyze_excerpts
(self, text: str)
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:76
↓ 1 callersMethodanalyze_sentences
(self, text: str)
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:141
↓ 1 callersMethodanswer
(self, img_list, input_text, max_new_tokens=300, num_beams=1, min_length=1, top_p=0.9, repetition_penalty=1.0,
lmms-eval/lmms_eval/models/simple/moviechat.py:272
↓ 1 callersMethodapply
(self, resps, docs)
lmms-eval/lmms_eval/tasks/ai2d/utils.py:52
↓ 1 callersFunctionapply_delta
(base_model_path, target_model_path, delta_path)
llava/model/apply_delta.py:14
↓ 1 callersFunctionapply_filtering_to_results
Apply filtering logic to exclude certain settings from overall metrics. This maintains compatibility with the original evaluation logic. Args
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/base_metrics.py:130
↓ 1 callersMethodapply_filters
Iterates over FilterEnsembles and applies them to instances
lmms-eval/lmms_eval/api/task.py:593
↓ 1 callersFunctionapply_flashvid
(model)
playground/bench_efficiency.py:567
↓ 1 callersFunctionapply_rotation_to_map
Apply 3D rotation to all objects in the map. Args: objects_data: Dictionary of objects with position and facing information rotat
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/graph_operations.py:340
↓ 1 callersMethodasync_a_request
(self, input_id, image, sampling_params, messages)
lmms-eval/lmms_eval/models/chat/sglang.py:450
↓ 1 callersFunctionattn_based_token_selection
Select visual tokens based on attention. Args: features (torch.Tensor): Visual features, of shape (bsz, num_visual_tokens, feat_dim)
flashvid/token_selection.py:133
↓ 1 callersFunctionauto_evaluate
Automatically determine evaluation mode based on data content. This function examines the data to determine if it contains cognitive maps and
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/evaluator.py:157
↓ 1 callersFunctionav_speakerbench_doc_to_target
Return the ground-truth answer letter (A/B/C/D) from the doc.
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:46
↓ 1 callersFunctionbabyvision_doc_to_target
Get ground truth answer from document.
lmms-eval/lmms_eval/tasks/babyvision/utils.py:122
↓ 1 callersFunctionbacktrack
Using backtracking, determine if there is a sequence of pronunciations that is in iambic pentameter.
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:209
↓ 1 callersMethodbatch_level_generate
Generate at batch level without tool calling support. Returns list of outputs with format: [{"text": "...", "meta_info": {...}}, ...]
lmms-eval/lmms_eval/models/chat/sglang.py:572
↓ 1 callersFunctionbenchmark_single_sample
( sample: dict[str, Any], tokenizer, model, image_processor, args: BenchmarkArgs, *,
playground/bench_efficiency.py:421
↓ 1 callersFunctionbfs_search
(module, lst)
lmms-eval/lmms_eval/tasks/_task_utils/math_verify_utils.py:86
↓ 1 callersFunctionbootstrap_std
Args: data: a list of values n_bootstrap: number of bootstrap samples ci: confidence interval Returns: a tupl
lmms-eval/lmms_eval/tasks/vcr_wiki/utils.py:253
↓ 1 callersFunctionbootstrap_stderr
(f, xs, iters)
lmms-eval/lmms_eval/api/metrics.py:510
↓ 1 callersFunctionbox_iou
(box1, box2)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/common/metrics.py:12
↓ 1 callersMethodbpe
(self, token)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/tokenizer.py:100
↓ 1 callersFunctionbroadcat
(tensors, dim=-1)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:13
↓ 1 callersMethodbuild_Qformer
(self, vision_width, cross_attention_freq, num_query_token)
llava/model/multimodal_resampler/qformer.py:1117
↓ 1 callersMethodbuild_all_requests
Build a set of Instances for a task, and store them in task.instances
lmms-eval/lmms_eval/api/task.py:382
↓ 1 callersMethodbuild_attention_mask
(self)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:660
↓ 1 callersFunctionbuild_caption_qa_prompt
Build prompt for QA with caption.
lmms-eval/lmms_eval/tasks/captionqa/utils.py:310
↓ 1 callersFunctionbuild_descriptive_grading_queries
(groups, nq_per_query=5)
lmms-eval/lmms_eval/tasks/charxiv/descriptive_utils.py:130
↓ 1 callersFunctionbuild_evaluation_prompt
Build type-specific evaluation prompt.
lmms-eval/lmms_eval/tasks/babyvision_gen/prompt.py:84
↓ 1 callersFunctionbuild_json_keys
(length)
lmms-eval/lmms_eval/tasks/charxiv/descriptive_utils.py:79
↓ 1 callersFunctionbuild_judge_prompt
Build LLM judge prompt for answer evaluation.
lmms-eval/lmms_eval/tasks/babyvision/prompt.py:43
↓ 1 callersMethodbuild_option_str
(self, option_list)
lmms-eval/lmms_eval/tasks/mmbench/mmbench_evals.py:31
↓ 1 callersMethodbuild_option_str_w_gt
(self, option_list, gt_text, eval_type, question_type, upd_type)
lmms-eval/lmms_eval/tasks/mmupd/mmupd_evals.py:144
↓ 1 callersMethodbuild_phyx_gpt4_prompt
(self, line, pred)
lmms-eval/lmms_eval/tasks/phyx/phyx_evals.py:159
↓ 1 callersMethodbuild_phyx_gpt4_prompt_MC
(self, line, pred)
lmms-eval/lmms_eval/tasks/phyx/phyx_evals.py:177
↓ 1 callersMethodbuild_prompt
(self, question, options, prediction)
lmms-eval/lmms_eval/tasks/hrbench/hrbench_evals.py:130
↓ 1 callersMethodbuild_prompt
(self, question, options, prediction, upd_type)
lmms-eval/lmms_eval/tasks/mmupd/mmupd_evals.py:259
↓ 1 callersMethodbuild_prompt
(self, question, options, prediction)
lmms-eval/lmms_eval/tasks/mmbench/mmbench_evals.py:57
↓ 1 callersMethodbuild_prompt
(self, question, options, prediction)
lmms-eval/lmms_eval/tasks/worldqa/worldqa_mc_evaluator.py:15
↓ 1 callersFunctionbuild_reasoning_grading_queries
(input, resp)
lmms-eval/lmms_eval/tasks/charxiv/reasoning_utils.py:73
↓ 1 callersMethodbuild_seephys_scoring_prompt
(self, line: dict, pred: str)
lmms-eval/lmms_eval/tasks/seephys/seephys_evals.py:251
↓ 1 callersFunctionbuild_summary_from_logs
( baseline_output: str, flashvid_output: str, )
playground/bench_efficiency.py:244
↓ 1 callersFunctionbuild_web_ui
()
lmms-eval/lmms_eval/tui/cli.py:32
↓ 1 callersMethodcal_acc
Calculate normalized tree edit distance(nTED) based accuracy. 1) Construct tree from dict, 2) Get tree distance with insert/r
lmms-eval/lmms_eval/tasks/synthdog/donut_evaluator.py:182
↓ 1 callersMethodcalculate_aggregate_metric
(self, bootstrap_iters=100000)
lmms-eval/lmms_eval/evaluator_utils.py:115
↓ 1 callersFunctioncalculate_answer_accuracy
计算答案完全匹配准确率
lmms-eval/lmms_eval/tasks/snsbench/metrics.py:14
↓ 1 callersFunctioncalculate_average_score
Calculate average of three scores
lmms-eval/lmms_eval/tasks/imgedit/utils.py:127
↓ 1 callersMethodcalculate_clt_aggregate_metric
Calculate CLT-based standard errors (naive and clustered).
lmms-eval/lmms_eval/evaluator_utils.py:134
↓ 1 callersMethodcalculate_dual_acc
(self, standard_df, upd_df)
lmms-eval/lmms_eval/tasks/mmupd/mmupd_evals.py:600
↓ 1 callersFunctioncalculate_extended_cogmap_similarity
Calculate similarity between generated and grounded cognitive maps. Supports inner/outer relationships and 3D rotation invariance. Handles bot
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:269
↓ 1 callersMethodcalculate_hit_rates
(self, data)
lmms-eval/lmms_eval/tasks/mmbench/mmbench_evals.py:227
↓ 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/FALCONBench/utils.py:322
← previousnext →1,101–1,200 of 6,334, ranked by callers