-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Hi thanks for the code.
But I found some problematic part in your code
in
time_proj.py
in def load_data()
there is this code snippet
with open(self.p.dataset,'r') as filein:
for line in filein:
train_triples.append([int(x.strip()) for x in line.split()[0:3]])
triple_time[count] = [x.split('-')[0] for x in line.split()[3:5]]
count+=1self.p.dataset means the trainset of data.
and the line
triple_time[count] = [x.split('-')[0] for x in line.split()[3:5]] splits time interval part with '-'
but inside YAGO's dataset, there is fact like this

And this fact's start time will be parsed like this

It seems problematic to me...
Isn't it???
Metadata
Metadata
Assignees
Labels
No labels