add arg
This commit is contained in:
parent
f2561d7cf7
commit
ba10719520
|
|
@ -185,7 +185,7 @@ class TaskDataset(pl.LightningDataModule):
|
||||||
output["noisy"] = torch.stack(output["noisy"], dim=0)
|
output["noisy"] = torch.stack(output["noisy"], dim=0)
|
||||||
return output
|
return output
|
||||||
|
|
||||||
def worker_init_fn(self):
|
def worker_init_fn(self, _):
|
||||||
worker_info = torch.utils.data.get_worker_info()
|
worker_info = torch.utils.data.get_worker_info()
|
||||||
dataset = worker_info.dataset
|
dataset = worker_info.dataset
|
||||||
worker_id = worker_info.id
|
worker_id = worker_info.id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue