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 downloads for non object-detection models #226

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

sberan
Copy link
Contributor

@sberan sberan commented Jan 30, 2024

Description

Moves download logic into the base class to allow download of any model. Whether the model can be downloaded is controlled server-side, so in the future, model downloads can be added server-side without the need for client changes.

Type of change

  • New feature (non-breaking change which adds functionality)

How has this change been tested, please provide a testcase or example of how you tested the change?

Tested in staging.

Any specific deployment considerations

Will need to release a new version of the sdk.

Docs

  • n/a

@sberan sberan requested a review from tonylampada January 30, 2024 21:14
@sberan sberan requested a review from paulguerrie January 31, 2024 14:29
@sberan sberan merged commit 4632fab into main Jan 31, 2024
6 checks passed
@sberan sberan deleted the additional-model-downloads branch January 31, 2024 14:39
r = requests.get(pt_api_url, params={"api_key": self.__api_key})

r.raise_for_status()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the bar_progress removed?

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.

3 participants