mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 02:24:20 +00:00
Update ressource requirements.
This commit is contained in:
parent
388e0433fd
commit
1d6f1a8933
@ -18,8 +18,8 @@ def ocr():
|
||||
ocr_job = Job(creator=current_user._get_current_object(),
|
||||
description=new_ocr_job_form.description.data,
|
||||
service="ocr",
|
||||
ressources=json.dumps({"n_cores": 2,
|
||||
"mem_mb": 4096}),
|
||||
ressources=json.dumps({"n_cores": 4,
|
||||
"mem_mb": 8192}),
|
||||
service_args=json.dumps({"args": ["--keep-intermediates",
|
||||
"--skip-binarisation"],
|
||||
"lang": new_ocr_job_form.language.data,
|
||||
@ -71,8 +71,8 @@ def nlp():
|
||||
nlp_job = Job(creator=current_user._get_current_object(),
|
||||
description=new_nlp_job_form.description.data,
|
||||
service="nlp",
|
||||
ressources=json.dumps({"n_cores": 1,
|
||||
"mem_mb": 2048}),
|
||||
ressources=json.dumps({"n_cores": 2,
|
||||
"mem_mb": 4096}),
|
||||
service_args=json.dumps({"args": [],
|
||||
"lang": new_nlp_job_form.language.data,
|
||||
"version": new_nlp_job_form.version.data}),
|
||||
|
Loading…
Reference in New Issue
Block a user