-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
| input_batch = input_tensor[:, b: b + batch_size, :] |
| target_batch = target_tensor[:, b: b + batch_size, :] |
Basically these lines are wrong and should be changed like below to iterate on all samples, although, it still doesn't consider the last samples which are not fit into (less than) one batch.
input_batch = input_tensor[:, b * batch_size: (b + 1) * batch_size, :]
target_batch = target_tensor[:, b * batch_size: (b + 1) * batch_size, :]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels