mxnet.image.ImageIter - how to know where data stops in last batch before raise of StopIteration?


#1

Hi all,

I tried to build two custom iterators, the one based on ImageIter had the problem that on the last batch before raise stopiteration at some point contained bogus data. how to know when in the last batch the good data ends and the bogus data starts?

Regards, Alex