MCPcopy Create free account

hub / github.com/A113N-W3I/MICo-150K / functions

Functions73 in github.com/A113N-W3I/MICo-150K

↓ 3 callersFunctionget_case_id
(rec: dict)
MICo-Bench/compute_weights.py:79
↓ 2 callersMethod_pack_latents
Transforms standard latent layouts into packed multi-patch configurations.
infer/modeling_qwen_image.py:351
↓ 2 callersFunctionaggregate_results
(results_dir: str, model_name: str)
MICo-Bench/eval_score.py:255
↓ 2 callersFunctioncall_gpt
(client: OpenAI, image_paths: list[str], prompt: str, model: str, temperature: float = 0.0)
MICo-Bench/eval_score.py:92
↓ 2 callersFunctioncompute_case_weight
( rec: dict, gen_path: str, image_root: str, app, vlm_model, vlm_processor, )
MICo-Bench/compute_weights.py:249
↓ 2 callersFunctioncreate_face_app
(ctx_id: int, arcface_root: str | None)
MICo-Bench/compute_weights.py:58
↓ 2 callersMethodencode_prompt
Constructs and duplicates conditional multi-modal latents for execution batches.
infer/modeling_qwen_image.py:285
↓ 2 callersMethodextract_latent_distribution
Safely extracts tensors from VAE distributions.
infer/modeling_qwen_image.py:89
↓ 2 callersFunctionface_score_from_similarity
(sim: float)
MICo-Bench/compute_weights.py:83
↓ 2 callersFunctionfind_generated_image
(gen_dir: str, case_id: str)
MICo-Bench/compute_weights.py:241
↓ 2 callersFunctionget_case_id
(record: dict)
MICo-Bench/eval_score.py:114
↓ 2 callersFunctionlargest_face_embedding
(app, bgr: np.ndarray)
MICo-Bench/compute_weights.py:105
↓ 2 callersFunctionload_vlm
(model_path_or_repo: str)
MICo-Bench/compute_weights.py:179
↓ 2 callersFunctionparse_scores
(text: str)
MICo-Bench/eval_score.py:107
↓ 1 callersMethod__init__
( self, attention_head_dim=128, num_attention_heads=24, num_layers=60,
infer/modeling_qwen_image.py:112
↓ 1 callersMethod_decode_latents_to_image
Transforms structural noise output back to human-interpretable pixels.
infer/modeling_qwen_image.py:448
↓ 1 callersMethod_encode_vae_image
Converts raw pixel space into initial VAE distributions.
infer/modeling_qwen_image.py:368
↓ 1 callersMethod_extract_masked_hidden
Isolates valid computational vectors from padded hidden states.
infer/modeling_qwen_image.py:212
↓ 1 callersMethod_get_qwen_prompt_embeds
Processes and extracts embeddings via the visual-language processor framework.
infer/modeling_qwen_image.py:219
↓ 1 callersMethod_load_models
(self)
infer/infer_blip3o.py:85
↓ 1 callersFunction_load_task_state
(bench_dir: str, results_dir: str, model_name: str, task_name: str)
MICo-Bench/compute_weights.py:326
↓ 1 callersMethod_prepare_vision_inputs
Calculates area-constrained ratios and standardizes spatial constraints.
infer/modeling_qwen_image.py:438
↓ 1 callersFunction_split_records
(records: list, n: int)
MICo-Bench/compute_weights.py:317
↓ 1 callersMethod_unpack_latents
Reverses multi-patch configurations back to classical latent layouts.
infer/modeling_qwen_image.py:358
↓ 1 callersFunction_vlm_element_preserved_impl
(model, processor, src_path: str, gen_path: str)
MICo-Bench/compute_weights.py:201
↓ 1 callersMethodcheck_inputs
Performs pre-flight integrity checks on all pipeline parameters.
infer/modeling_qwen_image.py:309
↓ 1 callersMethodcompute_temporal_shift
Calculates the sequence shift parameter based on sequence length ratios.
infer/modeling_qwen_image.py:50
↓ 1 callersFunctioncosine_sim
(a: np.ndarray, b: np.ndarray)
MICo-Bench/compute_weights.py:95
↓ 1 callersFunctioncreate_editing_prompt
Create conversation template for image editing matching training format.
infer/infer_blip3o.py:57
↓ 1 callersFunctionencode_image
(path: str)
MICo-Bench/eval_score.py:87
↓ 1 callersFunctionensure_insightface_model_dir
(root: str, name: str = "buffalo_l")
MICo-Bench/compute_weights.py:45
↓ 1 callersFunctionevaluate_task
( task_name: str, model_name: str, gpt_model: str, results_dir: str, image_root: str,
MICo-Bench/eval_score.py:182
↓ 1 callersFunctionface_preserved_multi
(app, src_paths: list[str], gen_path: str)
MICo-Bench/compute_weights.py:133
↓ 1 callersFunctionface_preserved_single_source
(app, src_path: str, gen_path: str)
MICo-Bench/compute_weights.py:117
↓ 1 callersMethodfetch_timesteps
Resolves custom timesteps or sigmas from the given scheduler instance.
infer/modeling_qwen_image.py:63
↓ 1 callersFunctionfind_generated_image
(gen_dir: str, case_id: str)
MICo-Bench/eval_score.py:122
↓ 1 callersMethodgenerate_image
Generate or edit an image based on instruction. Args: instruction: Text instruction for generation/editing
infer/infer_blip3o.py:191
↓ 1 callersFunctionget_prompt
(record: dict)
MICo-Bench/eval_score.py:118
↓ 1 callersFunctionload_images
(paths: List[str])
infer/infer_omnigen2.py:92
↓ 1 callersFunctionload_images
(paths: List[str])
infer/infer_bagel.py:57
↓ 1 callersFunctionload_pipeline
(args, accelerator, weight_dtype)
infer/infer_omnigen2.py:53
↓ 1 callersFunctionmain
()
infer/infer_omnigen2.py:101
↓ 1 callersFunctionmain
()
infer/infer_dimoo.py:30
↓ 1 callersFunctionmain
()
infer/infer_bagel.py:61
↓ 1 callersFunctionmain
()
infer/infer_blip3o.py:303
↓ 1 callersFunctionmain
()
MICo-Bench/compute_weights.py:346
↓ 1 callersFunctionmain
()
MICo-Bench/eval_score.py:315
↓ 1 callersMethodpad_image_dimensions
Resizes a PIL image ensuring its dimensions are strict multiples of the given integer.
infer/modeling_qwen_image.py:100
↓ 1 callersFunctionparse_args
()
infer/infer_omnigen2.py:21
↓ 1 callersFunctionparse_args
()
infer/infer_bagel.py:34
↓ 1 callersFunctionparse_vlm_yes_no
(text: str)
MICo-Bench/compute_weights.py:166
↓ 1 callersMethodprepare_inputs
Prepare inputs for the model, handling understanding images.
infer/infer_blip3o.py:106
↓ 1 callersMethodprepare_latents
Allocates and standardizes initial noise vectors and vision encodings for the step loop.
infer/modeling_qwen_image.py:389
↓ 1 callersMethodprocess_understanding_images
Process input images for understanding (editing).
infer/infer_blip3o.py:133
↓ 1 callersMethodprocess_understanding_images_vae
Process input images for understanding (editing) using UND image VAE.
infer/infer_blip3o.py:175
↓ 1 callersFunctionreapply_weights_task
(task_name: str, model_name: str, results_dir: str, weight_all_one: bool = False)
MICo-Bench/eval_score.py:279
↓ 1 callersFunctionset_global_seed
Set global random seed for reproducibility.
infer/infer_blip3o.py:49
↓ 1 callersFunctionset_seed
(seed: int)
infer/infer_bagel.py:46
Method__call__
r""" Executes the multi-modal editing sequence based on the provided vision inputs and textual instructions. Args: images
infer/modeling_qwen_image.py:465
Method__init__
( self, scheduler: FlowMatchEulerDiscreteScheduler, vae: AutoencoderKLQwenImage,
infer/modeling_qwen_image.py:179
Method__init__
(self, config: EditingConfig)
infer/infer_blip3o.py:80
Function_evaluate_one_case
( rec: dict, gen_path: str, image_root: str, weights: dict, gpt_model: str, api_key: s
MICo-Bench/eval_score.py:130
Function_worker_weights_multi_tasks
(payload: dict)
MICo-Bench/compute_weights.py:282
Functionarea
(f)
MICo-Bench/compute_weights.py:110
Methodattention_kwargs
(self)
infer/modeling_qwen_image.py:427
Methodcurrent_timestep
(self)
infer/modeling_qwen_image.py:433
Methoddisable_vae_slicing
(self)
infer/modeling_qwen_image.py:385
Methoddisable_vae_tiling
(self)
infer/modeling_qwen_image.py:387
Methodenable_vae_slicing
(self)
infer/modeling_qwen_image.py:384
Methodenable_vae_tiling
(self)
infer/modeling_qwen_image.py:386
Methodguidance_scale
(self)
infer/modeling_qwen_image.py:424
Methodinterrupt
(self)
infer/modeling_qwen_image.py:436
Methodnum_timesteps
(self)
infer/modeling_qwen_image.py:430