-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0da13df
commit d995cac
Showing
69 changed files
with
82 additions
and
2,463 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
__pycache__ | ||
|
||
|
||
mobilenet_v1_1.0_224/ | ||
*.tflite | ||
|
||
## iOS files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## Run TensorFlow 2 on any device | ||
|
||
This project walks you through the process of creating an emotion recognition app on Android, iOS and in the browser: | ||
- load data and train model | ||
- export as SavedModel | ||
- Run on Android using TensorFlow Lite | ||
- Run on iOS using Core ML | ||
- Run in the browser using TensorFlow.js | ||
|
||
## Demo | ||
|
||
|
||
|
||
## Running in the browser | ||
Folder: `tfjs` | ||
|
||
Install [yarn](https://yarnpkg.com/en/) and run: | ||
|
||
cd tfjs | ||
yarn | ||
yarn watch | ||
|
||
## Running on iOS | ||
Folder: coreml_ios | ||
You must have Xcode and [Cocoa Pods](https://cocoapods.org/) installed as well as a mac computer. | ||
|
||
cd coreml_ios/app | ||
pod install | ||
open Core\ ML\ Demo.xcworkspace | ||
|
||
## Running on Android | ||
It is recommended to have [Android Studio](https://developer.android.com/studio) installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
xcuserdata |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed
BIN
-57.5 KB
...roj/project.xcworkspace/xcuserdata/eliotandres.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
71 changes: 0 additions & 71 deletions
71
...ML Demo.xcodeproj/xcuserdata/eliotandres.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...e ML Demo.xcodeproj/xcuserdata/eliotandres.xcuserdatad/xcschemes/xcschememanagement.plist
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-33.3 KB
...ore ML Demo.xcworkspace/xcuserdata/eliotandres.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
23 changes: 0 additions & 23 deletions
23
... Demo.xcworkspace/xcuserdata/eliotandres.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
146 changes: 0 additions & 146 deletions
146
ch9/coreml_ios/app/CoreMLHelpers/CGImage+CVPixelBuffer.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.