ultralytics / hub

Ultralytics HUB tutorials and support
https://hub.ultralytics.com
GNU Affero General Public License v3.0
138 stars 14 forks source link

Android Download Model Not working #910

Open zainaliyt opened 2 weeks ago

zainaliyt commented 2 weeks ago

Search before asking

HUB Component

Models

Bug

When trying to download on android 14, the button does nothing but on ios it works as it downloads and runs my custom model.

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

UltralyticsAssistant commented 2 weeks ago

πŸ‘‹ Hello @zainaliyt, thank you for raising an issue about Ultralytics HUB πŸš€! Please check out our HUB Docs to uncover more insights:

If this is a πŸ› Bug Report, could you please share more details, including screenshots and a minimum reproducible example on your Android setup? This will assist us in digging deeper into the issue you're facing with downloading models on Android 14 πŸ“±.

We aim to address all issues swiftly. An Ultralytics engineer will be here shortly to help further. Thank you for your patience and collaboration! 🌟

zainaliyt commented 2 weeks ago

I checked logs and prints from the app, when i press on the download app its prints downloading: null. Maybe this helps.

pderrenger commented 2 weeks ago

Hi @zainaliyt,

Thank you for providing additional details about the issue. It seems like there might be a problem with the model download functionality on Android 14. Here are a few steps you can take to troubleshoot and potentially resolve the issue:

  1. Update the App: Ensure that you are using the latest version of the Ultralytics Android App. Updates often include bug fixes and improvements.

  2. Check Permissions: Verify that the app has the necessary permissions to access storage on your device. Sometimes, permission issues can prevent downloads from completing successfully.

  3. Clear Cache: Try clearing the app's cache and data. This can sometimes resolve unexpected behavior.

  4. Reinstall the App: If the issue persists, consider uninstalling and reinstalling the app to ensure a fresh start.

  5. Test on Another Device: If possible, try downloading the model on a different Android device to see if the issue is specific to your current device.

If none of these steps resolve the issue, it might be a bug specific to Android 14. Please ensure that your app and device are up-to-date, and let us know if the problem persists. We appreciate your patience and collaboration in helping us improve the app! 😊

If you have any further questions or need additional assistance, feel free to ask. We're here to help!

yogendrasinghx commented 2 weeks ago

Thank you for reporting the issue, @zainaliyt. Our team will check into this and begin working on a fix soon. We’ll keep you updated on the progress.

It would be very helpful if you could share your model ID (you can find this in the URL when using HUB Web) and details about your Android device hardware, including the model number. This information will assist us in diagnosing the problem more effectively.

mymoomin commented 4 days ago

I'm having the same issue, where clicking the download button doesn't do anything. It has every permission and I've tried reinstalling the app. I have version 0.9.25 of the app. The model ID is f7Rjtn7thHpxEnat4aJV. I have a Pixel 6a (model number G1AZG) running Android 14

zainaliyt commented 4 days ago

It somehow only works on ios devices.

Den sΓΆn 17 nov. 2024 15:23mymoomin @.***> skrev:

I'm having the same issue, where clicking the download button doesn't do anything. It has every permission and I've tried reinstalling the app. I have version 0.9.25 of the app. The model ID is f7Rjtn7thHpxEnat4aJV. I have a Pixel 6a (model number G1AZG) running Android 14

β€” Reply to this email directly, view it on GitHub https://github.com/ultralytics/hub/issues/910#issuecomment-2481285149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAU2CGP4UPRMFBEEE7M7XL2BCRFVAVCNFSM6AAAAABRC6DRJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBRGI4DKMJUHE . You are receiving this because you were mentioned.Message ID: @.***>

pderrenger commented 4 days ago

@zainaliyt thank you for the detailed report and for providing the model ID and device specifications. This appears to be a confirmed issue affecting Android 14 devices where the download button is unresponsive, while working correctly on iOS.

Let me summarize what we know:

As a temporary workaround while we investigate this issue, you could try:

  1. Using a different delegate for model inference. Android supports multiple delegates as detailed in our Android documentation. Try switching between:

    • CPU
    • GPU
    • NNAPI
    • Hexagon (if available on your device)
  2. If possible, test on an Android device running an earlier version of Android to help us narrow down if this is specifically an Android 14 compatibility issue.

I've logged this issue for our development team to investigate. To help us resolve this faster, could you please:

  1. Check if the issue persists in "Safe Mode" on your device
  2. Share any relevant error messages from Android's logcat if possible
  3. Let us know if this happens with all models or just specific ones

We appreciate your patience while we work on a fix! πŸ”§

Feel free to follow this issue for updates on the resolution. If you discover any additional information or workarounds, please share them here to help other users who might be experiencing the same issue.