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

Introduce new Anomaly task #487

Merged
merged 13 commits into from
Sep 24, 2024
Merged

Conversation

igor-davidyuk
Copy link
Contributor

This PR is a part of the Platform Anomaly Reduction initiative.

@igor-davidyuk igor-davidyuk marked this pull request as draft September 3, 2024 07:46
@igor-davidyuk igor-davidyuk force-pushed the idavidyu/introduce-common-anomaly-task branch 2 times, most recently from df11442 to 86c9a57 Compare September 11, 2024 08:13
Copy link
Collaborator

@ljcornel ljcornel left a comment

Choose a reason for hiding this comment

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

Looks good to me, just a minor comment on the annotation conversion

@@ -160,6 +161,18 @@ def get_data(
label_name=label_dict["name"]
)
new_annotations.append(annotation_object)
if "anomal" in annotation_object.labels[0].name.lower():
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why don't you just check annotation_object.labels[0].name.lower() == "anomalous"? I believe that has been a constant throughout all older versions of Geti, the name of the anomalous label has not changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should not rely on the label name. Unfortunately, we do not save the 'is_anomalous' label flag.

geti_sdk/annotation_readers/geti_annotation_reader.py Outdated Show resolved Hide resolved
@igor-davidyuk igor-davidyuk force-pushed the idavidyu/introduce-common-anomaly-task branch from 3531616 to 9af57a9 Compare September 12, 2024 12:50
@igor-davidyuk igor-davidyuk force-pushed the idavidyu/introduce-common-anomaly-task branch from 9af57a9 to 5b43205 Compare September 20, 2024 07:26
@igor-davidyuk igor-davidyuk marked this pull request as ready for review September 20, 2024 07:32
@igor-davidyuk igor-davidyuk force-pushed the idavidyu/introduce-common-anomaly-task branch from 3c5df51 to cfaedfd Compare September 24, 2024 14:23
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor-Davidyuk <igor.davidyuk@intel.com>
@igor-davidyuk igor-davidyuk merged commit a6c6937 into main Sep 24, 2024
12 checks passed
@igor-davidyuk igor-davidyuk deleted the idavidyu/introduce-common-anomaly-task branch September 24, 2024 14: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