Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setup script and update README with alternative installation instructions #196

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bannawandoor27
Copy link

This PR introduces a newsetup.sh script that provides an alternative installation method using Python's virtual environment (venv) alongside the existing conda-based setup. The script automates the following tasks:

  • Creates and activates a Python virtual environment

  • Installs all required dependencies

  • Downloads necessary model checkpoints from HuggingFace

  • Handles proper renaming of model directories
    Key Features:

  • Provides a simpler installation option for users who prefer not to use conda

  • Maintains backward compatibility with existing conda setup

  • Automates model weight downloads and directory structure setup

  • Includes clear post-installation instructions
    The setup script has been tested to ensure it properly:

  • Creates the virtual environment

  • Installs dependencies from requirements.txt

  • Downloads model checkpoints from microsoft/OmniParser-v2.0

  • Correctly renames the icon_caption directory to icon_caption_florence
    This addition makes the installation process more flexible while maintaining the existing functionality for conda users.

@bannawandoor27
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant