-
Notifications
You must be signed in to change notification settings - Fork 25
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
Conversation
df11442
to
86c9a57
Compare
There was a problem hiding this 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(): |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
3531616
to
9af57a9
Compare
9af57a9
to
5b43205
Compare
3c5df51
to
cfaedfd
Compare
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>
This PR is a part of the Platform Anomaly Reduction initiative.