Skip to content

Commit

Permalink
Fix for dataloader (dmlc#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
classicsong authored Mar 12, 2020
1 parent 3938b39 commit 87842db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/kg/dataloader/KGDataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def read_relation(self, relation_path):
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 = []
Expand Down

0 comments on commit 87842db

Please sign in to comment.