Skip to content

How to speed up "Generating train split" #6205

Closed Answered by mariosasko
aihao2000 asked this question in Q&A
Discussion options

You must be logged in to vote

To parallelize the loading, the gen_kwargs requires a list that can be split into num_proc parts (shards), which are then passed to the generator (e.g., pass a list of image files or a list of directories (with the images) to parallelize over them)

Replies: 8 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by aihao2000
Comment options

You must be logged in to vote
1 reply
@mariosasko
Comment options

Comment options

You must be logged in to vote
1 reply
@mariosasko
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants