chenyangqi commited on
Commit
590b13e
1 Parent(s): a24623d

reduce worker

Browse files
FateZero/test_fatezero.py CHANGED
@@ -150,7 +150,7 @@ def test(
150
  train_dataset,
151
  batch_size=train_batch_size,
152
  shuffle=True,
153
- num_workers=4,
154
  collate_fn=collate_fn,
155
  )
156
  train_sample_save_path = os.path.join(logdir, "train_samples.gif")
 
150
  train_dataset,
151
  batch_size=train_batch_size,
152
  shuffle=True,
153
+ num_workers=0,
154
  collate_fn=collate_fn,
155
  )
156
  train_sample_save_path = os.path.join(logdir, "train_samples.gif")
FateZero/train_tune_a_video.py CHANGED
@@ -240,7 +240,7 @@ def train(
240
  train_dataset,
241
  batch_size=train_batch_size,
242
  shuffle=True,
243
- num_workers=16,
244
  collate_fn=collate_fn,
245
  )
246
 
 
240
  train_dataset,
241
  batch_size=train_batch_size,
242
  shuffle=True,
243
+ num_workers=0,
244
  collate_fn=collate_fn,
245
  )
246