Change default number of loader workers
This commit is contained in:
parent
7d3a598080
commit
ff4c2e12fd
@ -70,7 +70,7 @@ def add_common_args(parser):
|
||||
|
||||
parser.add_argument('--batches', type=int, required=True,
|
||||
help='mini-batch size, per GPU in training or in total in testing')
|
||||
parser.add_argument('--loader-workers', default=-8, type=int,
|
||||
parser.add_argument('--loader-workers', default=-2, type=int,
|
||||
help='number of subprocesses per data loader. '
|
||||
'0 to disable multiprocessing; '
|
||||
'negative number to multiply by the batch size')
|
||||
|
Loading…
Reference in New Issue
Block a user