CTZhou-byte
CTZhou-byte
> 你好,我使用本地部署,在screenspotv2上进行测试,结果达不到预期。 对这个绝对坐标有一点疑问: 一、我使用如下代码测出来结果比较接近 `model = Qwen2_5_VLForConditionalGeneration.from_pretrained( qwen_path, torch_dtype=torch.bfloat16, device_map="cuda" ) > > processor = AutoProcessor.from_pretrained(qwen_path) > > image = Image.open(img_path) > > inputs = processor( text=[text], images=[image], padding=True, return_tensors="pt",...
不不不,我只是在做推理。那UI-R1推理一次的速度就是2分多吗?
我刚确认了下,同一个环境,UI-R1是1m50s;GUI-R1是5.8s。图片是androidcontrol的数据集,但推理效果不错
action:{'action': 'click', 'point': [546, 1731], 'input_text': 'no input text'}, ground_truth:{'action': 'click', 'point': [788, 739], 'input_text': 'no input text'} action:{'action': 'open_app', 'point': [150, 150], 'input_text': 'no input text'}, ground_truth:{'action': 'open_app', 'point':...
我是直接拿数据集,构造prompt,然后在GUI-R1-7B上推理,然后提取成action:的格式,再把ground_truth也构造成这种。打印log,对比下准确性的。显然,前几个是不太一样的。这个是ac_low数据集。
但是openapp,scroll这些输出坐标就很诡异
{ "image": "", "instruction": "Click on the podcasts", "gt_action": "click", "gt_bbox": [ 455, 1212 ], "gt_input_text": "no input text", "group": "android", "ui_type": "click", "scale": [], "image_size": [ 1092, 2408 ],...