Training loop does not update relation representations when continuing training #1357
Open
3 tasks done
Labels
bug
Something isn't working
Describe the bug
When looking at the representations of TransE before and after training multiple times using the training loop with
continue_training=True
, only the entity representation changes. In contrast the relation representation does not change. It would be expected, that the relation representation changes just like the entity representation.I believe this problem might exist for other models as well (e. g. DistMult)
How to reproduce
If we now look at the saved relation representations in
reps
we can see that they don't change over time. They are always equal to the first representation in the list. You can try this by comparing the relation representations like this:All of the items will be
True
. We'd expect to see differences and thereforeFalse
for most of these values. You can see a perfect example of what it should look like when doing the same for the entity representation:Environment
Additional information
No response
Issue Template Checks
The text was updated successfully, but these errors were encountered: