Skip to content

Commit

Permalink
fixed tensorflow version to match 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
ChWick committed Oct 2, 2019
1 parent f4c18d1 commit 7f8ccb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ommr4all-deploy/deploy/run_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ommr4all-deploy/test/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7f8ccb1

Please sign in to comment.