File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -185,13 +185,17 @@ Note that this is different from `tensorflow/tensorflow:devel`. To be compatible
185
185
with TensorFlow PIP package, the GCC version must match, but
186
186
` tensorflow/tensorflow:devel ` has a different GCC version installed.
187
187
188
- Inside a Docker container, Git repo is cloned from GitHub, then run script
189
- ` //:build_pip_pkg ` .
188
+ Inside a Docker container from the image, the following steps need to be done.
189
+
190
+ 1 . Install TensorFlow PIP package.
191
+ 2 . Clone ` tensorflow-compression ` repo from GitHub.
192
+ 3 . Run ` :build_pip_pkg ` inside the cloned repo.
190
193
191
194
``` bash
192
195
sudo docker run -v /tmp/tensorflow_compression:/tmp/tensorflow_compression \
193
196
tensorflow/tensorflow:custom-op \
194
- bash -c " git clone https://github.com/tensorflow/compression.git
197
+ bash -c " pip install tensorflow &&
198
+ git clone https://github.com/tensorflow/compression.git
195
199
/tensorflow_compression && cd /tensorflow_compression &&
196
200
bazel run -c opt :build_pip_pkg"
197
201
```
You can’t perform that action at this time.
0 commit comments