How to display progress on IterableDataset? #7528
-
When I use an
Which does not display a progress. Even if I specify a validation interval, there is no progress shown. Is there a way I can specify an "epoch length", or something like that for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi If you really need to have epochs, I suggest you try to rewrite your dataset logic into a regular Dataset. |
Beta Was this translation helpful? Give feedback.
Hi
IterableDatasets don't have a lengh defined. They can either be infinite in size or raise StopIteration at an arbitrary point. Hence, there is no notion of epochs and we cannot anticipate when it finishes iterations.
If you really need to have epochs, I suggest you try to rewrite your dataset logic into a regular Dataset.