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

Bugfix/ Model upload logs #155

Merged
merged 5 commits into from
Jul 20, 2023
Merged

Bugfix/ Model upload logs #155

merged 5 commits into from
Jul 20, 2023

Conversation

SolomonLake
Copy link
Contributor

Description

Corrects logging for the model upload feature.

  • Required ultralytics version is > 8.0.20 rather than <
  • Deploy page URL is updated to correct path

Previous logs asked for ultralytics version < 8.0.20, even though we require a greater version. And they point to the old URL path of ../deploy/..
image

New logs point to correct path
image

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

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

Tested model upload with local package.

Any specific deployment considerations

None.

@Jacobsolawetz
Copy link
Contributor

I will defer to Paul to approve which versions we are supporting. I know previously the < was to prevent ultralytics from pushing breaking changes knowing we would support <

Things have presumably settled down over there...

@paulguerrie
Copy link
Contributor

Maybe we should pin to a specific version and have it match the version we use in the roboflow-model-conversion library.

@SolomonLake
Copy link
Contributor Author

Hmm. version 8.0.20 did not work for me, and latest ultralytics did work. 8.0.20 is giving me this error:
image

@SolomonLake
Copy link
Contributor Author

i'll pin it to the version in roboflow-model-conversion after I upgrade that ultralytics package

Copy link
Contributor

@paulguerrie paulguerrie left a comment

Choose a reason for hiding this comment

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

Looks great!

@@ -593,14 +593,14 @@ def deploy(self, model_type: str, model_path: str) -> None:

if self.public:
print(
f"View the status of your deployment at: {APP_URL}/{self.workspace}/{self.project}/deploy/{self.version}"
f"View the status of your deployment at: {APP_URL}/{self.workspace}/{self.project}/{self.version}"
Copy link
Contributor

Choose a reason for hiding this comment

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

💯

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, that's a big improvement!

@SolomonLake SolomonLake merged commit bbf5fa5 into main Jul 20, 2023
3 checks passed
@SolomonLake SolomonLake deleted the bugfix/model-upload-logs branch July 20, 2023 15:33
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