INK-USC / RE-Net

Recurrent Event Network: Autoregressive Structure Inference over Temporal Knowledge Graphs (EMNLP 2020)
http://inklab.usc.edu/renet/
435 stars 95 forks source link

A little error in Aggregator.py #22

Closed fdulcg closed 4 years ago

fdulcg commented 4 years ago

Appreciate for the efforts. A little mistakes occur in Aggregator.py line 38:

time_list.append(torch.LongTensor(times[length - self.seq_len:length]))

Maybe (length - self.seq_len): length ?

gui-li commented 4 years ago

@fdulcg Same issue here. Did you figure it out?