Skip to content

Commit

Permalink
<ch9> Clean apps.
Browse files Browse the repository at this point in the history
  • Loading branch information
EliotAndres committed May 2, 2019
1 parent 0da13df commit d995cac
Show file tree
Hide file tree
Showing 69 changed files with 82 additions and 2,463 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
__pycache__


mobilenet_v1_1.0_224/
*.tflite

## iOS files
Expand Down
32 changes: 32 additions & 0 deletions ch9/README.md
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
1 change: 1 addition & 0 deletions ch9/coreml_ios/.gitignore
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.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
56 changes: 0 additions & 56 deletions ch9/coreml_ios/app/CoreMLHelpers/Array+Extensions.swift

This file was deleted.

146 changes: 0 additions & 146 deletions ch9/coreml_ios/app/CoreMLHelpers/CGImage+CVPixelBuffer.swift

This file was deleted.

Loading

0 comments on commit d995cac

Please sign in to comment.