MCPcopy Create free account

hub / github.com/CIawevy/TextPecker / functions

Functions1,395 in github.com/CIawevy/TextPecker

↓ 1 callersFunctionsave_ckpt
(save_dir, transformer, global_step, accelerator, ema, transformer_trainable_parameters, config)
RL/flow_grpo/scripts/train_sd3_dpo.py:298
↓ 1 callersFunctionsave_ckpt
(save_dir, transformer, global_step, accelerator, ema, transformer_trainable_parameters, config)
RL/flow_grpo/scripts/train_wan2_1.py:337
↓ 1 callersFunctionsave_ckpt
(save_dir, transformer, global_step, accelerator, ema, transformer_trainable_parameters, config)
RL/flow_grpo/scripts/train_flux.py:315
↓ 1 callersFunctionsave_ckpt
(save_dir, transformer, global_step, accelerator, ema, transformer_trainable_parameters, config)
RL/flow_grpo/scripts/train_flux_fast_guard.py:339
↓ 1 callersFunctionscaled_dot_product_attention
( query, key, value, attn_mask=None, dropout_p=0.0, is_c
eval/TextCrafter/TextCrafter_Flux/utils.py:172
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_bagel.py:134
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_sd3_fast_guard.py:139
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_qwenimage_fast_guard.py:164
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_qwenimage_fast.py:164
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_flux_kontext.py:118
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_sd3_GRPO_Guard.py:139
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_sd3_fast.py:138
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_flux_fast.py:142
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_sd3_sft.py:122
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_qwenimage_edit.py:136
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_sd3.py:120
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_qwenimage.py:142
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_sd3_dpo.py:120
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_wan2_1.py:122
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_flux.py:124
↓ 1 callersMethodset_epoch
(self, epoch)
RL/flow_grpo/scripts/train_flux_fast_guard.py:142
↓ 1 callersFunctionset_seed
(seed, device_specific=True)
RL/flow_grpo/scripts/train_qwenimage_fast_guard.py:52
↓ 1 callersFunctionset_seed
(seed, device_specific=True)
RL/flow_grpo/scripts/train_qwenimage_fast.py:52
↓ 1 callersFunctionset_seed
(seed, device_specific=True)
RL/flow_grpo/scripts/train_qwenimage_edit.py:54
↓ 1 callersFunctionsetup_distributed
()
eval/models/SD3.5/infer_sd3_LeX.py:56
↓ 1 callersFunctionsetup_distributed
()
eval/models/SD3.5/infer_sd3_gentexteval.py:55
↓ 1 callersFunctionsetup_distributed
()
eval/models/SD3.5/infer_sd3_oneig.py:56
↓ 1 callersFunctionsetup_distributed
()
eval/models/SD3.5/infer_sd3_CVTG2K.py:45
↓ 1 callersFunctionsetup_distributed
()
eval/models/SD3.5/infer_sd3_TextAtlasEval.py:56
↓ 1 callersFunctionsetup_distributed
()
eval/models/SD3.5/infer_sd3_longtext.py:55
↓ 1 callersFunctionsetup_distributed
()
eval/models/SD3.5/infer_sd3_TIIF.py:76
↓ 1 callersFunctionsetup_distributed
()
eval/models/Qwenimage/infer_qwenimage_TextAtlasEval.py:156
↓ 1 callersFunctionsetup_distributed
()
eval/models/Qwenimage/infer_qwenimage_CVTG2K.py:169
↓ 1 callersFunctionsetup_distributed
()
eval/models/Qwenimage/infer_qwenimage_TIIF.py:195
↓ 1 callersFunctionsetup_distributed
()
eval/models/Qwenimage/infer_qwenimage_oneig.py:170
↓ 1 callersFunctionsetup_distributed
()
eval/models/Qwenimage/infer_qwenimage_gentexteval.py:170
↓ 1 callersFunctionsetup_distributed
()
eval/models/Qwenimage/infer_qwenimage_longtext.py:169
↓ 1 callersFunctionsetup_distributed
()
eval/models/Qwenimage/infer_qwenimage_LeX.py:171
↓ 1 callersFunctionsetup_distributed
()
eval/models/Flux/infer_flux_dev_TIIF.py:85
↓ 1 callersFunctionsetup_distributed
()
eval/models/Flux/infer_flux_dev_longtext.py:58
↓ 1 callersFunctionsetup_distributed
()
eval/models/Flux/infer_flux_dev_LeX.py:46
↓ 1 callersFunctionsetup_distributed
()
eval/models/Flux/infer_flux_dev_TextAtlasEval.py:46
↓ 1 callersFunctionsetup_distributed
()
eval/models/Flux/infer_flux_dev_gentexteval.py:46
↓ 1 callersFunctionsetup_distributed
()
eval/models/Flux/infer_flux_dev_oneig.py:57
↓ 1 callersFunctionsetup_distributed
()
eval/models/Flux/infer_flux_dev_CVTG2K.py:57
↓ 1 callersFunctionsplit_2x2_grid
(image_path, grid_size, cache_dir)
eval/TextPecker_eval/textpecker_eval_server.py:517
↓ 1 callersFunctionsplit_list
(x, n)
eval/X-Omni/textbench/evaluate_text_reward.py:81
↓ 1 callersMethodstep_callback
(self, x_t)
eval/TextCrafter/TextCrafter_Flux/utils.py:31
↓ 1 callersMethodtext_img_similarity_score
(self, image_path_list, text_prompt)
eval/OneIG-Benchmark/scripts/utils/inference.py:183
↓ 1 callersFunctiontextpecker_score_vllm
Computes an OCR-based reward score using a remote TextPecker model served with vLLM.
eval/TextPecker_eval/textpecker_eval_server.py:200
↓ 1 callersMethodtimestep_embedding
Create sinusoidal timestep embeddings. :param t: a 1-D Tensor of N indices, one per batch element. These ma
RL/flow_grpo/flow_grpo/bagel/modeling/bagel/modeling_utils.py:88
↓ 1 callersMethodtorch_fix_seed
(self, seed=0)
eval/TextCrafter/TextCrafter_Flux/textcrafter_pipeline_flux.py:441
↓ 1 callersMethodtorch_fix_seed
(self, seed=42)
eval/TextCrafter/TextCrafter_SD3/textcrafter_pipeline_sd3.py:613
↓ 1 callersFunctiontrunc_normal_tf_
Fills the input Tensor with values drawn from a truncated normal distribution. The values are effectively drawn from the normal distribution :
RL/flow_grpo/flow_grpo/bagel/modeling/siglip/modeling_siglip.py:82
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_sd3_fast_guard.py:344
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_flux_kontext.py:310
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_sd3_GRPO_Guard.py:340
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_sd3_fast.py:339
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_flux_fast.py:334
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_sd3_sft.py:295
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_sd3.py:318
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_sd3_dpo.py:293
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_wan2_1.py:332
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_flux.py:310
↓ 1 callersFunctionunwrap_model
(model, accelerator)
RL/flow_grpo/scripts/train_flux_fast_guard.py:334
↓ 1 callersMethodupdate_context_image
(self, image, gen_context, vae=True, vit=True)
RL/flow_grpo/flow_grpo/bagel/inferencer.py:62
Method__call__
Calculate OCR reward :param images: List of input images (PIL or numpy format) :param prompts: Corresponding target text list
eval/TextPecker_eval/ocr.py:164
Method__call__
Calculate OCR reward :param images: List of input images (PIL or numpy format) :param prompts: Corresponding target text list
eval/TextPecker_eval/ocr.py:249
Method__call__
Calculate OCR reward :param images: List of input images (PIL or numpy format) :param prompts: Corresponding target text list
eval/TextPecker_eval/ocr.py:361
Method__call__
:param images: List of images or videos (each video as np.ndarray of shape [F, H, W, C]) :param prompts: List of prompts containing t
eval/TextPecker_eval/ocr.py:438
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
eval/TextCrafter/TextCrafter_Flux/textcrafter_pipeline_flux.py:742
Method__call__
(self, attn, place_in_transformer: str)
eval/TextCrafter/TextCrafter_Flux/utils.py:41
Method__call__
(self, *args)
eval/TextCrafter/TextCrafter_Flux/utils.py:284
Method__call__
(self, attn, place_in_transformer: str)
eval/TextCrafter/TextCrafter_SD3/utils.py:40
Method__call__
(self, *args)
eval/TextCrafter/TextCrafter_SD3/utils.py:287
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
eval/TextCrafter/TextCrafter_SD3/textcrafter_pipeline_sd3.py:965
Method__call__
(self, images)
RL/flow_grpo/flow_grpo/aesthetic_scorer.py:55
Method__call__
Calculate OCR reward :param images: List of input images (PIL or numpy format) :param prompts: Corresponding target text list
RL/flow_grpo/flow_grpo/ocr.py:164
Method__call__
Calculate OCR reward :param images: List of input images (PIL or numpy format) :param prompts: Corresponding target text list
RL/flow_grpo/flow_grpo/ocr.py:249
Method__call__
Calculate OCR reward :param images: List of input images (PIL or numpy format) :param prompts: Corresponding target text list
RL/flow_grpo/flow_grpo/ocr.py:382
Method__call__
:param images: List of images or videos (each video as np.ndarray of shape [F, H, W, C]) :param prompts: List of prompts containing t
RL/flow_grpo/flow_grpo/ocr.py:476
Method__call__
(self, prompts, images)
RL/flow_grpo/flow_grpo/imagereward_scorer.py:16
Method__call__
(self, pixels, prompts, return_img_embedding=False)
RL/flow_grpo/flow_grpo/clip_scorer.py:47
Method__call__
(self, prompt, images)
RL/flow_grpo/flow_grpo/qwenvl.py:61
Method__call__
(self, prompt, images)
RL/flow_grpo/flow_grpo/pickscore_scorer.py:17
Method__call__
( self, image: Optional[Image.Image] = None, text: Optional[str] = None, **
RL/flow_grpo/flow_grpo/bagel/inferencer.py:354
Method__call__
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text` and `kwargs` arguments
RL/flow_grpo/flow_grpo/bagel/modeling/siglip/processing_siglip.py:38
Method__call__
(self, img, img_num=1)
RL/flow_grpo/flow_grpo/bagel/data/transforms.py:111
Method__getitem__
(self, idx)
eval/models/SD3.5/infer_sd3_LeX.py:97
Method__getitem__
(self, idx)
eval/models/SD3.5/infer_sd3_gentexteval.py:99
Method__getitem__
(self, idx)
eval/models/SD3.5/infer_sd3_oneig.py:94
Method__getitem__
(self, idx)
eval/models/SD3.5/infer_sd3_CVTG2K.py:81
Method__getitem__
(self, idx)
eval/models/SD3.5/infer_sd3_TextAtlasEval.py:97
Method__getitem__
(self, idx)
eval/models/SD3.5/infer_sd3_longtext.py:99
Method__getitem__
(self, idx)
eval/models/SD3.5/infer_sd3_TIIF.py:117
Method__getitem__
(self, idx)
eval/models/Qwenimage/infer_qwenimage_TextAtlasEval.py:195
Method__getitem__
(self, idx)
eval/models/Qwenimage/infer_qwenimage_CVTG2K.py:204
Method__getitem__
(self, idx)
eval/models/Qwenimage/infer_qwenimage_TIIF.py:236
Method__getitem__
(self, idx)
eval/models/Qwenimage/infer_qwenimage_oneig.py:210
Method__getitem__
(self, idx)
eval/models/Qwenimage/infer_qwenimage_gentexteval.py:213
← previousnext →601–700 of 1,395, ranked by callers