Skip to content

Commit

Permalink
Merge pull request asus4#325 from asus4/update-package
Browse files Browse the repository at this point in the history
Update package.json to v2.14.0
  • Loading branch information
asus4 authored Nov 24, 2023
2 parents bf5822a + b91e19e commit e4eeaca
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 195 deletions.
171 changes: 0 additions & 171 deletions .circleci/config.yml

This file was deleted.

6 changes: 3 additions & 3 deletions Packages/com.github.asus4.mediapipe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"license": "SEE LICENSE IN LICENSE",
"unity": "2022.3",
"unityRelease": "0f1",
"version": "2.13.0",
"version": "2.14.0",
"type": "library",
"hideInEditor": false,
"dependencies": {
"com.github.asus4.tflite": "2.13.0",
"com.github.asus4.tflite.common": "2.13.0"
"com.github.asus4.tflite": "2.14.0",
"com.github.asus4.tflite.common": "2.14.0"
}
}
4 changes: 2 additions & 2 deletions Packages/com.github.asus4.tflite.common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"license": "SEE LICENSE IN LICENSE",
"unity": "2022.3",
"unityRelease": "0f1",
"version": "2.13.0",
"version": "2.14.0",
"type": "library",
"hideInEditor": false,
"dependencies": {
"com.github.asus4.tflite": "2.13.0"
"com.github.asus4.tflite": "2.14.0"
}
}
2 changes: 1 addition & 1 deletion Packages/com.github.asus4.tflite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"license": "SEE LICENSE IN LICENSE",
"unity": "2022.3",
"unityRelease": "0f1",
"version": "2.13.0",
"version": "2.14.0",
"type": "library",
"hideInEditor": false
}
6 changes: 3 additions & 3 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"depth": 0,
"source": "embedded",
"dependencies": {
"com.github.asus4.tflite": "2.13.0",
"com.github.asus4.tflite.common": "2.13.0"
"com.github.asus4.tflite": "2.14.0",
"com.github.asus4.tflite.common": "2.14.0"
}
},
"com.github.asus4.texture-source": {
Expand All @@ -34,7 +34,7 @@
"depth": 0,
"source": "embedded",
"dependencies": {
"com.github.asus4.tflite": "2.13.0"
"com.github.asus4.tflite": "2.14.0"
}
},
"com.unity.2d.sprite": {
Expand Down
23 changes: 8 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Tested on

- iOS / Android / macOS / Windows / Linux
- Unity 2022.3.7f1
- TensorFlow 2.12.0
- TensorFlow 2.14.0

Included examples:

Expand Down Expand Up @@ -64,19 +64,21 @@ Included prebuilt libraries:
],
"dependencies": {
// Core TensorFlow Lite libraries
"com.github.asus4.tflite": "2.13.0",
"com.github.asus4.tflite": "2.14.0",
// Utilities for TFLite
"com.github.asus4.tflite.common": "2.13.0",
"com.github.asus4.tflite.common": "2.14.0",
// Utilities for MediaPipe
"com.github.asus4.mediapipe": "2.13.0",
"com.github.asus4.mediapipe": "2.14.0",
...// other dependencies
}
}
```

## Build TensorFlow Lite libraries
## Build TensorFlow Lite libraries yourself

Pre-built libraries are included. If you want to build the latest TFLite,
Pre-built libraries are included in the UPM package. Also, you can find TFLite libraries at [tflite-runtime-builder](https://github.com/DeNA/tflite-runtime-builder/releases) from TFLite v2.14.0 or later.

If you want to build the latest TFLite yourself, Follow the below instructions:

1. Clone [TensorFlow library](https://github.com/tensorflow/tensorflow/)
2. Run `./configure` in the TensorFlow library
Expand All @@ -90,15 +92,6 @@ Pre-built libraries are included. If you want to build the latest TFLite,
./build_tflite.py --tfpath ../tensorflow -macos -xnnpack
```

## TIPS

\[Android\] You can see logs from tflite by filtering with "tflite"

```bash
# Filtering logcat only Unity and tflite
adb logcat Unity:V tflite:V "*:S"
```

## Show Cases

__MNIST__
Expand Down

0 comments on commit e4eeaca

Please sign in to comment.