How roboflow knows how many epochs is enouch?

how roboflow knows how many epochs is enouch ?