Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBMB/AgentCPM-GUI
/ functions
Functions
568 in github.com/OpenBMB/AgentCPM-GUI
⨍
Functions
568
◇
Types & classes
49
↓ 1 callers
Method
get_cast_device
(self)
eval/utils/utils_odyssey/visual.py:323
↓ 1 callers
Method
get_cast_dtype
(self)
eval/utils/utils_odyssey/visual.py:320
↓ 1 callers
Function
get_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 callers
Function
get_grid_placeholder
(tokenizer, grid, query_num, new_schema=False)
sft/dataset.py:555
↓ 1 callers
Function
get_interactive_nodes
(forest)
eval/eval_data/process_ac.py:23
↓ 1 callers
Function
get_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 callers
Function
get_parameter_number
(model)
sft/finetune.py:160
↓ 1 callers
Function
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
get_refine_size
( original_size, grid, scale_resolution, patch_size, allow_upscale=False )
sft/dataset.py:514
↓ 1 callers
Function
is_interactive
(node)
eval/eval_data/process_ac.py:29
↓ 1 callers
Function
iterative_dfs
(root)
eval/eval_data/process_ac.py:36
↓ 1 callers
Method
lazy_init
(self)
rft/trainer/utils/dataset.py:143
↓ 1 callers
Function
load_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 callers
Function
load_resized_image
(img_file:str|io.BytesIO, max_line_res: Optional[int] = None)
rft/trainer/utils/dataset.py:24
↓ 1 callers
Function
main
()
eval/grounding_eval/code/OS-genesis/bbox2text_eval_osgenesis.py:98
↓ 1 callers
Function
main
()
eval/grounding_eval/code/OS-genesis/fun2bbox_eval_osgenesis.py:120
↓ 1 callers
Function
main
()
eval/grounding_eval/code/OS-genesis/text2bbox_eval_osgenesis.py:122
↓ 1 callers
Function
main
()
eval/grounding_eval/code/minicpm/text2bbox_eval_minicpm.py:136
↓ 1 callers
Function
main
()
eval/grounding_eval/code/minicpm/bbox2text_eval_minicpm.py:127
↓ 1 callers
Function
main
()
eval/grounding_eval/code/minicpm/fun2bbox_eval_minicpm.py:129
↓ 1 callers
Function
main
()
eval/grounding_eval/code/UI-TARS/bbox2text_eval_uitars.py:106
↓ 1 callers
Function
main
()
eval/grounding_eval/code/UI-TARS/text2bbox_eval_uitars.py:124
↓ 1 callers
Function
main
()
eval/grounding_eval/code/UI-TARS/fun2bbox_eval_uitars.py:123
↓ 1 callers
Function
main
()
eval/grounding_eval/code/GPT-4o/text2bbox_eval_click.py:119
↓ 1 callers
Function
main
()
eval/grounding_eval/code/GPT-4o/bbox2text_eval.py:98
↓ 1 callers
Function
main
()
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_click.py:116
↓ 1 callers
Function
main
()
eval/grounding_eval/code/GPT-4o/text2bbox_eval_gpt-4o_with_grounding.py:146
↓ 1 callers
Function
main
()
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_gpt-4o_with_grounding.py:150
↓ 1 callers
Function
main
()
eval/grounding_eval/code/OS-Altas/text2bbox_eval_osatlas.py:118
↓ 1 callers
Function
main
()
eval/grounding_eval/code/OS-Altas/fun2bbox_eval_osatlas.py:118
↓ 1 callers
Function
main
()
eval/grounding_eval/code/OS-Altas/bbox2text_eval_osatlas.py:108
↓ 1 callers
Function
main
()
eval/grounding_eval/code/Aguvis/fun2bbox_eval_aguvis.py:114
↓ 1 callers
Function
main
()
eval/grounding_eval/code/Aguvis/text2bbox_eval_aguvis.py:115
↓ 1 callers
Function
main
()
eval/grounding_eval/code/Aguvis/bbox2text_eval_aguvis.py:98
↓ 1 callers
Function
main
()
eval/grounding_eval/code/Qwen2.5-VL/fun2bbox_eval_qwen.py:115
↓ 1 callers
Function
main
()
eval/grounding_eval/code/Qwen2.5-VL/bbox2text_eval_qwen.py:98
↓ 1 callers
Function
main
()
eval/grounding_eval/code/Qwen2.5-VL/text2bbox_eval_qwen.py:120
↓ 1 callers
Function
main
(script_args, training_args, model_args)
rft/grpo.py:20
↓ 1 callers
Function
make_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 callers
Function
make_supervised_data_module
Make dataset and collator for supervised fine-tuning.
sft/finetune.py:86
↓ 1 callers
Function
mapping_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 callers
Function
mapping_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 callers
Function
merge_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 callers
Function
obtain_gt_bbox
(coordinate, bbox_list, eval_android_control=False)
eval/utils/evaluator.py:76
↓ 1 callers
Function
predict
(args, datasets)
eval/run_predict_os_gensis.py:282
↓ 1 callers
Function
predict
(args)
eval/run_predict_odyssey.py:460
↓ 1 callers
Function
predict
(args, datasets)
eval/run_predict_os_atlas.py:301
↓ 1 callers
Function
predict
Entry function, predict based on the given args. Args: args
eval/run_predict_aguvis.py:592
↓ 1 callers
Function
predict
(args, datasets)
eval/run_predict_ui_tars.py:360
↓ 1 callers
Function
predict
(args, datasets)
eval/run_predict_qwen2_5VL.py:397
↓ 1 callers
Function
predict
(args)
eval/run_predict_minicpm.py:130
↓ 1 callers
Function
preprocess
single(multi) image(s) preprocess, the image(s) will be placed at the top of the conversation
sft/dataset.py:324
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-genesis/bbox2text_eval_osgenesis.py:92
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-genesis/fun2bbox_eval_osgenesis.py:114
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-genesis/text2bbox_eval_osgenesis.py:116
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/minicpm/text2bbox_eval_minicpm.py:127
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/minicpm/bbox2text_eval_minicpm.py:121
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/minicpm/fun2bbox_eval_minicpm.py:121
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/UI-TARS/bbox2text_eval_uitars.py:100
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/UI-TARS/text2bbox_eval_uitars.py:116
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/UI-TARS/fun2bbox_eval_uitars.py:115
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/GPT-4o/text2bbox_eval_click.py:113
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/GPT-4o/bbox2text_eval.py:92
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_click.py:109
↓ 1 callers
Function
process_item_async
(item, json_item, client, model_name, semaphore)
eval/grounding_eval/code/GPT-4o/text2bbox_eval_gpt-4o_with_grounding.py:140
↓ 1 callers
Function
process_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 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-Altas/text2bbox_eval_osatlas.py:109
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-Altas/fun2bbox_eval_osatlas.py:109
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/OS-Altas/bbox2text_eval_osatlas.py:102
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Aguvis/fun2bbox_eval_aguvis.py:108
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Aguvis/text2bbox_eval_aguvis.py:109
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Aguvis/bbox2text_eval_aguvis.py:92
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Qwen2.5-VL/fun2bbox_eval_qwen.py:109
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Qwen2.5-VL/bbox2text_eval_qwen.py:92
↓ 1 callers
Function
process_item_async
(item, client, model_name, semaphore)
eval/grounding_eval/code/Qwen2.5-VL/text2bbox_eval_qwen.py:114
↓ 1 callers
Function
process_position
(item, w, h)
eval/grounding_eval/code/minicpm/bbox2text_eval_minicpm.py:63
↓ 1 callers
Function
process_position
(item, w, h)
eval/grounding_eval/code/UI-TARS/bbox2text_eval_uitars.py:41
↓ 1 callers
Function
process_position
(item, w, h)
eval/grounding_eval/code/OS-Altas/bbox2text_eval_osatlas.py:41
↓ 1 callers
Function
read_episodes_from_jsonl
(jsonl_file_path, train_episodes, output_test_dir)
eval/eval_data/process_ac.py:246
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-genesis/bbox2text_eval_osgenesis.py:9
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-genesis/fun2bbox_eval_osgenesis.py:10
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-genesis/text2bbox_eval_osgenesis.py:9
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/minicpm/text2bbox_eval_minicpm.py:10
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/minicpm/bbox2text_eval_minicpm.py:10
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/minicpm/fun2bbox_eval_minicpm.py:11
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/UI-TARS/bbox2text_eval_uitars.py:9
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/UI-TARS/text2bbox_eval_uitars.py:9
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/UI-TARS/fun2bbox_eval_uitars.py:10
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/text2bbox_eval_click.py:9
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/bbox2text_eval.py:9
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_click.py:10
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/text2bbox_eval_gpt-4o_with_grounding.py:10
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/GPT-4o/fun2bbox_eval_gpt-4o_with_grounding.py:10
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-Altas/text2bbox_eval_osatlas.py:9
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-Altas/fun2bbox_eval_osatlas.py:10
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/OS-Altas/bbox2text_eval_osatlas.py:9
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/Aguvis/fun2bbox_eval_aguvis.py:10
↓ 1 callers
Function
read_jsonl
读取 JSONL 文件并解析为 Python 字典列表 :param file_path: JSONL 文件路径 :return: 包含所有 JSON 对象的列表
eval/grounding_eval/code/Aguvis/text2bbox_eval_aguvis.py:9
← previous
next →
201–300 of 568, ranked by callers