Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
f717f6bf
"vscode:/vscode.git/clone" did not exist on "22c50187d7bf4df8c8bc09a0048e3559a5e440d5"
Commit
f717f6bf
authored
Apr 19, 2017
by
Neal Wu
Browse files
Add a note rather than repeating the full command
parent
60d40dd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
street/README.md
street/README.md
+3
-7
No files found.
street/README.md
View file @
f717f6bf
...
@@ -48,18 +48,14 @@ sudo pip install numpy
...
@@ -48,18 +48,14 @@ sudo pip install numpy
Build the LSTM op:
Build the LSTM op:
Linux
```
```
cd cc
cd cc
TF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')
TF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')
g++ -std=c++11 -shared rnn_ops.cc -o rnn_ops.so -fPIC -I $TF_INC -O3 -mavx
g++ -std=c++11 -shared rnn_ops.cc -o rnn_ops.so -fPIC -I $TF_INC -O3 -mavx
```
```
Mac
```
(Note: if running on Mac, add
`-undefined dynamic_lookup`
to the end of your
cd cc
`g++`
command.)
TF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')
g++ -std=c++11 -shared rnn_ops.cc -o rnn_ops.so -fPIC -I $TF_INC -O3 -mavx -undefined dynamic_lookup
```
Run the unittests:
Run the unittests:
...
...
Write
Preview
Markdown
is supported
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