CogKGE icon indicating copy to clipboard operation
CogKGE copied to clipboard

NameError: name 'EVENTKG2MLoader' is not defined

Open lu-tan-sfu opened this issue 1 year ago • 0 comments

When trying the code snippet in README.md, I receive the following error:

      3 from cogkge import *
      5 device = init_cogkge(device_id="cpu", seed=1)
----> 7 loader = EVENTKG2MLoader(dataset_path="../dataset", download=True)
      8 train_data, valid_data, test_data = loader.load_all_data()
      9 node_lut, relation_lut, time_lut = loader.load_all_lut()

NameError: name 'EVENTKG2MLoader' is not defined

Please advise on how to resolve. Thanks

lu-tan-sfu avatar Aug 21 '23 00:08 lu-tan-sfu