Skip to content
Snippets Groups Projects
Commit a6c239f5 authored by Daniel Müller's avatar Daniel Müller :speech_balloon:
Browse files

Add additional python deps & fix tf detection

- Add additional python dependencies
- Change tensorflow installed detection to not check for version 2.7 .
  Since tf is installed from file, it doesn't register as version 2.7
parent 6db5e58f
No related branches found
No related tags found
No related merge requests found
......@@ -3,3 +3,5 @@ matplotlib==3.4.*
pandas==1.3.*
Pillow==8.4.*
scikit-learn==1.0.*
seaborn==0.11.*
plotly==5.4.*
......@@ -23,8 +23,8 @@
- name: Check if tensorflow is installed
shell: ". /home/{{ target_user }}/.ml-venv/bin/activate && pip3 freeze | grep -q tensorflow==2.7"
- name: Check if tensorflow is installed (from wheel file)
shell: ". /home/{{ target_user }}/.ml-venv/bin/activate && pip3 freeze | grep -q 'tensorflow @ file'"
register: tfinstalled
changed_when: "tfinstalled.rc != 0"
failed_when: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment