Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Hertz-Lab
Research
Intelligent Museum
ofxTensorFlow2
Commits
3f2b6d51
Commit
3f2b6d51
authored
Jan 26, 2022
by
Dan Wilcox
Browse files
added version as download_tensorflow script first argument
parent
7fbff5fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
3f2b6d51
...
...
@@ -122,6 +122,12 @@ When opting for GPU support set the `TYPE` script variable:
TYPE
=
gpu ./scripts/download_tensorflow.sh
```
Additionally, to use a specific version supply it as the first argument:
```
shell
./scripts/download_tensorflow.sh 2.7.0
```
See
<https://www.tensorflow.org/install/gpu>
for more information on GPU support for TensorFlow.
### Ubuntu / Linux
...
...
scripts/download_tensorflow.sh
View file @
3f2b6d51
...
...
@@ -8,8 +8,11 @@
# stop on error
set
-e
# tf version
# tf version
: optional argument
VER
=
2.7.0
if
[
"
$1
"
!=
""
]
;
then
VER
=
$1
fi
# tf type: cpu or gpu,
# override when running via: TYPE=gpu ./download_tensorflow.sh
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment