diff --git a/modules/ommr4all-server b/modules/ommr4all-server index 7451706..b5ef268 160000 --- a/modules/ommr4all-server +++ b/modules/ommr4all-server @@ -1 +1 @@ -Subproject commit 7451706e077d0553dae0001de1831b611b823548 +Subproject commit b5ef268c7c204c1c21273d58829aa15500fa662f diff --git a/ommr4all-deploy/deploy/run_deploy.py b/ommr4all-deploy/deploy/run_deploy.py index 7e605b5..80ebb1f 100644 --- a/ommr4all-deploy/deploy/run_deploy.py +++ b/ommr4all-deploy/deploy/run_deploy.py @@ -36,7 +36,7 @@ def main(): logger.info("Setting up virtual environment and dependencies") os.chdir(root_dir) - check_call([pip, 'install', 'tensorflow_gpu' if args.gpu else 'tensorflow']) + check_call([pip, 'install', 'tensorflow_gpu==1.14' if args.gpu else 'tensorflow==1.14']) check_call([pip, 'install', '-r', 'modules/ommr4all-server/requirements.txt']) for submodule in ['ommr4all-page-segmentation', 'ommr4all-line-detection', 'ommr4all-layout-analysis']: os.chdir('modules/' + submodule) diff --git a/ommr4all-deploy/test/run_test.py b/ommr4all-deploy/test/run_test.py index da5ada8..684124c 100644 --- a/ommr4all-deploy/test/run_test.py +++ b/ommr4all-deploy/test/run_test.py @@ -15,7 +15,7 @@ def main(): os.chdir(root_dir) # setup python3 venv for server testing - check_call([pip, 'install', 'tensorflow']) + check_call([pip, 'install', 'tensorflow==1.14']) check_call([pip, 'install', '-r', 'modules/ommr4all-server/requirements.txt']) for submodule in ['ommr4all-page-segmentation', 'ommr4all-line-detection', 'ommr4all-layout-analysis', 'calamari']: os.chdir('modules/' + submodule)