-
Notifications
You must be signed in to change notification settings - Fork 6.8k
mxnet.io.NDArrayIter does not properly function when len(data) * 2 < batch_size and last_batch_handle='pad' #15535
Comments
Hey, this is the MXNet Label Bot. |
I was running your code, and it looks like data = mx.nd.arange(5)
dtIter = mx.io.NDArrayIter(data, batch_size=11) # everything is fine for batch_size upto 10
for i in dtIter:
print (i.data) prints: |
|
Oh man!! Sorry, I forgot to see what's the default. |
PS: workaround is to pad manually. |
@mxnet-label-bot add [python, bug] |
mxnet version:
1.4.0
minimal steps to reproduce:
The text was updated successfully, but these errors were encountered: