Revert drop_last

This commit is contained in:
Eren Gölge 2022-02-05 20:34:39 +01:00
parent 7dfd753d91
commit 1e219fef0a
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ class BaseTTS(BaseModel):
batch_size=config.eval_batch_size if is_eval else config.batch_size,
shuffle=False, # shuffle is done in the dataset.
collate_fn=dataset.collate_fn,
drop_last=True, # setting this False might cause issues in AMP training.
drop_last=False, # setting this False might cause issues in AMP training.
sampler=sampler,
num_workers=config.num_eval_loader_workers if is_eval else config.num_loader_workers,
pin_memory=False,