never run out of data
This commit is contained in:
parent
046410167f
commit
6f604acf0a
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class WebDataModuleFromConfig(pl.LightningDataModule):
|
||||||
tars,
|
tars,
|
||||||
nodesplitter=nodesplitter,
|
nodesplitter=nodesplitter,
|
||||||
shardshuffle=shardshuffle,
|
shardshuffle=shardshuffle,
|
||||||
handler=wds.warn_and_continue).shuffle(shuffle)
|
handler=wds.warn_and_continue).repeat().shuffle(shuffle)
|
||||||
print(f'Loading webdataset with {len(dset.pipeline[0].urls)} shards.')
|
print(f'Loading webdataset with {len(dset.pipeline[0].urls)} shards.')
|
||||||
|
|
||||||
dset = (dset
|
dset = (dset
|
||||||
|
|
Loading…
Reference in a new issue