Skip to content

Commit d9ff14d

Browse files
committed
lint
1 parent 81a5f66 commit d9ff14d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/utils/data/dataloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def __init__(self, dataset: Dataset[T_co], batch_size: Optional[int] = 1,
248248
else:
249249
if prefetch_factor is not None:
250250
raise ValueError('prefetch_factor option could only be specified in multiprocessing.'
251-
'let num_workers > 0 to enable multiprocessing, otherwise set prefetch_factor to None.')
251+
'let num_workers > 0 to enable multiprocessing, otherwise set prefetch_factor to None.')
252252

253253
if persistent_workers and num_workers == 0:
254254
raise ValueError('persistent_workers option needs num_workers > 0')

0 commit comments

Comments
 (0)