mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp.git
synced 2024-12-26 21:24:17 +00:00
min instead of max
This commit is contained in:
parent
f52fd385da
commit
2b7e8cd48d
2
nlp
2
nlp
@ -35,7 +35,7 @@ def parse_arguments():
|
|||||||
help="Output directory.",
|
help="Output directory.",
|
||||||
required=True)
|
required=True)
|
||||||
parser.add_argument("--nCores",
|
parser.add_argument("--nCores",
|
||||||
default=max(4, 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…
Reference in New Issue
Block a user