Skip to content

Commit a356064

Browse files
committed
Add gateway connector for ML offloading
1 parent bc1b69f commit a356064

File tree

15 files changed

+2841
-67
lines changed

15 files changed

+2841
-67
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ node-modules
4444
# ML sample
4545
ml/sample-models
4646
__pycache__
47+
*.tflite
4748

4849
# Companion
4950
android-companion/gradlew.bat

android-companion/app/build.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,9 @@ dependencies {
3030
testImplementation 'junit:junit:4.12'
3131
androidTestImplementation 'androidx.test:runner:1.1.1'
3232
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
33+
34+
// Build off of nightly TensorFlow Lite
35+
implementation('org.tensorflow:tensorflow-lite:0.0.0-nightly') { changing = true }
36+
implementation('org.tensorflow:tensorflow-lite-gpu:0.0.0-nightly') { changing = true }
37+
implementation('org.tensorflow:tensorflow-lite-support:0.0.0-nightly') { changing = true }
3338
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
wget http://115.145.178.78:8001/downloads/gateway/mobilenetv1-gateway.tar
3+
tar -xvf ./mobilenetv1-gateway.tar

0 commit comments

Comments
 (0)