-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #426 from adamcrume/master
Upgrade to TensorFlow 2.18.0
- Loading branch information
Showing
25 changed files
with
22,776 additions
and
1,548 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
tensorflow == 2.13.0 | ||
tensorflow == 2.18.0 | ||
tf_keras == 2.18.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
df -h || true | ||
du -sh || true | ||
du -sh /* || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# See https://www.tensorflow.org/install/pip#2-create-a-virtual-environment-recommended | ||
|
||
set -euo pipefail | ||
|
||
if [ "$#" -lt 1 ]; then | ||
echo "Expected first argument to be TensorFlow version" | ||
exit 1 | ||
fi | ||
TENSORFLOW_VERSION="$1" | ||
|
||
function run { | ||
echo "----------------------------------------------------------------------" | ||
echo "Running: $@" | ||
"$@" | ||
echo | ||
} | ||
|
||
run virtualenv --system-site-packages -p python3 ~/tensorflow-${TENSORFLOW_VERSION?} | ||
run source ~/tensorflow-${TENSORFLOW_VERSION?}/bin/activate | ||
run pip install --upgrade pip | ||
run pip install --upgrade tensorflow==${TENSORFLOW_VERSION?} | ||
run pip install tf_keras # required for examples/mobilenetv3 | ||
run deactivate |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.