Open skylie-xtj opened 2 years ago
Hi Xu,
Thanks for your interest in our work.
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.
I will revise this part. Thanks!
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.