-
Notifications
You must be signed in to change notification settings - Fork 61
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
[PTDT-2854] MAL and GT support for pdf relationships #1932
base: develop
Are you sure you want to change the base?
Conversation
@@ -169,6 +164,7 @@ def _create_non_video_annotations(cls, label: Label): | |||
VideoClassificationAnnotation, | |||
VideoObjectAnnotation, | |||
VideoMaskAnnotation, | |||
RelationshipAnnotation, |
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.
The relationships are currently included twice in the result when calling NDJsonConverter.serialize.
Because we already generate NDRelationship in yield from cls._create_relationship_annotations(label)
, there is no need to also do it in yield from cls._create_non_video_annotations(label)
29bea0d
to
ac91670
Compare
…fy its purpose in processing relationship annotations into NDJSON format.
Description
Added MAL and GT support for connecting classifications to PDF annotations (DocumentRectangle and DocumentEntity) using relationships.
How to test
Type of change
Please delete options that are not relevant.
All Submissions
New Feature Submissions
Changes to Core Features