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

Allow use of prior cached model #1154

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Allow use of prior cached model #1154

merged 1 commit into from
Feb 15, 2024

Conversation

dlaflotte
Copy link
Contributor

Moving the requests.get(url) below the check for the cache. If your vision system is offline, and you have a cached model, the call to requests prior to checking the cache throws an exception. Now if you have a cached model it will use that first and only if you do not have a model will it switch to checking api.roboflow.com

Moving the requests.get(url) below the check for cache.  If your vision system is offline, and you have a cached model, the check prior to checking cache throws an exception.  Now if you have a cached model it will use that first and only if you dont have a model will it switch to checking api.roboflow.com
@Erol444
Copy link
Member

Erol444 commented Feb 14, 2024

That seems like an useful fix, thanks for the PR!

@Erol444 Erol444 merged commit 03ba356 into luxonis:main Feb 15, 2024
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.

2 participants