fix readme download model weight folder structure

This commit is contained in:
yadonglu
2025-02-01 14:25:55 -08:00
parent 0a4a9f4d23
commit 80f6be73e1
2 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

@@ -7,3 +7,5 @@ weights/icon_detect_v1_5_2/
__pycache__/ __pycache__/
debug.ipynb debug.ipynb
util/__pycache__/ util/__pycache__/
index.html?linkid=2289031
wget-log

View File

@@ -45,7 +45,8 @@ Notes:
g. Continue from here if you already had the conda environment. g. Continue from here if you already had the conda environment.
h. Ensure you have the weights downloaded in weights folder. If not download them with `for folder in icon_caption_blip2 icon_caption_florence icon_detect icon_detect_v1_5; do huggingface-cli download microsoft/OmniParser --local-dir weights/"$folder" --repo-type model --include "$folder/*"; done` h. Ensure you have the weights downloaded in weights folder. If not download them with:
`for folder in icon_caption_florence icon_detect icon_detect_v1_5; do huggingface-cli download microsoft/OmniParser --local-dir weights/ --repo-type model --include "$folder/*"; done`
h. Navigate to the server directory with `cd OmniParser/computer_use_demo/omniparserserver` h. Navigate to the server directory with `cd OmniParser/computer_use_demo/omniparserserver`