|
self.time_matrix_K_emb = torch.nn.Embedding(self.item_num+1, args.hidden_units) |
thx for your nice work about implementing 'TiSASRec' model with pytorch.
here is a issue: 'self.item_num+1' may be written in 'args.time_span+1', although with the condition of item_num > time_span , it will have no effect on the result.
TiSASRec.pytorch/model.py
Line 104 in e87342e
thx for your nice work about implementing 'TiSASRec' model with pytorch.
here is a issue: 'self.item_num+1' may be written in 'args.time_span+1', although with the condition of item_num > time_span , it will have no effect on the result.