Skip to content
This repository was archived by the owner on May 12, 2024. It is now read-only.

Commit 0891738

Browse files
authored
Update README.md
1 parent b1fedf7 commit 0891738

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

README.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -258,25 +258,32 @@ $ pip3 install --user --upgrade git+https://github.com/PINTO0309/tflite2tensorfl
258258
```
259259
Installs a customized TensorFlow Lite runtime with support for MediaPipe Custom OP, FlexDelegate, and XNNPACK. If tflite_runtime does not install properly, please follow the instructions in the next article to build a custom build in the environment you are using. **[Add a custom OP to the TFLite runtime to build the whl installer (for Python)](https://zenn.dev/pinto0309/articles/a0e40c2817f2ee)**, **`MaxPoolingWithArgmax2D`**, **`MaxUnpooling2D`**, **`Convolution2DTransposeBias`**
260260
```
261-
$ sudo pip3 uninstall tensorboard-plugin-wit tb-nightly tensorboard \
262-
tf-estimator-nightly tensorflow-gpu \
263-
tensorflow tf-nightly tensorflow_estimator tflite_runtime -y
261+
$ sudo pip3 uninstall -y \
262+
tensorboard-plugin-wit \
263+
tb-nightly \
264+
tensorboard \
265+
tf-estimator-nightly \
266+
tensorflow-gpu \
267+
tensorflow \
268+
tf-nightly \
269+
tensorflow_estimator \
270+
tflite_runtime
264271
265-
$ APPVER=v1.10.0
266-
$ TENSORFLOWVER=2.6.0rc1
272+
$ APPVER=v1.20.7
273+
$ TENSORFLOWVER=2.8.0
267274
268275
### Customized version of TensorFlow Lite installation
269-
$ wget https://github.com/PINTO0309/tflite2tensorflow/releases/download/${APPVER}/tflite_runtime-${TENSORFLOWVER}-cp36-none-linux_x86_64.whl \
270-
&& sudo chmod +x tflite_runtime-${TENSORFLOWVER}-cp36-none-linux_x86_64.whl \
271-
&& pip3 install --user --force-reinstall tflite_runtime-${TENSORFLOWVER}-cp36-none-linux_x86_64.whl \
272-
&& rm tflite_runtime-${TENSORFLOWVER}-cp36-none-linux_x86_64.whl
276+
$ wget https://github.com/PINTO0309/tflite2tensorflow/releases/download/${APPVER}/tflite_runtime-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl \
277+
&& sudo chmod +x tflite_runtime-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl \
278+
&& pip3 install --user --force-reinstall tflite_runtime-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl \
279+
&& rm tflite_runtime-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl
273280
274281
### Install the Customized Full TensorFlow package
275282
### (MediaPipe Custom OP, FlexDelegate, XNNPACK enabled)
276-
$ wget https://github.com/PINTO0309/tflite2tensorflow/releases/download/${APPVER}/tflite_runtime-${TENSORFLOWVER}-cp36-none-linux_x86_64.whl \
277-
&& sudo chmod +x tensorflow-${TENSORFLOWVER}-cp36-none-linux_x86_64.whl \
278-
&& pip3 install --user --force-reinstall tensorflow-${TENSORFLOWVER}-cp36-none-linux_x86_64.whl \
279-
&& rm tensorflow-${TENSORFLOWVER}-cp36-none-linux_x86_64.whl
283+
$ wget https://github.com/PINTO0309/tflite2tensorflow/releases/download/${APPVER}/tflite_runtime-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl \
284+
&& sudo chmod +x tensorflow-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl \
285+
&& pip3 install --user --force-reinstall tensorflow-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl \
286+
&& rm tensorflow-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl
280287
281288
or
282289

0 commit comments

Comments
 (0)