Skip to content

Commit

Permalink
Fix dependencies conflict between tensorflow and decomon in binder env
Browse files Browse the repository at this point in the history
  • Loading branch information
nhuet authored and ducoffeM committed Jan 19, 2024
1 parent 58e9242 commit 53a140e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ dependencies:
- pandas
- scipy
- tensorboard>=2.13
- tensorflow>=2.15
# - tensorflow>=2.15 # conflicting dependencies with decomon (keras 2)
- jupyter-server-proxy
- .. # decomon
2 changes: 2 additions & 0 deletions binder/postBuild
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# install tensorflow backend separately from decomon (dependencies conflict as tf 2.15 requires keras 2)
pip install tensorflow>=2.15
# use keras 3 instead of keras 2 installed by tensorflow
pip uninstall -y keras
pip install "keras>=3"
Expand Down

0 comments on commit 53a140e

Please sign in to comment.