You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* tflite support (wip)
* linting
* just check for "resnet" in model path
* fallback to single tensor input
* adjust image_data shape to expected input shape
also optional image_size input
* removed commented out code
* only resize tensor if input image doesn't match
* added command to convert to tflite
* added --model-architecture argument
* added quantization arguments
* updated readme
* linting
* typo in readme
* improved wording in readme
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,31 @@ python -m tf_bodypix \
176
176
--threshold=0.75
177
177
```
178
178
179
+
## TensorFlow Lite support (experimental)
180
+
181
+
The model path may also point to a TensorFlow Lite model (`.tflite` extension). Whether that actually improves performance may depend on the platform and available hardware.
182
+
183
+
You could convert one of the available TensorFlow JS models to TensorFlow Lite using the following command:
0 commit comments