Skip to content

Commit b43e7e4

Browse files
committed
Some extra installation tips.
1 parent d9aa090 commit b43e7e4

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,25 @@ see (https://github.com/rwightman/posenet-pytorch)
1515

1616
### Install
1717

18-
A suitable Python 3.x environment with Tensorflow 2.x.
18+
A suitable Python 3.x environment with Tensorflow 2.x. For a quick setup, use docker.
1919

2020
If you want to use the webcam demo, a pip version of opencv (`pip install opencv-python`) is required instead of
2121
the conda version. Anaconda's default opencv does not include ffpmeg/VideoCapture support. Also, you may have to
2222
force install version 3.4.x as 4.x has a broken drawKeypoints binding.
2323

2424
Have a look at the docker configuration for a quick setup. If you want conda, have a look at the `requirements.txt`
25-
file to see what you should install.
25+
file to see what you should install. Know that we rely on https://github.com/patlevin/tfjs-to-tf for
26+
converting the tensorflow.js serialization to the tensorflow saved model. So you have to install this package:
27+
28+
```bash
29+
git clone https://github.com/patlevin/tfjs-to-tf.git
30+
cd tfjs-to-tf
31+
pip install . --no-deps
32+
```
33+
34+
Use the `--no-deps` flag to prevent tfjs-to-tf from installing Tensorflow 1.x as this would uninstall your
35+
Tensorflow 2.x!
36+
2637

2738
### Using Docker
2839

0 commit comments

Comments
 (0)