File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,25 @@ see (https://github.com/rwightman/posenet-pytorch)
15
15
16
16
### Install
17
17
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.
19
19
20
20
If you want to use the webcam demo, a pip version of opencv (` pip install opencv-python ` ) is required instead of
21
21
the conda version. Anaconda's default opencv does not include ffpmeg/VideoCapture support. Also, you may have to
22
22
force install version 3.4.x as 4.x has a broken drawKeypoints binding.
23
23
24
24
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
+
26
37
27
38
### Using Docker
28
39
You can’t perform that action at this time.
0 commit comments