Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDCAI/DataFlow-MM
/ functions
Functions
991 in github.com/OpenDCAI/DataFlow-MM
⨍
Functions
991
◇
Types & classes
216
Method
joint_attention_kwargs
(self)
dataflow/serving/utils/diffusers/flux_kontext_pipeline.py:708
Method
length
(self)
dataflow/operators/core_audio/eval/audio_ctc_forced_alignment_transcription_quality_evaluator.py:457
Function
load
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
Function
load_audio
(audio_file: str, dtype: torch.dtype, device: str)
dataflow/operators/core_audio/eval/audio_ctc_forced_alignment_transcription_quality_evaluator.py:529
Function
load_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
Method
load_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
Function
normalize
( text: str, remove_punct: bool = True, lowercase: bool = True, nfd_unicode: bool = True,
dataflow/operators/core_vision/filter/rule_base_filter.py:36
Method
num_timesteps
(self)
dataflow/serving/utils/diffusers/flux_kontext_pipeline.py:712
Function
parse_mcq_text_logic
(mcq_text: str, expected: int = 5)
dataflow/statics/pipelines/gpu_pipelines/image_visual_only_mcq_pipeline.py:16
Function
parse_mcq_text_logic
(mcq_text: str, expected: int = 5)
dataflow/statics/pipelines/api_pipelines/image_visual_only_mcq_api_pipeline.py:18
Function
parse_questions_logic
解析 LLM 生成的 "Describe more details about..." 文本, 并自动扩展 position 问题。
dataflow/statics/pipelines/gpu_pipelines/image_scale_caption_pipeline.py:33
Function
parse_questions_logic
解析 LLM 生成的 "Describe more details about..." 文本, 并自动扩展 position 问题。
dataflow/statics/pipelines/api_pipelines/image_scale_caption_api_pipeline.py:37
Function
process
(a, tokenizer=None)
dataflow/utils/utils.py:155
Method
read
Read data from file. type: type that you want to read to, such as "datatrame", List[dict], etc.
dataflow/utils/storage.py:14
Method
read
(self, output_type: Literal["dataframe", "dict"] = "dataframe")
dataflow/utils/storage.py:49
Method
read
Read data from Myscale/ClickHouse table.
dataflow/utils/storage.py:353
Method
read
(self, image_paths: List[str])
dataflow/io/core_io/image_gen.py:15
Method
register
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
Method
reset
(self)
dataflow/utils/storage.py:102
Function
run
这个文档和签名都会被下面的 __wrapped__ / __signature__ 覆盖成 operator.run 的
dataflow/wrapper/batch_wrapper_backup.py:19
Method
run
(self, storage: DataFlowStorage, input_tree_key: str, output_key: str)
dataflow/operators/core_text/refine/mcts_tree_refiner.py:80
Method
run
(self, storage: DataFlowStorage, output_key: str, **input_keys)
dataflow/operators/core_text/refine/functional_refiner.py:47
Method
run
(self, storage: DataFlowStorage, input_text_key: str = "text")
dataflow/operators/core_audio/refine/audio_text_normalizer.py:145
Method
run
( self, storage: DataFlowStorage, input_audio_key: str = "audio", input_conve
dataflow/operators/core_audio/eval/audio_ctc_forced_alignment_transcription_quality_evaluator.py:332
Method
run
(self, storage: DataFlowStorage, input_audio_key: str = "audio", input_timestamps_key:
dataflow/operators/core_audio/generaterow/audio_timestamp_chunk_row_generator.py:181
Method
run
(self, storage: DataFlowStorage, input_audio_key: str = "audio", input_co
dataflow/operators/core_audio/filter/audio_ctc_forced_alignment_transcription_quality_filter.py:191
Method
run
(self, storage: DataFlowStorage, input_audio_key: str = "audio", input_co
dataflow/operators/core_audio/generate/prompted_aqa_generator.py:70
Method
run
( self, storage: DataFlowStorage, input_audio_key: str = "audio", output_answe
dataflow/operators/core_audio/generate/audio_silero_voice_activity_detection_timestamps_generator.py:262
Method
run
(self, storage: DataFlowStorage, input_conversation_key: str = "conversation",
dataflow/operators/conversations/format/conversation_to_message.py:106
Method
run
(self, storage: DataFlowStorage, input_list_key: str, input_image_key: str, output_key: str)
dataflow/operators/core_vision/refine/visual_grounding_refiner.py:64
Method
run
(self, storage: DataFlowStorage, image_key: str)
dataflow/operators/core_vision/refine/vision_seg_cutout_refiner.py:74
Method
run
(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
Method
run
(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
Method
run
( self, storage: DataFlowStorage, figure_root: Optional[str] = None, input_vid
dataflow/operators/core_vision/eval/video_aesthetic_evaluator.py:485
Method
run
Execute OCR analysis (main interface for DataFlowStorage)
dataflow/operators/core_vision/eval/video_ocr_evaluator.py:551
Method
run
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
Method
run
( self, storage: DataFlowStorage, figure_root: Optional[str] = None, input_vid
dataflow/operators/core_vision/eval/video_luminance_evaluator.py:425
Method
run
( self, storage: DataFlowStorage, input_image_key: str = "image_path", input_t
dataflow/operators/core_vision/eval/image_longclip_evaluator.py:108
Method
run
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
Method
run
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
Method
run
Execute luminance analysis and filtering. Args: storage: DataFlow storage object figure_root: Direct
dataflow/operators/core_vision/filter/video_luminance_filter.py:153
Method
run
( self, storage: DataFlowStorage, input_caption_key: str = "caption", input_qu
dataflow/operators/core_vision/filter/image_consistency_filter.py:74
Method
run
(self, storage: DataFlowStorage, input_caption_key: str = "caption")
dataflow/operators/core_vision/filter/image_complexity_filter.py:95
Method
run
(self, storage: DataFlowStorage, input_image_key: str = "image", input_caption_key: str = "caption", threshold
dataflow/operators/core_vision/filter/image_clip_filter.py:73
Method
run
运行算子 Args: storage: DataFlow存储对象 video_key: 视频路径字段名 Returns: list:
dataflow/operators/core_vision/filter/video_motion_score_filter.py:238
Method
run
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
Method
run
执行分数过滤 Args: storage: DataFlowStorage对象,用于数据读写 input_score_key: 要过滤的分数列名(如 "reward", "accuracy" 等)
dataflow/operators/core_vision/filter/score_filter.py:37
Method
run
(self, storage: DataFlowStorage, input_image_key: str = "image_path")
dataflow/operators/core_vision/filter/image_aesthetic_filter.py:105
Method
run
(self, storage: DataFlowStorage, input_image_key: str, input_text_keys: list)
dataflow/operators/core_vision/filter/image_sensitive_filter.py:116
Method
run
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
Method
run
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
Method
run
(self, storage: DataFlowStorage, input_image_key: str = "image_path", input_text_key: str = "text")
dataflow/operators/core_vision/filter/image_diversity_filter.py:105
Method
run
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
Method
run
( self, storage: DataFlowStorage, input_video_key: str = "video", output_key:
dataflow/operators/core_vision/filter/video_info_filter.py:373
Method
run
运行算子 Args: storage: DataFlow存储对象 video_key: 视频路径字段名 Returns: list:
dataflow/operators/core_vision/filter/video_resolution_filter.py:112
Method
run
执行数据集过滤 Args: storage: DataFlowStorage对象,用于数据读写 input_video_key: 输入数据在storage中的键名 output
dataflow/operators/core_vision/filter/video_score_filter.py:222
Method
run
Execute aesthetic scoring and filtering. Args: storage: DataFlow storage object figure_root: Directo
dataflow/operators/core_vision/filter/video_aesthetic_filter.py:146
Method
run
( self, storage: DataFlowStorage, input_video_key: Optional[str] = None, video
dataflow/operators/core_vision/filter/video_clip_filter.py:353
Method
run
( self, storage: DataFlowStorage, input_image_key: str = "image", input_captio
dataflow/operators/core_vision/filter/image_cat_filter.py:173
Method
run
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
Method
run
(self, storage: DataFlowStorage, image_key: str, caption_key: str)
dataflow/operators/core_vision/filter/cat_filter.py:94
Method
run
Execute OCR analysis and filtering. Args: storage: DataFlow storage object figure_root: Directory wh
dataflow/operators/core_vision/filter/video_ocr_filter.py:162
Method
run
( self, storage: DataFlowStorage, input_video_key: Optional[str] = None, video
dataflow/operators/core_vision/filter/video_frame_filter.py:338
Method
run
Execute the multi-modal filtering pipeline. Args: storage: DataFlow storage object input_image_key:
dataflow/operators/core_vision/filter/rule_base_filter.py:381
Method
run
( self, storage: DataFlowStorage, input_image_key: str = "image", output_scor
dataflow/operators/core_vision/filter/image_deduplication_filter.py:159
Method
run
Execute merged caption generation. Args: storage: DataFlow storage object caption_key: Override capt
dataflow/operators/core_vision/generate/video_merged_caption_generator.py:190
Method
run
( self, storage: DataFlowStorage, input_image_key: str = "image", input_video_
dataflow/operators/core_vision/generate/video_caption_generator.py:71
Method
run
( self, storage: DataFlowStorage, input_conversation_key: str = "conversation",
dataflow/operators/core_vision/generate/prompted_image_generator.py:30
Method
run
( self, storage: DataFlowStorage, input_key: str = "mode", )
dataflow/operators/core_vision/generate/multimodal_math_generator.py:210
Method
run
( self, storage: DataFlowStorage, input_image_key: str = "images", input_conve
dataflow/operators/core_vision/generate/prompted_image_edit_generator.py:52
Method
run
( self, storage: DataFlowStorage, input_image_key: str = None, input_video_key
dataflow/operators/core_vision/generate/video_qa_generator.py:78
Method
run
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
Method
run
(self, storage: DataFlowStorage, input_image_key: str = "image", input_bbox_key: str = "bbox")
dataflow/operators/core_vision/generate/image_bbox_generator.py:241
Method
run
Main function to run the operator.
dataflow/core/Operator.py:14
Method
run
(self, *args: P.args, **kwargs: P.kwargs)
dataflow/wrapper/batch_wrapper.py:43
Function
safe_json_loads
(x)
dataflow/utils/storage.py:277
Function
split_sentences
将文本拆分为句子列表
dataflow/statics/pipelines/gpu_pipelines/image_scale_caption_pipeline.py:16
Function
split_sentences
将文本拆分为句子列表
dataflow/statics/pipelines/api_pipelines/image_scale_caption_api_pipeline.py:20
Method
stem
(x)
dataflow/operators/core_vision/eval/image_text/model/model_longclip.py:139
Function
success
(self, message, *args, **kwargs)
dataflow/logger.py:8
Method
switch_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
Function
test_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
Function
tokenize
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
Method
write
(self, data: Any)
dataflow/utils/storage.py:22
Method
write
(self, data)
dataflow/utils/storage.py:52
Method
write
Write data to Myscale/ClickHouse table. data: pd.DataFrame or List[dict],每行是data字段内容(dict)。
dataflow/utils/storage.py:389
Method
write_media
将音频数据写入文件或其他存储
dataflow/io/qwen_audio/qwen_audio_2.py:28
Method
write_media
将音频数据写入文件或其他存储
dataflow/io/whisper/whisper.py:27
Method
write_media
(self, media_dict)
dataflow/io/unifiedreward_qwen/unifiedreward.py:61
Method
write_media
(self, media_dict)
dataflow/io/qwen_vl/qwen_vl_2_5.py:60
Method
y
(self, x)
dataflow/operators/core_vision/generate/multimodal_math_generator.py:151
← previous
901–991 of 991, ranked by callers