MCPcopy Create free account

hub / github.com/OpenBMB/AgentCPM-GUI / functions

Functions568 in github.com/OpenBMB/AgentCPM-GUI

↓ 1 callersMethodget_cast_device
(self)
eval/utils/utils_odyssey/visual.py:323
↓ 1 callersMethodget_cast_dtype
(self)
eval/utils/utils_odyssey/visual.py:320
↓ 1 callersFunctionget_direction
Util function to get the direction from start point to destination point. Args: point1(Point), the start point. point2(Point
eval/run_predict_odyssey.py:102
↓ 1 callersFunctionget_grid_placeholder
(tokenizer, grid, query_num, new_schema=False)
sft/dataset.py:555
↓ 1 callersFunctionget_interactive_nodes
(forest)
eval/eval_data/process_ac.py:23
↓ 1 callersFunctionget_ltor_masks_and_position_ids
Build masks and position id for left to right model.
eval/utils/utils_odyssey/qwen_generation_utils.py:33
↓ 1 callersFunctionget_parameter_number
(model)
sft/finetune.py:160
↓ 1 callersFunctionget_qwen_response
Get the response from the Qwen model Args: user_query: user query text screenshot: screenshot path model_path: m
eval/run_predict_qwen2_5VL.py:200
↓ 1 callersFunctionget_qwen_response
Get response from Qwen model Args: user_query: User query text screenshot: Screenshot path model_path: Model pat
eval/utils/qwen_mobile_tool.py:263
↓ 1 callersFunctionget_qwen_response_low
Get the response from the Qwen model Args: user_query: user query text screenshot: screenshot path model_path: m
eval/run_predict_qwen2_5VL.py:99
↓ 1 callersFunctionget_refine_size
( original_size, grid, scale_resolution, patch_size, allow_upscale=False )
sft/dataset.py:514
↓ 1 callersFunctionis_interactive
(node)
eval/eval_data/process_ac.py:29
↓ 1 callersFunctioniterative_dfs
(root)
eval/eval_data/process_ac.py:36
↓ 1 callersMethodlazy_init
(self)
rft/trainer/utils/dataset.py:143
↓ 1 callersFunctionload_image
Origin code for loading the image. Args: image_file (str): the path or the url of the image. Note we didn't
eval/run_predict_aguvis.py:467
↓ 1 callersFunctionload_resized_image
(img_file:str|io.BytesIO, max_line_res: Optional[int] = None)
rft/trainer/utils/dataset.py:24
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/OS-genesis/bbox2text_eval_osgenesis.py:98
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/OS-genesis/fun2bbox_eval_osgenesis.py:120
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/OS-genesis/text2bbox_eval_osgenesis.py:122
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/minicpm/text2bbox_eval_minicpm.py:136
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/minicpm/bbox2text_eval_minicpm.py:127
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/minicpm/fun2bbox_eval_minicpm.py:129
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/UI-TARS/bbox2text_eval_uitars.py:106
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/UI-TARS/text2bbox_eval_uitars.py:124
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/UI-TARS/fun2bbox_eval_uitars.py:123
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/GPT-4o/text2bbox_eval_click.py:119
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/GPT-4o/bbox2text_eval.py:98
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_click.py:116
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/GPT-4o/text2bbox_eval_gpt-4o_with_grounding.py:146
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_gpt-4o_with_grounding.py:150
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/OS-Altas/text2bbox_eval_osatlas.py:118
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/OS-Altas/fun2bbox_eval_osatlas.py:118
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/OS-Altas/bbox2text_eval_osatlas.py:108
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/Aguvis/fun2bbox_eval_aguvis.py:114
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/Aguvis/text2bbox_eval_aguvis.py:115
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/Aguvis/bbox2text_eval_aguvis.py:98
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/Qwen2.5-VL/fun2bbox_eval_qwen.py:115
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/Qwen2.5-VL/bbox2text_eval_qwen.py:98
↓ 1 callersFunctionmain
()
eval/grounding_eval/code/Qwen2.5-VL/text2bbox_eval_qwen.py:120
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
rft/grpo.py:20
↓ 1 callersFunctionmake_his_idx
This code is used to generate the history index for the Odyssey agent, the origin code could be found in `format_converter.py` file. Args:
eval/run_predict_odyssey.py:203
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
sft/finetune.py:86
↓ 1 callersFunctionmapping_actions
This functiokn is used to transform the actions from odyssey agent into micicpm action space. Args: action(str): The action generate
eval/run_predict_odyssey.py:254
↓ 1 callersFunctionmapping_actions
Mapping the string from aguvis model into minicpm Action space. Args: episode (dict): The episode dict, containing all information a
eval/run_predict_aguvis.py:218
↓ 1 callersFunctionmerge_weight
This function is modified from the `merge_weight.py` file of Odyssey repo. It serves as a pre-processing of the model.
eval/run_predict_odyssey.py:74
↓ 1 callersFunctionobtain_gt_bbox
(coordinate, bbox_list, eval_android_control=False)
eval/utils/evaluator.py:76
↓ 1 callersFunctionpredict
(args, datasets)
eval/run_predict_os_gensis.py:282
↓ 1 callersFunctionpredict
(args)
eval/run_predict_odyssey.py:460
↓ 1 callersFunctionpredict
(args, datasets)
eval/run_predict_os_atlas.py:301
↓ 1 callersFunctionpredict
Entry function, predict based on the given args. Args: args
eval/run_predict_aguvis.py:592
↓ 1 callersFunctionpredict
(args, datasets)
eval/run_predict_ui_tars.py:360
↓ 1 callersFunctionpredict
(args, datasets)
eval/run_predict_qwen2_5VL.py:397
↓ 1 callersFunctionpredict
(args)
eval/run_predict_minicpm.py:130
↓ 1 callersFunctionpreprocess
single(multi) image(s) preprocess, the image(s) will be placed at the top of the conversation
sft/dataset.py:324
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-genesis/bbox2text_eval_osgenesis.py:92
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-genesis/fun2bbox_eval_osgenesis.py:114
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-genesis/text2bbox_eval_osgenesis.py:116
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/minicpm/text2bbox_eval_minicpm.py:127
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/minicpm/bbox2text_eval_minicpm.py:121
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/minicpm/fun2bbox_eval_minicpm.py:121
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/UI-TARS/bbox2text_eval_uitars.py:100
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/UI-TARS/text2bbox_eval_uitars.py:116
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/UI-TARS/fun2bbox_eval_uitars.py:115
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/GPT-4o/text2bbox_eval_click.py:113
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/GPT-4o/bbox2text_eval.py:92
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_click.py:109
↓ 1 callersFunctionprocess_item_async
(item, json_item, client, model_name, semaphore)
eval/grounding_eval/code/GPT-4o/text2bbox_eval_gpt-4o_with_grounding.py:140
↓ 1 callersFunctionprocess_item_async
(item, json_item, client, model_name, semaphore, new_image_dir)
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_gpt-4o_with_grounding.py:138
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-Altas/text2bbox_eval_osatlas.py:109
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-Altas/fun2bbox_eval_osatlas.py:109
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-Altas/bbox2text_eval_osatlas.py:102
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Aguvis/fun2bbox_eval_aguvis.py:108
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Aguvis/text2bbox_eval_aguvis.py:109
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Aguvis/bbox2text_eval_aguvis.py:92
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Qwen2.5-VL/fun2bbox_eval_qwen.py:109
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Qwen2.5-VL/bbox2text_eval_qwen.py:92
↓ 1 callersFunctionprocess_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Qwen2.5-VL/text2bbox_eval_qwen.py:114
↓ 1 callersFunctionprocess_position
(item, w, h)
eval/grounding_eval/code/minicpm/bbox2text_eval_minicpm.py:63
↓ 1 callersFunctionprocess_position
(item, w, h)
eval/grounding_eval/code/UI-TARS/bbox2text_eval_uitars.py:41
↓ 1 callersFunctionprocess_position
(item, w, h)
eval/grounding_eval/code/OS-Altas/bbox2text_eval_osatlas.py:41
↓ 1 callersFunctionread_episodes_from_jsonl
(jsonl_file_path, train_episodes, output_test_dir)
eval/eval_data/process_ac.py:246
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-genesis/bbox2text_eval_osgenesis.py:9
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-genesis/fun2bbox_eval_osgenesis.py:10
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-genesis/text2bbox_eval_osgenesis.py:9
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/minicpm/text2bbox_eval_minicpm.py:10
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/minicpm/bbox2text_eval_minicpm.py:10
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/minicpm/fun2bbox_eval_minicpm.py:11
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/UI-TARS/bbox2text_eval_uitars.py:9
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/UI-TARS/text2bbox_eval_uitars.py:9
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/UI-TARS/fun2bbox_eval_uitars.py:10
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/text2bbox_eval_click.py:9
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/bbox2text_eval.py:9
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_click.py:10
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/text2bbox_eval_gpt-4o_with_grounding.py:10
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_gpt-4o_with_grounding.py:10
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-Altas/text2bbox_eval_osatlas.py:9
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-Altas/fun2bbox_eval_osatlas.py:10
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-Altas/bbox2text_eval_osatlas.py:9
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/Aguvis/fun2bbox_eval_aguvis.py:10
↓ 1 callersFunctionread_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/Aguvis/text2bbox_eval_aguvis.py:9
← previousnext →201–300 of 568, ranked by callers