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

[Question]Why does the software stop when it downloads NLLB encoder up to 0.69G and suggests that there is no internet? #71

Open
bugxzhu opened this issue Sep 6, 2024 · 9 comments
Assignees
Labels
question Further information is requested

Comments

@bugxzhu
Copy link

bugxzhu commented Sep 6, 2024

Why does the software stop when it downloads NLLB encoder up to 0.69G and suggests that there is no internet?
Is there a way to just download the model and put it in a directory?This would avoid problems with downloading.

@bugxzhu bugxzhu added the question Further information is requested label Sep 6, 2024
@bugxzhu
Copy link
Author

bugxzhu commented Sep 6, 2024

WechatIMG355

@niedev
Copy link
Owner

niedev commented Sep 6, 2024

Why does the software stop when it downloads NLLB encoder up to 0.69G and suggests that there is no internet?

Some regions, like China, have problems with the download.

Is there a way to just download the model and put it in a directory?This would avoid problems with downloading.

Yes! See here for the instructions.

@bugxzhu
Copy link
Author

bugxzhu commented Sep 9, 2024

Why does the software stop when it downloads NLLB encoder up to 0.69G and suggests that there is no internet?

Some regions, like China, have problems with the download.

Is there a way to just download the model and put it in a directory?This would avoid problems with downloading.

Yes! See here for the instructions.

@niedev I don't think so。Because I already use vpn.
NLLB_encoder.onnx失败 - 需要获得授权

Is this error an authorization issue?
others can be downloaded。

@bugxzhu
Copy link
Author

bugxzhu commented Sep 9, 2024

1725861008425
@niedev

@niedev
Copy link
Owner

niedev commented Sep 9, 2024

@niedev I don't think so。Because I already use vpn. NLLB_encoder.onnx失败 - 需要获得授权

I tested the download on my phone and it works fine, after the error message did you try the download again and it always gets stuck on the same file? (sometimes the download can have random errors and retrying it works), also did you try to download it from PC and do sideloading?

@bugxzhu
Copy link
Author

bugxzhu commented Sep 10, 2024

@niedev thanks。I success to download it on PC。
but the “Android/data/nie.translator.rtranslator/files” folder cannot be accessed. Can you provide an additional path for uploading models in the app?

@niedev
Copy link
Owner

niedev commented Sep 10, 2024

@bugxzhu For now that's the only path, in the future I will probably add another, anyway it is strange that it isn't accessible, what OS do you have on PC?

@bugxzhu
Copy link
Author

bugxzhu commented Sep 11, 2024

@niedev It has little to do with the OS.It's because of a limitation of the phone's system that prevents access to the data directory in the Android directory, which is locked for security reasons.

@niedev
Copy link
Owner

niedev commented Sep 11, 2024

@bugxzhu it may have to do with the OS of your PC, because normally that folder is hidden in the phone itself (not for security reason but to preventing people from breaking an app accidentally), but it is accessible with a PC (I don't make a tutorial without testing it and doing some research)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants