Skip to content

Commit

Permalink
fix encode_annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Nov 13, 2024
1 parent e9acb06 commit c2ad563
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def encode_annotations(
reversed_rel = BinaryRelation(
head=rel.tail,
tail=rel.head,
label=rel.label + self.REVERSED_RELATION_LABEL_SUFFIX,
label=reversed_label,
)
encoded_reversed_rel = self.relation_encoder_decoder.encode(
annotation=reversed_rel, metadata=metadata
Expand Down

0 comments on commit c2ad563

Please sign in to comment.