GUI-R1 icon indicating copy to clipboard operation
GUI-R1 copied to clipboard

Screenspot inference and evalutaion problem.

Open ambarion opened this issue 1 year ago • 1 comments

I use the inference_vllm_screenspot.py and eval_screenspot.py. But the pred_coord seems to be [absolute position] https://github.com/ritzz-ai/GUI-R1/blob/d43eea2f1c52356077034ff2524642fc05e06c6a/guir1/inference/inference_vllm_screenspot.py#L195, and in eval the absolute position is computed with relative position in [gt_bbox] https://github.com/ritzz-ai/GUI-R1/blob/d43eea2f1c52356077034ff2524642fc05e06c6a/guir1/eval/eval_screenspot.py#L61-L64.

So I modify these code and evaluate model on the screenspot dataset, but the results are not as good as those in the paper, especially Desktop-icon (67.xx).

Did i miss something or could you check the screenspot inference and eval code?

@RainBowLuoCS

ambarion avatar Jul 16 '25 05:07 ambarion

Do not modify the existing logic; simply use the inference script as is. The existing logic is correct.

RainBowLuoCS avatar Aug 06 '25 09:08 RainBowLuoCS