-
Notifications
You must be signed in to change notification settings - Fork 59
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
handling edge cases in preprocessing.FaceArtifacts
#666
Conversation
preprocessing. FaceArtifacts
preprocessing.FaceArtifacts
"Identification of face artifacts not possible.", | ||
UserWarning, | ||
stacklevel=2, | ||
) |
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.
) | |
) | |
self.threshold = None | |
self.face_artifacts = None |
I am not sure if we should not do this and maybe some other.
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.
So should we go ahead and assign all possible attributes as None
?
kde
pdf
peaks
d_peaks
valleys
d_valleys
threshold
face_artifacts
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.
I went ahead and pushed up all attr = None
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #666 +/- ##
=======================================
+ Coverage 97.4% 98.1% +0.8%
=======================================
Files 26 40 +14
Lines 4328 7180 +2852
=======================================
+ Hits 4214 7046 +2832
- Misses 114 134 +20
|
This PR:
preprocessing.FaceArtifacts
#664"face_artifact_index"
leads toLinAlgError
inpreprocessing.FaceArtifacts
#665