MCPcopy Create free account

hub / github.com/Karine-Huang/T2I-CompBench / functions

Functions1,112 in github.com/Karine-Huang/T2I-CompBench

↓ 3 callersFunctiondisplayQuestion
(index)
MLLM_eval/ShareGPT4V-CoT_eval/llava/eval/webpage/script.js:110
↓ 3 callersMethodencode_image
(self, image)
CLIPScore_eval/clip/model.py:340
↓ 3 callersFunctionexpand2square
(pil_img, background_color)
MLLM_eval/ShareGPT4V-CoT_eval/llava/mm_utils.py:14
↓ 3 callersFunctionget_pred_idx
Get the index (e.g. 2) from the prediction (e.g. 'C')
MLLM_eval/ShareGPT4V-CoT_eval/llava/eval/eval_science_qa_gpt4_requery.py:30
↓ 3 callersFunctionget_rank
()
BLIPvqa_eval/utils.py:239
↓ 3 callersMethodget_results
(self)
UniDet_eval/experts/obj_detection/unidet/evaluation/oideval.py:537
↓ 3 callersMethodget_worker_status
(self, worker_name: str)
MLLM_eval/ShareGPT4V-CoT_eval/llava/serve/controller.py:88
↓ 3 callersFunctioninject_trainable_lora_extended
inject lora into model, and returns lora parameter groups.
GORS_finetune/lora_diffusion/lora.py:324
↓ 3 callersFunctioninject_trainable_lora_extended
inject lora into model, and returns lora parameter groups.
lora_diffusion/lora.py:324
↓ 3 callersFunctionis_dist_avail_and_initialized
()
BLIPvqa_eval/utils.py:225
↓ 3 callersFunctionis_dist_avail_and_initialized
()
BLIPvqa_eval/BLIP/utils.py:225
↓ 3 callersFunctionload_checkpoint
(model,url_or_filename)
BLIPvqa_eval/models/blip.py:215
↓ 3 callersFunctionload_expert_model
(task=None, ckpt=None)
UniDet_eval/experts/model_bank.py:11
↓ 3 callersMethodload_model
(self)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/multimodal_encoder/clip_encoder.py:22
↓ 3 callersFunctionmap_back_unified_id
(results, map_back, reverse_id_mapping=None)
UniDet_eval/experts/obj_detection/unidet/evaluation/multi_dataset_evaluator.py:56
↓ 3 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
MLLM_eval/ShareGPT4V-CoT_eval/llava/train/train.py:109
↓ 3 callersFunctionparse_safeloras
Converts a loaded safetensor file that contains a set of module Loras into Parameters and other information Output is a dictionary of {
GORS_finetune/lora_diffusion/lora.py:550
↓ 3 callersFunctionparse_safeloras
Converts a loaded safetensor file that contains a set of module Loras into Parameters and other information Output is a dictionary of {
lora_diffusion/lora.py:550
↓ 3 callersFunctionpatch_pipe
( pipe, maybe_unet_path, token: Optional[str] = None, r: int = 4, patch_unet=True, pat
lora_diffusion/lora.py:979
↓ 3 callersFunctionprepare_clip_model_sets
(eval_clip_id: str = "openai/clip-vit-large-patch14")
GORS_finetune/lora_diffusion/utils.py:103
↓ 3 callersFunctionprepare_clip_model_sets
(eval_clip_id: str = "openai/clip-vit-large-patch14")
lora_diffusion/utils.py:103
↓ 3 callersMethodprint_results
(self)
UniDet_eval/experts/obj_detection/unidet/evaluation/oideval.py:512
↓ 3 callersFunctiontrain
()
MLLM_eval/ShareGPT4V-CoT_eval/llava/train/train.py:756
↓ 3 callersFunctionupdateQuestionSelect
(question_id)
MLLM_eval/ShareGPT4V-CoT_eval/llava/eval/webpage/script.js:48
↓ 3 callersMethodvalue
(self)
BLIPvqa_eval/BLIP/utils.py:80
↓ 3 callersFunctionvote_last_response
(state, vote_type, model_selector, request: gr.Request)
MLLM_eval/ShareGPT4V-CoT_eval/llava/serve/gradio_web_server.py:83
↓ 2 callersFunctionLoRA_load
(model)
GORS_finetune/lora_diffusion/lora.py:691
↓ 2 callersFunctionLoRA_load
(model)
lora_diffusion/lora.py:691
↓ 2 callersFunctionLoRA_replace
(model)
GORS_finetune/lora_diffusion/lora.py:276
↓ 2 callersFunctionLoRA_replace
(model)
lora_diffusion/lora.py:276
↓ 2 callersMethod__init__
( self, unified_label_file, dataset_name, cfg, distributed, output_dir=None)
UniDet_eval/experts/obj_detection/unidet/evaluation/multi_dataset_evaluator.py:345
↓ 2 callersMethod__init__
(self, normalized_shape, eps=1e-05, weight=True, dtype=None, device=None)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/norm.py:35
↓ 2 callersFunction_bwd_kernel_one_col_block
(start_n, Q, K, V, Bias, DO, DQ, DK, DV, LSE, D, softmax_scale, stride_qm, stride_kn, stride_vn, stride_bm, st
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/flash_attn_triton.py:184
↓ 2 callersFunction_bwd_store_dk_dv
(dk_ptrs, dv_ptrs, dk, dv, offs_n, offs_d, seqlen_k, headdim, EVEN_M: tl.constexpr, EVEN_N: tl.constexpr, EVEN
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/flash_attn_triton.py:168
↓ 2 callersFunction_crop_to_square
( image: Image.Image, com: List[Tuple[int, int]], resize_to: Optional[int] = None )
GORS_finetune/lora_diffusion/preprocess_files.py:203
↓ 2 callersFunction_crop_to_square
( image: Image.Image, com: List[Tuple[int, int]], resize_to: Optional[int] = None )
lora_diffusion/preprocess_files.py:203
↓ 2 callersFunction_evaluate_predictions_on_oid
(oid_gt, oid_results_path, eval_seg=False)
UniDet_eval/experts/obj_detection/unidet/evaluation/oideval.py:638
↓ 2 callersMethod_forward_box
(self, features, proposals, targets=None, dataset_source=-1)
UniDet_eval/experts/obj_detection/unidet/modeling/roi_heads/unified_roi_heads.py:66
↓ 2 callersMethod_forward_box
(self, features, proposals, targets=None, dataset_source=-1)
UniDet_eval/experts/obj_detection/unidet/modeling/roi_heads/split_roi_heads.py:85
↓ 2 callersFunction_get_attn_modules
Helper that gets a list of the model's attention modules. Each module has a `bias` buffer used for causal masking. The Prefix LM conv
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/hf_prefixlm_converter.py:45
↓ 2 callersFunction_get_builtin_metadata
(cats)
UniDet_eval/experts/obj_detection/unidet/data/datasets/oid.py:810
↓ 2 callersMethod_get_gt_dt
Create gt, dt which are list of anns/dets. If use_cats is true only anns/dets corresponding to tuple (img_id, cat_id) will be used.
UniDet_eval/experts/obj_detection/unidet/evaluation/oideval.py:241
↓ 2 callersFunction_iter_lora
(model)
GORS_finetune/lora_diffusion/cli_svd.py:16
↓ 2 callersFunction_iter_lora
(model)
lora_diffusion/cli_svd.py:16
↓ 2 callersMethod_make_payload
(self, provider, model, content_list)
MLLM_eval/test_gpt4v_eval.py:138
↓ 2 callersFunction_normal_param_init_fn_
(module: nn.Module, std: float, n_layers: int, d_model: Optional[int]=None, init_div_is_residual: Union[int, f
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/param_init_fns.py:124
↓ 2 callersFunction_reset_is_causal
(num_query_tokens: int, num_key_tokens: int, original_is_causal: bool)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/attention.py:12
↓ 2 callersMethod_set_config_defaults
(self, config, config_defaults)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/configuration_mpt.py:90
↓ 2 callersFunction_ti_lora_path
(path: str)
GORS_finetune/lora_diffusion/lora.py:915
↓ 2 callersFunction_ti_lora_path
(path: str)
lora_diffusion/lora.py:915
↓ 2 callersMethod_to_mask
(self, anns, lvis)
UniDet_eval/experts/obj_detection/unidet/evaluation/oideval.py:163
↓ 2 callersFunction_tokenize_fn
Tokenize a list of strings.
MLLM_eval/ShareGPT4V-CoT_eval/llava/train/train.py:243
↓ 2 callersFunction_transform
(n_px)
CLIPScore_eval/clip/clip.py:79
↓ 2 callersMethod_validate_config
(self)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/configuration_mpt.py:96
↓ 2 callersMethodaccumulate
Accumulate per image evaluation results and store the result in self.eval.
UniDet_eval/experts/obj_detection/unidet/evaluation/oideval.py:386
↓ 2 callersMethodadd_meter
(self, name, meter)
BLIPvqa_eval/BLIP/utils.py:132
↓ 2 callersMethodattention
(self, x: torch.Tensor)
CLIPScore_eval/clip/model.py:185
↓ 2 callersFunctionauto_upgrade
(config)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/utils.py:4
↓ 2 callersFunctionbuild_vision_projector
(config, delay_load=False, **kwargs)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/multimodal_projector/builder.py:33
↓ 2 callersFunctionbuild_vision_tower
(vision_tower_cfg, **kwargs)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/multimodal_encoder/builder.py:5
↓ 2 callersFunctionbytes_to_unicode
Returns list of utf-8 byte and a corresponding list of unicode strings. The reversible bpe codes work on unicode strings. This means y
CLIPScore_eval/clip/simple_tokenizer.py:16
↓ 2 callersFunctioncheck_valid_inputs
(*tensors, valid_dtypes=[torch.float16, torch.bfloat16])
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/attention.py:64
↓ 2 callersFunctionconcat_all_gather
Performs all_gather operation on the provided tensors. *** Warning ***: torch.distributed.all_gather has no gradient.
BLIPvqa_eval/models/blip_pretrain.py:256
↓ 2 callersFunctionconvert_loras_to_safeloras_with_embeds
Converts the Lora from multiple pytorch .pt files into a single safetensor file. modelmap is a dictionary of { "module name": (pytor
GORS_finetune/lora_diffusion/lora.py:505
↓ 2 callersFunctionconvert_loras_to_safeloras_with_embeds
Converts the Lora from multiple pytorch .pt files into a single safetensor file. modelmap is a dictionary of { "module name": (pytor
lora_diffusion/lora.py:505
↓ 2 callersFunctioncreate_custom_forward
(module)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/mpt/hf_prefixlm_converter.py:207
↓ 2 callersFunctiondisplayAnswers
(index)
MLLM_eval/ShareGPT4V-CoT_eval/llava/eval/webpage/script.js:116
↓ 2 callersMethodembed_tokens
(self, x)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/language_model/llava_mpt.py:41
↓ 2 callersMethodencode_images
(self, images)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/llava_arch.py:94
↓ 2 callersMethodencode_text
(self, text)
CLIPScore_eval/clip/model.py:343
↓ 2 callersFunctioneval_single
(annotation_file, result_file)
MLLM_eval/ShareGPT4V-CoT_eval/llava/eval/eval_textvqa.py:35
↓ 2 callersMethodevaluate
Run per image evaluation on given images and store results (a list of dict) in self.eval_imgs.
UniDet_eval/experts/obj_detection/unidet/evaluation/oideval.py:209
↓ 2 callersFunctionevaluate_pipe
( pipe, target_images: List[Image.Image], class_token: str = "", learnt_token: str = "", g
GORS_finetune/lora_diffusion/utils.py:112
↓ 2 callersFunctionevaluate_pipe
( pipe, target_images: List[Image.Image], class_token: str = "", learnt_token: str = "", g
lora_diffusion/utils.py:112
↓ 2 callersFunctionextract_lora_ups_down
(model, target_replace_module=DEFAULT_TARGET_REPLACE)
lora_diffusion/lora.py:395
↓ 2 callersFunctionface_mask_google_mediapipe
Returns a list of images with mask on the face parts.
GORS_finetune/lora_diffusion/preprocess_files.py:154
↓ 2 callersFunctionface_mask_google_mediapipe
Returns a list of images with mask on the face parts.
lora_diffusion/preprocess_files.py:154
↓ 2 callersMethodfeature_select
(self, image_forward_outs)
MLLM_eval/ShareGPT4V-CoT_eval/llava/model/multimodal_encoder/clip_encoder.py:29
↓ 2 callersMethodfreeze
(self)
UniDet_eval/experts/obj_detection/unidet/modeling/backbone/resnest.py:50
↓ 2 callersFunctiongenerate
(model, input_ids, do_sample, temperature, top_p, max_new_tokens, streamer, stopping_criteria, image_args, sto
MLLM_eval/ShareGPT4V-CoT_eval/Share_eval.py:55
↓ 2 callersFunctionget_conv_log_filename
()
MLLM_eval/ShareGPT4V-CoT_eval/llava/serve/gradio_web_server.py:32
↓ 2 callersFunctionget_model_list
()
MLLM_eval/ShareGPT4V-CoT_eval/llava/serve/gradio_web_server.py:38
↓ 2 callersFunctionget_pairs
Return set of symbol pairs in a word. Word is represented as tuple of symbols (symbols being variable-length strings).
CLIPScore_eval/clip/simple_tokenizer.py:38
↓ 2 callersFunctionget_pred_idx
Get the index (e.g. 2) from the prediction (e.g. 'C')
MLLM_eval/ShareGPT4V-CoT_eval/llava/eval/eval_science_qa_gpt4.py:28
↓ 2 callersFunctionget_pred_idx
Get the index (e.g. 2) from the prediction (e.g. 'C')
MLLM_eval/ShareGPT4V-CoT_eval/llava/eval/eval_science_qa.py:28
↓ 2 callersMethodget_queue_length
(self)
MLLM_eval/ShareGPT4V-CoT_eval/llava/serve/model_worker.py:108
↓ 2 callersFunctionget_readout_oper
(vit_features, features, use_readout, start_index=1)
UniDet_eval/experts/depth/vit.py:204
↓ 2 callersMethodget_status
(self)
MLLM_eval/ShareGPT4V-CoT_eval/llava/serve/model_worker.py:115
↓ 2 callersMethodget_tensor
(self, key)
GORS_finetune/lora_diffusion/lora_manager.py:85
↓ 2 callersMethodget_tensor
(self, key)
lora_diffusion/lora_manager.py:85
↓ 2 callersMethodget_worker_address
(self, model_name: str)
MLLM_eval/ShareGPT4V-CoT_eval/llava/serve/controller.py:120
↓ 2 callersFunctioninterpolate_pos_embed
(pos_embed_checkpoint, visual_encoder)
BLIPvqa_eval/models/vit.py:281
↓ 2 callersFunctionis_none
(value)
MLLM_eval/ShareGPT4V-CoT_eval/llava/eval/model_vqa_mmbench.py:33
↓ 2 callersFunctionlink_val100
(dir_full, dir_100)
UniDet_eval/datasets/prepare_panoptic_fpn.py:98
↓ 2 callersFunctionload_expert_model
(task=None)
UniDet_eval/experts/model_bank_3d.py:11
↓ 2 callersFunctionload_image_from_base64
(image)
MLLM_eval/ShareGPT4V-CoT_eval/llava/mm_utils.py:10
↓ 2 callersMethodlog_every
(self, iterable, print_freq, header=None)
BLIPvqa_eval/BLIP/utils.py:135
↓ 2 callersFunctionlora_join
(lora_safetenors: list)
GORS_finetune/lora_diffusion/lora_manager.py:13
↓ 2 callersFunctionlora_join
(lora_safetenors: list)
lora_diffusion/lora_manager.py:13
↓ 2 callersFunctionloss_step
( batch, unet, vae, text_encoder, scheduler, train_inpainting=False, t_mutliplier=
GORS_finetune/lora_diffusion/cli_lora_pti.py:251
← previousnext →101–200 of 1,112, ranked by callers