awslabs / dgl-ke

High performance, easy-to-use, and scalable package for learning large-scale knowledge graph embeddings.
https://dglke.dgl.ai/doc/
Apache License 2.0
1.28k stars 196 forks source link

Can not import function load_raw_emb_data #143

Closed MathildaSu closed 4 years ago

MathildaSu commented 4 years ago

Hi, I'm trying to use function load_raw_emb_data, But from dglke.utils import load_raw_emb_data gives error ImportError: cannot import name 'load_raw_emb_data'

and ```import dglke.utils as utils

utils.load_raw_emb_data`` gives error AttributeError: module 'dglke.utils' has no attribute 'load_raw_emb_data'`

Do you know when will this function be available? Thanks

classicsong commented 4 years ago

Currently DGL-KE is deployed as a cmdline toolkit. It does not work as the library, we are planing to make it as a library (that you can use dglke.utils.load_raw_emb_data) in 0.2.

MathildaSu commented 4 years ago

Ok, Thanks for clarification.