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 inference_id to batches created by AL #319

Merged
merged 6 commits into from
Mar 18, 2024

Conversation

robiscoding
Copy link
Contributor

@robiscoding robiscoding commented Mar 11, 2024

Description

In order to display inference images in the model monitoring dashboard, we need to add the inference id to the images created from inference requests via the AL workflow

Relates to: https://github.com/roboflow/roboflow/pull/3080

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?

Any specific deployment considerations

For example, documentation changes, usability, usage/costs, secrets, etc.

Docs

  • Docs updated? What were the changes:

@@ -53,6 +53,7 @@ def execute_datapoint_registration(
configuration: ActiveLearningConfiguration,
api_key: str,
batch_name: str,
inference_id=None,
Copy link
Collaborator

Choose a reason for hiding this comment

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

typing hint required

@PawelPeczek-Roboflow
Copy link
Collaborator

Do we still need it?

@robiscoding
Copy link
Contributor Author

Do we still need it?

By it do you mean do we still need the inference_id? If so, then yes we do. I still need to fix the failing test before this is ready for review (currently a Draft/WIP)

@robiscoding robiscoding marked this pull request as ready for review March 13, 2024 14:45
@robiscoding
Copy link
Contributor Author

Ready for review

@PawelPeczek-Roboflow
Copy link
Collaborator

I do not see inference_id being passed by the caller. Is that intentional?

Copy link
Collaborator

@PawelPeczek-Roboflow PawelPeczek-Roboflow left a comment

Choose a reason for hiding this comment

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

Ok, I made mistake in previous comment overlooking actual usage. LGTM

@PawelPeczek-Roboflow PawelPeczek-Roboflow merged commit 7f95ba0 into main Mar 18, 2024
26 checks passed
@PawelPeczek-Roboflow PawelPeczek-Roboflow deleted the add-inference-id branch March 18, 2024 19:10
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