My bad. I don’t know why, but every time I instantiate a new ImageDataGenerator, the inner variable remain into memory. So every time I create a new ImageDataGenerator the new list of images is added to the previous one.
So this post can be closed.