vonfeng / DeepMove

Codes for WWW'18 Paper-DeepMove: Predicting Human Mobility with Attentional Recurrent Network
GNU General Public License v2.0
143 stars 55 forks source link

An indent bug in train.py #2

Closed JerryLife closed 5 years ago

JerryLife commented 5 years ago

https://github.com/vonfeng/DeepMove/blob/0acff5d88d70d31a4fcf580648e0056e103dc6cf/codes/train.py#L143-L154 What does i in _datatrain[u][i] = trace refer to? Might be some missing indentations?

vonfeng commented 5 years ago

i is just for compatibility. Actually, it can be any number. Maybe I should replace it by 0 to avoid misunderstanding.