MCPcopy Create free account

hub / github.com/OpenDCAI/DataFlow-MM / functions

Functions991 in github.com/OpenDCAI/DataFlow-MM

Methodjoint_attention_kwargs
(self)
dataflow/serving/utils/diffusers/flux_kontext_pipeline.py:708
Methodlength
(self)
dataflow/operators/core_audio/eval/audio_ctc_forced_alignment_transcription_quality_evaluator.py:457
Functionload
Load a long CLIP model Parameters ---------- name : str A model name listed by `clip.available_models()`, or the path to a model
dataflow/operators/core_vision/eval/image_text/model/longclip.py:46
Functionload_audio
(audio_file: str, dtype: torch.dtype, device: str)
dataflow/operators/core_audio/eval/audio_ctc_forced_alignment_transcription_quality_evaluator.py:529
Functionload_from_clip
Load from CLIP model for fine-tuning Parameters ---------- name : str A model name listed by `clip.available_models()`, or the p
dataflow/operators/core_vision/eval/image_text/model/longclip.py:136
Methodload_model
Load the model from the given path. This method is optional and can be overridden by subclasses if needed.
dataflow/core/LLMServing.py:22
Functionnormalize
( text: str, remove_punct: bool = True, lowercase: bool = True, nfd_unicode: bool = True,
dataflow/operators/core_vision/filter/rule_base_filter.py:36
Methodnum_timesteps
(self)
dataflow/serving/utils/diffusers/flux_kontext_pipeline.py:712
Functionparse_mcq_text_logic
(mcq_text: str, expected: int = 5)
dataflow/statics/pipelines/gpu_pipelines/image_visual_only_mcq_pipeline.py:16
Functionparse_mcq_text_logic
(mcq_text: str, expected: int = 5)
dataflow/statics/pipelines/api_pipelines/image_visual_only_mcq_api_pipeline.py:18
Functionparse_questions_logic
解析 LLM 生成的 "Describe more details about..." 文本, 并自动扩展 position 问题。
dataflow/statics/pipelines/gpu_pipelines/image_scale_caption_pipeline.py:33
Functionparse_questions_logic
解析 LLM 生成的 "Describe more details about..." 文本, 并自动扩展 position 问题。
dataflow/statics/pipelines/api_pipelines/image_scale_caption_api_pipeline.py:37
Functionprocess
(a, tokenizer=None)
dataflow/utils/utils.py:155
Methodread
Read data from file. type: type that you want to read to, such as "datatrame", List[dict], etc.
dataflow/utils/storage.py:14
Methodread
(self, output_type: Literal["dataframe", "dict"] = "dataframe")
dataflow/utils/storage.py:49
Methodread
Read data from Myscale/ClickHouse table.
dataflow/utils/storage.py:353
Methodread
(self, image_paths: List[str])
dataflow/io/core_io/image_gen.py:15
Methodregister
Register the given object under the the name `obj.__name__`. Can be used as either a decorator or not. See docstring of this
dataflow/utils/registry.py:88
Methodreset
(self)
dataflow/utils/storage.py:102
Functionrun
这个文档和签名都会被下面的 __wrapped__ / __signature__ 覆盖成 operator.run 的
dataflow/wrapper/batch_wrapper_backup.py:19
Methodrun
(self, storage: DataFlowStorage, input_tree_key: str, output_key: str)
dataflow/operators/core_text/refine/mcts_tree_refiner.py:80
Methodrun
(self, storage: DataFlowStorage, output_key: str, **input_keys)
dataflow/operators/core_text/refine/functional_refiner.py:47
Methodrun
(self, storage: DataFlowStorage, input_text_key: str = "text")
dataflow/operators/core_audio/refine/audio_text_normalizer.py:145
Methodrun
( self, storage: DataFlowStorage, input_audio_key: str = "audio", input_conve
dataflow/operators/core_audio/eval/audio_ctc_forced_alignment_transcription_quality_evaluator.py:332
Methodrun
(self, storage: DataFlowStorage, input_audio_key: str = "audio", input_timestamps_key:
dataflow/operators/core_audio/generaterow/audio_timestamp_chunk_row_generator.py:181
Methodrun
(self, storage: DataFlowStorage, input_audio_key: str = "audio", input_co
dataflow/operators/core_audio/filter/audio_ctc_forced_alignment_transcription_quality_filter.py:191
Methodrun
(self, storage: DataFlowStorage, input_audio_key: str = "audio", input_co
dataflow/operators/core_audio/generate/prompted_aqa_generator.py:70
Methodrun
( self, storage: DataFlowStorage, input_audio_key: str = "audio", output_answe
dataflow/operators/core_audio/generate/audio_silero_voice_activity_detection_timestamps_generator.py:262
Methodrun
(self, storage: DataFlowStorage, input_conversation_key: str = "conversation",
dataflow/operators/conversations/format/conversation_to_message.py:106
Methodrun
(self, storage: DataFlowStorage, input_list_key: str, input_image_key: str, output_key: str)
dataflow/operators/core_vision/refine/visual_grounding_refiner.py:64
Methodrun
(self, storage: DataFlowStorage, image_key: str)
dataflow/operators/core_vision/refine/vision_seg_cutout_refiner.py:74
Methodrun
(self, storage: DataFlowStorage, input_image_key: str = "image_path", input_text_key: str = "text", output_key
dataflow/operators/core_vision/eval/image_vqascore_evaluator.py:76
Methodrun
(self, storage: DataFlowStorage, input_image_key: str = "image_path", input_text_key: str = "text", output_key
dataflow/operators/core_vision/eval/image_clip_evaluator.py:80
Methodrun
( self, storage: DataFlowStorage, figure_root: Optional[str] = None, input_vid
dataflow/operators/core_vision/eval/video_aesthetic_evaluator.py:485
Methodrun
Execute OCR analysis (main interface for DataFlowStorage)
dataflow/operators/core_vision/eval/video_ocr_evaluator.py:551
Methodrun
Evaluate text answers and compute rewards. Args: storage: DataFlowStorage object input_model_output_key: Colu
dataflow/operators/core_vision/eval/general_text_answer_evaluator.py:151
Methodrun
( self, storage: DataFlowStorage, figure_root: Optional[str] = None, input_vid
dataflow/operators/core_vision/eval/video_luminance_evaluator.py:425
Methodrun
( self, storage: DataFlowStorage, input_image_key: str = "image_path", input_t
dataflow/operators/core_vision/eval/image_longclip_evaluator.py:108
Methodrun
Runs the caption generation process, reading from the input file and saving results to output.
dataflow/operators/core_vision/eval/image/image_evaluator.py:39
Methodrun
Execute the vision dependency filtering pipeline. Process flow: 1. Load data from storage 2. Generate respon
dataflow/operators/core_vision/filter/vision_dependent_filter.py:46
Methodrun
Execute luminance analysis and filtering. Args: storage: DataFlow storage object figure_root: Direct
dataflow/operators/core_vision/filter/video_luminance_filter.py:153
Methodrun
( self, storage: DataFlowStorage, input_caption_key: str = "caption", input_qu
dataflow/operators/core_vision/filter/image_consistency_filter.py:74
Methodrun
(self, storage: DataFlowStorage, input_caption_key: str = "caption")
dataflow/operators/core_vision/filter/image_complexity_filter.py:95
Methodrun
(self, storage: DataFlowStorage, input_image_key: str = "image", input_caption_key: str = "caption", threshold
dataflow/operators/core_vision/filter/image_clip_filter.py:73
Methodrun
运行算子 Args: storage: DataFlow存储对象 video_key: 视频路径字段名 Returns: list:
dataflow/operators/core_vision/filter/video_motion_score_filter.py:238
Methodrun
Execute the CLIP score evaluation pipeline. Process flow: 1. Load data from storage 2. Extract images and te
dataflow/operators/core_vision/filter/clipscore_filter.py:140
Methodrun
执行分数过滤 Args: storage: DataFlowStorage对象,用于数据读写 input_score_key: 要过滤的分数列名(如 "reward", "accuracy" 等)
dataflow/operators/core_vision/filter/score_filter.py:37
Methodrun
(self, storage: DataFlowStorage, input_image_key: str = "image_path")
dataflow/operators/core_vision/filter/image_aesthetic_filter.py:105
Methodrun
(self, storage: DataFlowStorage, input_image_key: str, input_text_keys: list)
dataflow/operators/core_vision/filter/image_sensitive_filter.py:116
Methodrun
Execute the DataTailor evaluation pipeline. Process flow: 1. Load data from storage 2. Extract multi-modal t
dataflow/operators/core_vision/filter/datatailor_filter.py:374
Methodrun
Execute the similarity-based filtering pipeline. Process flow: 1. Load data from storage 2. Extract CLIP emb
dataflow/operators/core_vision/filter/knn_similarity_filter.py:143
Methodrun
(self, storage: DataFlowStorage, input_image_key: str = "image_path", input_text_key: str = "text")
dataflow/operators/core_vision/filter/image_diversity_filter.py:105
Methodrun
Execute the filtering pipeline. Process flow: 1. Load data from storage 2. Generate responses using rollout
dataflow/operators/core_vision/filter/failrate_filter.py:46
Methodrun
( self, storage: DataFlowStorage, input_video_key: str = "video", output_key:
dataflow/operators/core_vision/filter/video_info_filter.py:373
Methodrun
运行算子 Args: storage: DataFlow存储对象 video_key: 视频路径字段名 Returns: list:
dataflow/operators/core_vision/filter/video_resolution_filter.py:112
Methodrun
执行数据集过滤 Args: storage: DataFlowStorage对象,用于数据读写 input_video_key: 输入数据在storage中的键名 output
dataflow/operators/core_vision/filter/video_score_filter.py:222
Methodrun
Execute aesthetic scoring and filtering. Args: storage: DataFlow storage object figure_root: Directo
dataflow/operators/core_vision/filter/video_aesthetic_filter.py:146
Methodrun
( self, storage: DataFlowStorage, input_video_key: Optional[str] = None, video
dataflow/operators/core_vision/filter/video_clip_filter.py:353
Methodrun
( self, storage: DataFlowStorage, input_image_key: str = "image", input_captio
dataflow/operators/core_vision/filter/image_cat_filter.py:173
Methodrun
Read dataframe from storage, compute scenes, write dataframe back. Column names can be overridden via run() params.
dataflow/operators/core_vision/filter/video_scene_filter.py:556
Methodrun
(self, storage: DataFlowStorage, image_key: str, caption_key: str)
dataflow/operators/core_vision/filter/cat_filter.py:94
Methodrun
Execute OCR analysis and filtering. Args: storage: DataFlow storage object figure_root: Directory wh
dataflow/operators/core_vision/filter/video_ocr_filter.py:162
Methodrun
( self, storage: DataFlowStorage, input_video_key: Optional[str] = None, video
dataflow/operators/core_vision/filter/video_frame_filter.py:338
Methodrun
Execute the multi-modal filtering pipeline. Args: storage: DataFlow storage object input_image_key:
dataflow/operators/core_vision/filter/rule_base_filter.py:381
Methodrun
( self, storage: DataFlowStorage, input_image_key: str = "image", output_scor
dataflow/operators/core_vision/filter/image_deduplication_filter.py:159
Methodrun
Execute merged caption generation. Args: storage: DataFlow storage object caption_key: Override capt
dataflow/operators/core_vision/generate/video_merged_caption_generator.py:190
Methodrun
( self, storage: DataFlowStorage, input_image_key: str = "image", input_video_
dataflow/operators/core_vision/generate/video_caption_generator.py:71
Methodrun
( self, storage: DataFlowStorage, input_conversation_key: str = "conversation",
dataflow/operators/core_vision/generate/prompted_image_generator.py:30
Methodrun
( self, storage: DataFlowStorage, input_key: str = "mode", )
dataflow/operators/core_vision/generate/multimodal_math_generator.py:210
Methodrun
( self, storage: DataFlowStorage, input_image_key: str = "images", input_conve
dataflow/operators/core_vision/generate/prompted_image_edit_generator.py:52
Methodrun
( self, storage: DataFlowStorage, input_image_key: str = None, input_video_key
dataflow/operators/core_vision/generate/video_qa_generator.py:78
Methodrun
Process dataframe with video/image CoT QA generation. This operator only generates responses and extracts answers/processes.
dataflow/operators/core_vision/generate/video_cotqa_generator.py:102
Methodrun
(self, storage: DataFlowStorage, input_image_key: str = "image", input_bbox_key: str = "bbox")
dataflow/operators/core_vision/generate/image_bbox_generator.py:241
Methodrun
Main function to run the operator.
dataflow/core/Operator.py:14
Methodrun
(self, *args: P.args, **kwargs: P.kwargs)
dataflow/wrapper/batch_wrapper.py:43
Functionsafe_json_loads
(x)
dataflow/utils/storage.py:277
Functionsplit_sentences
将文本拆分为句子列表
dataflow/statics/pipelines/gpu_pipelines/image_scale_caption_pipeline.py:16
Functionsplit_sentences
将文本拆分为句子列表
dataflow/statics/pipelines/api_pipelines/image_scale_caption_api_pipeline.py:20
Methodstem
(x)
dataflow/operators/core_vision/eval/image_text/model/model_longclip.py:139
Functionsuccess
(self, message, *args, **kwargs)
dataflow/logger.py:8
Methodswitch_model
Switch to a different model with potentially different API configuration. Args: model: Model name to switch to
dataflow/serving/lite_llm_serving.py:88
Functiontest_all_operator_registry
Test function to check the operator registry. This will print all registered operators and their signatures.
test/cpu_only/test_register.py:6
Functiontokenize
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]] An input s
dataflow/operators/core_vision/eval/image_text/model/longclip.py:313
Methodwrite
(self, data: Any)
dataflow/utils/storage.py:22
Methodwrite
(self, data)
dataflow/utils/storage.py:52
Methodwrite
Write data to Myscale/ClickHouse table. data: pd.DataFrame or List[dict],每行是data字段内容(dict)。
dataflow/utils/storage.py:389
Methodwrite_media
将音频数据写入文件或其他存储
dataflow/io/qwen_audio/qwen_audio_2.py:28
Methodwrite_media
将音频数据写入文件或其他存储
dataflow/io/whisper/whisper.py:27
Methodwrite_media
(self, media_dict)
dataflow/io/unifiedreward_qwen/unifiedreward.py:61
Methodwrite_media
(self, media_dict)
dataflow/io/qwen_vl/qwen_vl_2_5.py:60
Methody
(self, x)
dataflow/operators/core_vision/generate/multimodal_math_generator.py:151
← previous901–991 of 991, ranked by callers