Created
June 20, 2019 19:47
-
-
Save sbalnojan/86c9abfd905687ed4f6d1606aecf5983 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edge_paths = [os.path.join(DATA_DIR, name) for name in FILENAMES.values()] | |
from torchbiggraph.converters.import_from_tsv import convert_input_data | |
convert_input_data( | |
CONFIG_PATH, | |
edge_paths, | |
lhs_col=0, | |
rhs_col=1, | |
rel_col=None, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment