After using the mx.io.ImageRecordIter() to load my training examples, is there a way to retrieve the total number of examples from the returned DataIter object ?
Many thanks,
After using the mx.io.ImageRecordIter() to load my training examples, is there a way to retrieve the total number of examples from the returned DataIter object ?
Many thanks,
Length of the iterator is unknown until you iterate through it.
You could iterate through and count the number of examples but depending on the data set size, this could be a time consuming operation.