Skip to content

Commit

Permalink
chor: cleaned the shell.nix file of the aggregator, and removed unece…
Browse files Browse the repository at this point in the history
…ssary file
  • Loading branch information
yassinebenarbia committed May 29, 2024
1 parent 4823608 commit 8e36aa7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
16 changes: 0 additions & 16 deletions aggregator/junk.norg

This file was deleted.

6 changes: 3 additions & 3 deletions aggregator/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ pkgs.mkShell {
glib
python311Packages.flask
python311Packages.cryptography
python311Packages.paho-mqtt
python311Packages.h5py
];

LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib/:/run/opengl-driver/lib/";
# using pip here in case some packages are not available in
# the nix store, e.g. tensorflow_hub, sklearn, etc
shellHook = ''
Expand All @@ -34,7 +32,9 @@ pkgs.mkShell {
tar xzf ./venv/models/movenet/thunder/out.tar.gz --directory ./venv/models/movenet/thunder/
)
pip install 'keras==2.15' pyDH 'tensorflow==2.15' tensorflow_hub --upgrade
source ./venv/bin/activate
pip install 'keras==2.15' pyDH 'tensorflow==2.15' tensorflow_hub --upgrade
./venv/bin/python main.py
'';
}
1 change: 1 addition & 0 deletions client/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ pkgs.mkShell {
python -m venv venv
source ./venv/bin/activate
pip install tensorflow tensorflow_hub pyDH
./venv/bin/python main.py
'';
}

0 comments on commit 8e36aa7

Please sign in to comment.