def __iter__(self):
        """ Will run testing at the beginning, then produce data normally. """
        self.start()
        yield from self.ds
 Will run testing at the beginning, then produce data normally. 
tensorpack/dataflow/common.py