Skip to content

Commit 1baba84

Browse files
ssjhvSung Jin Hwang
authored andcommitted
Included a missing step (installing tensorflow pip package) in README.
PiperOrigin-RevId: 247564916 Change-Id: I60c552ec9dbba71a85044cabbd9f8f589d196a81
1 parent 787cbd1 commit 1baba84

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,17 @@ Note that this is different from `tensorflow/tensorflow:devel`. To be compatible
185185
with TensorFlow PIP package, the GCC version must match, but
186186
`tensorflow/tensorflow:devel` has a different GCC version installed.
187187

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.
190193

191194
```bash
192195
sudo docker run -v /tmp/tensorflow_compression:/tmp/tensorflow_compression \
193196
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
195199
/tensorflow_compression && cd /tensorflow_compression &&
196200
bazel run -c opt :build_pip_pkg"
197201
```

0 commit comments

Comments
 (0)