You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code is only an example. You should make some necessary modifications, for example, replacing model = oa.kge_model.TransE with model = oa.approaches.MTransE.
Dear author,
There is some errors when I run these codes:
import openea as oa
model = oa.kge_model.TransE
args = load_args("hyperparameter file folder")
kgs = read_kgs_from_folder("data folder")
model.set_args(args)
model.set_kgs(kgs)
model.init()
model.run()
model.test()
model.save()
AttributeError: module 'openea' has no attribute 'kge_model'
Looking for your reply! Thank you!
Best regards,
Xu.
The text was updated successfully, but these errors were encountered: