Unverified Commit 8332c1a6 authored by Simon Kirsten's avatar Simon Kirsten Committed by GitHub
Browse files

Enable multi-process DataLoader for dreambooth (#950)

parent bd06dd02
......@@ -502,7 +502,7 @@ def main():
return batch
train_dataloader = torch.utils.data.DataLoader(
train_dataset, batch_size=args.train_batch_size, shuffle=True, collate_fn=collate_fn
train_dataset, batch_size=args.train_batch_size, shuffle=True, collate_fn=collate_fn, num_workers=1
)
# Scheduler and math around the number of training steps.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment