Unverified Commit 87842db4 authored by xiang song(charlie.song)'s avatar xiang song(charlie.song) Committed by GitHub
Browse files

Fix for dataloader (#1353)

parent 3938b399
......@@ -272,7 +272,7 @@ class KGDatasetFreebase(KGDataset):
n_relations = int(f_rel.readline()[:-1])
return None, n_relations
def read_triple(self, path, mode, skip_first_line=False):
def read_triple(self, path, mode, skip_first_line=False, format=None):
heads = []
tails = []
rels = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment