-
Notifications
You must be signed in to change notification settings - Fork 8
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
Load model from the another path #46
Comments
Hi @ArkaitzSKR, For the UUID generation, take a look at the build.gradle task that handle this, it may help: Maybe by changing the path you can handle a different storage location. The library should work with all models, no matter the size. If it's not, it may be related to device capacity ? Maybe if you could share the error and what you've already tried, we may try to think about a fix together :) |
I'm hoping to download from remote and unzip the files into the DocumentDirectoryPath and then load the model. Is this also possible? |
I really don't know, the only way is try. Generally and from my only and personaly experience, Android is more permissive with this type of approach than iOS. If you succeed in your tries feel free to let us know, that would be nice to explain how to do it in the docs ! |
I couldn't get it to work on iOS, i'll check on Android soon. Thanks! |
Hello!
Is it possible to use the library by importing the model instead of from the assets folder from a different location?
We are trying to use the library with 4.5GB models and by entering it in the assets it is impossible to compile.
In the tests we have carried out we get an error with a file called uuid. This file is generated by Android Studio when compiling the assets and contains, as the name indicates, a uuid. We have tried putting a uuid file in the external storage in the same folder where the model is located but it still gives us the same error.
Is there any limit on the size of the model?
Thanks in advance and greetings!
The text was updated successfully, but these errors were encountered: