feat: Add OmniParser model downloader and converter scripts - #45
Merged
Conversation
- Implemented `convert_omniparser_to_onnx.py` for converting YOLO model from PyTorch to ONNX format. - Created `download_and_convert_all.py` to download both icon_detect and icon_caption_florence models and convert them to ONNX. - Added PowerShell scripts: `download_omniparser_model.ps1` for downloading the icon_detect model, and `setup_omniparser_complete.ps1` for complete setup including model conversion. - Introduced `setup_omniparser_full.ps1` for downloading and converting both detection and captioning models. - Developed test scripts: `test_ocr_simple.ps1` for Tesseract OCR initialization and `test_simple_omniparser.ps1` for testing model loading and inference. - Included model weights for icon_detect in the repository.
CakeRepository
added a commit
that referenced
this pull request
Nov 29, 2025
feat: Add OmniParser model downloader and converter scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
convert_omniparser_to_onnx.pyfor converting YOLO model from PyTorch to ONNX format.download_and_convert_all.pyto download both icon_detect and icon_caption_florence models and convert them to ONNX.download_omniparser_model.ps1for downloading the icon_detect model, andsetup_omniparser_complete.ps1for complete setup including model conversion.setup_omniparser_full.ps1for downloading and converting both detection and captioning models.test_ocr_simple.ps1for Tesseract OCR initialization andtest_simple_omniparser.ps1for testing model loading and inference.