-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[83,0] = 20 is not in [0, 20)
[[{{node embedding_lookup_1}}]]
Original stack trace for 'embedding_lookup_1':
File "main.py", line 99, in
model = MIR4SR(hidden_size=opt.hidden_size,
File "F:\pycharm_project\tensorflow_project\MTD\MTD\model.py", line 474, in init
self.build_sa()
File "F:\pycharm_project\tensorflow_project\MTD\MTD\model.py", line 562, in build_sa
loss, self.logits = sa(self.embedding,
File "F:\pycharm_project\tensorflow_project\MTD\MTD\model.py", line 267, in sa
pos_emb = tf.nn.embedding_lookup(pos_table, pos)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels