-
Notifications
You must be signed in to change notification settings - Fork 81
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
Accessing aligned pairs of trained model #48
Comments
Writing my question down helped me find a solution (see below). The issue is that Perhaps there's an easier way. Happy to hear it if it exists.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am following the entity alignment tutorial
tutorial/entity_alignment/main.py
and would like to store all closest alignments for each entity inmodel.kgs.kg1.entities_set
.Question: How can I access them?
Currently, I am using the following repurposed code (function added to
tutorial/entity_alignment/mtranse.py
):But the problem is that the tuple in
alignment_rest_12
cannot be mapped to the entity URIs. The integer values seem not to be referring to entity IDs sincefails.
The text was updated successfully, but these errors were encountered: