MobileAgent icon indicating copy to clipboard operation
MobileAgent copied to clipboard

CAPTION_CALL_METHOD = "local"时,报错ERROR: local variable 'qwen_dir' referenced before assignment

Open liutingffeng opened this issue 9 months ago • 1 comments

当使用 local qwen checkpoint 时,运行后提示

Image

原因是 load_perception_models 方法里,传给 vlm_tokenizer = AutoTokenizer.from_pretrained(qwen_dir, trust_remote_code=True) 的 dir路径问题,见如下代码

Image

liutingffeng avatar Feb 18 '25 11:02 liutingffeng

Thank you very much! 我们将会修复这个问题,也欢迎提交PR与我们一同共建😄

junyangwang0410 avatar Feb 24 '25 03:02 junyangwang0410