mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2025-01-30 21:29:01 +00:00
Changed default core number.
This commit is contained in:
parent
e84403d5ac
commit
8840217829
@ -49,7 +49,7 @@ def parse_arguments():
|
|||||||
help="Keep intermediate files.",
|
help="Keep intermediate files.",
|
||||||
required=False)
|
required=False)
|
||||||
parser.add_argument("--nCores",
|
parser.add_argument("--nCores",
|
||||||
default=multiprocessing.cpu_count(),
|
default=min(4, multiprocessing.cpu_count()),
|
||||||
dest="nCores",
|
dest="nCores",
|
||||||
help="Total number of cores available.",
|
help="Total number of cores available.",
|
||||||
required=False,
|
required=False,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user