-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIC component #3187
base: ucr
Are you sure you want to change the base?
PIC component #3187
Conversation
Can one of the admins verify this patch? |
…odes in both Java and Swift
4775d7e
to
62cf04c
Compare
Rather than duplicating the models at two different locations in the source tree, we should think about creating a directory under lib to hold the models. Then in components/build.xml and in the Xcode project we can set things up to copy the assets as part of the build process. |
Change-Id: I385f8c2a1249b039dee2a9fa06bbec0ac12c8539
if (url.contains(TRANSFER_MODEL_PREFIX)) { | ||
Log.d(LOG_TAG, "overriding " + url); | ||
|
||
file = form.openAsset(url.substring(TRANSFER_MODEL_PREFIX.length())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this line I think is an issue. You will want to fully qualify the asset using "file://android_asset/" and then the filename. Otherwise, the companion app will try to load it from the file system rather than the packaged assets.
Change-Id: Ibcb191c40655a0e2cb982642cd02289af9cc2bf6
Change-Id: I7fdcd2e1594f9faa4ea94f31090d8bff6be505e7
Change-Id: I34501cfffc55e0abf5cea8f095119015639f53a7
Change-Id: I1426aec57cb80ac8c5daa9669a69ac36b5ffeadd
This is now on TestFlight. |
Starting the implementation of the PIC component. Currently, only the common superclass BaseAiComponent.java has been implemented, and the PersonalImageClassifier.java file exists, although it is still empty