Skip to content
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

Sideloading of all components (onnx files)? #16

Closed
3dluvr opened this issue Jun 21, 2024 · 10 comments
Closed

Sideloading of all components (onnx files)? #16

3dluvr opened this issue Jun 21, 2024 · 10 comments

Comments

@3dluvr
Copy link

3dluvr commented Jun 21, 2024

Hi,

Would you please provide instructions, or a method, for sideloading of the components (onnx files) in an off-line mode, so that the app does not have to automatically download them upon first start.

This would most likely benefit everyone, for various reasons such as: lowering mobile data usage, ease of installation on multiple devices, privacy, etc.

Thanks!

@niedev
Copy link
Owner

niedev commented Jun 21, 2024

Hi, thanks for the suggestion, I added this to the list of things to do 👍

@WeiYoun
Copy link

WeiYoun commented Jun 25, 2024

mobile data and wifi cannot download succesfully,although with proxy

@fffandpiao
Copy link

I really need the offline download function, but online downloads will get stuck and fail.

@niedev
Copy link
Owner

niedev commented Jun 26, 2024

@WeiYoun @fffandpiao That's strange, have you checked that you have enough space on your phone? (with a good enough margin) If so can you tell me if you are using an sd card and if the apps are configured to be saved there?

@WeiYoun
Copy link

WeiYoun commented Jun 27, 2024

@WeiYoun @fffandpiao That's strange, have you checked that you have enough space on your phone? (with a good enough margin) If so can you tell me if you are using an sd card and if the apps are configured to be saved there?

there are enough space to store(about 70G),and has permission to save,many times when download *head.onnx failed.

@niedev
Copy link
Owner

niedev commented Jun 27, 2024

@WeiYoun @fffandpiao That's strange, have you checked that you have enough space on your phone? (with a good enough margin) If so can you tell me if you are using an sd card and if the apps are configured to be saved there?

there are enough space to store(about 70G),and has permission to save,many times when download *head.onnx failed.

You are using an sd card? The apps are configured to be saved there?

@fffandpiao
Copy link

@WeiYoun @fffandpiao这很奇怪,你检查过你的手机是否有足够的空间吗?(有足够的余地)如果是的话,你能告诉我你是否使用了 SD 卡以及应用程序是否配置为保存在那里吗?

I downloaded successfully. Every time I downloaded a package, it would get stuck. I thought it was unresponsive. It took a long time to download online.

@niedev
Copy link
Owner

niedev commented Jun 28, 2024

@fffandpiao if you have an sdcard and have it set to hold app data, that might have been the problem, since I'm currently using Android's downloadManager for downloads, and it can't save files directly to the app's internal storage, so I download them to external storage and then move them to the app's internal storage, normally this process happens instantly, but if you use an sdcard configured as I said above, the transfer takes quite a while.

Or maybe the download is slow for this reason (my models are saved on Github, so the download is done from there)

@niedev
Copy link
Owner

niedev commented Jul 2, 2024

The new release that supports sideloading is out 😁, and the guide for sideloading is here, let me know how it works.

@3dluvr
Copy link
Author

3dluvr commented Jul 2, 2024

I can confirm that the app is successfully sideloading the local models, when dropped in the appropriate folder per the guide.

You are awesome, thank you!

@niedev niedev closed this as completed Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants