-
Notifications
You must be signed in to change notification settings - Fork 2
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
DMC: Support Visual Inspection Scenarios #90
base: main
Are you sure you want to change the base?
Conversation
Supports retrieval of active scenarios and inspection logs from the DMC AIML API. Allows export of InspectionLogSets as DataFrames usable for general ML, binary classification, multilabel classification and object detection based on available information along with dictionaries containing the file content mapped to the file id.
Reduced duplications in inspection logs by implementing functions commonly used by all 'as_ml_input()' methods. Implemented some additional tests for some edge cases that were overlooked initially. Fixed code smells with bounding box conditions, order of and spacing between inputs and refactored all non-compliant docstrings.
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 think another round of discussion is needed on some of the issues.
And furthermore this change warrants a README / Docu / Tutorial change.
'from_date': 'fromDate', | ||
'to_date': 'toDate', |
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.
this expects a very clearly defined format (yyyy-MM-dd HH:mm:ss
). milliseconds can also be appended after a .
. (e.g. 2021-11-18 00:00:00.999
) not adhering to this format results in a HTTP 400 with no hint to what went wrong.
we have a problem in general with this "homebrew" list of filter fields and the corresponding "non-odata conform" filter language. we're not able to add query transformers.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
'from_date': 'fromDate', | ||
'to_date': 'toDate', |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
small changes according to review for Scenarios
inspectionLog has a unique ID now. timestamp now maps to inspectionLogTime tests adapted and simplified
inspectionLogTime is now a pd.Timestamp Consolidate data model (no tests) store decoded images in InspectionLogSet with duplicate warning small code and test adaptations fix Inspection Log tests Update comments Rename find_scenarios and update docstring
SonarCloud Quality Gate failed. |
Supports retrieval of active scenarios and inspection logs from the DMC AIML API. Allows export of InspectionLogSets as DataFrames usable for general ML, binary classification, multilabel classification and object detection based on available information along with dictionaries containing the file content mapped to the file id.
Description
Supported the following use case for the DMC API:
a. as_ml_input(),
b. as_binary_classification_input()
c. as_multilabel_classification_input()
d. as_object_detection_input()
Checklist
Mark "not applicable" if item on the list does not apply to this pull request.