Skip to content

Check for requirements before installing conda packages during doctr_(det|reco)_predictor #2622

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

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

Conversation

hameerabbasi
Copy link

@hameerabbasi hameerabbasi commented Jul 2, 2025

In the install.py for two modules, conda is invoked to install packages. This PR adds a short check to only invoke conda install if the packages don't already exist in the conda environment. This speeds up the installation significantly in cases where the requirements already exist in the environment.

@hameerabbasi
Copy link
Author

@xuzhao9 From the commit history, it seems like you're the right person to review this PR.

@hameerabbasi hameerabbasi changed the title Check for requirements before installing conda packages. Check for requirements before installing conda packages during doctr_(det|reco)_predictor. Jul 7, 2025
@hameerabbasi hameerabbasi changed the title Check for requirements before installing conda packages during doctr_(det|reco)_predictor. Check for requirements before installing conda packages during doctr_(det|reco)_predictor Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants