OmniParser icon indicating copy to clipboard operation
OmniParser copied to clipboard

where has the detection model been downloaded?

Open shan-zhong opened this issue 9 months ago • 2 comments

The gradio_demo.py downloads the detection model for the first time. Where is the downloaded file? I am trying it on a new machine, and the speed of network connection is terrible. I want copy the model from my old machine directly, in which I have already run gradio_demo.py successfully.

Image

shan-zhong avatar Mar 12 '25 03:03 shan-zhong

huggingface-cli download microsoft/OmniParser-v2.0 icon_detect/train_args.yaml icon_detect/model.pt icon_detect/model.yaml icon_caption/config.json icon_caption/generation_config.json icon_caption/model.safetensors --local-dir weights

agn-7 avatar May 23 '25 09:05 agn-7

Hi @shan-zhong ,

When you run gradio_demo.py for the first time, it will automatically download EasyOCR to ~/.EasyOCR/ and PaddleOCR to ~/.paddleocr/.

Phan-Tran-Khanh avatar Jun 10 '25 15:06 Phan-Tran-Khanh