quic / ai-hub-models

The Qualcomm® AI Hub Models are a collection of state-of-the-art machine learning models optimized for performance (latency, memory etc.) and ready to deploy on Qualcomm® devices.
https://aihub.qualcomm.com
BSD 3-Clause "New" or "Revised" License
438 stars 60 forks source link

pacakage error #48

Closed Vinaysukhesh98 closed 2 months ago

Vinaysukhesh98 commented 4 months ago

ai-hub-models/apps/android/ImageSuperResolution/superresolution/src/main/java/com/qcom/imagesuperres/SuperResolution.java:17: error: package com.qualcomm.qti does not exist import com.qualcomm.qti.QnnDelegate;

Vinaysukhesh98 commented 4 months ago

python build_apk.py -q $QNN_SDK_ROOT while running im getting below error

build/esrgan/esrgan.tflite MODEL IS ESRAGAN Traceback (most recent call last): File "build_apk.py", line 138, in shutil.copy(aarfile, destaar) File "/home/mbuhyd/anaconda3/envs/ai-hub/lib/python3.8/shutil.py", line 418, in copy copyfile(src, dst, follow_symlinks=follow_symlinks) File "/home/mbuhyd/anaconda3/envs/ai-hub/lib/python3.8/shutil.py", line 264, in copyfile with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: '/opt/qcom/aistack/qnn/2.19.2.240210/lib/android/qtld-release.aar'

gustavla commented 4 months ago

Hi @Vinaysukhesh98, sorry you are having this issue. Could you describe how you downloaded and prepared the QNN SDK, and how you set QNN_SDK_ROOT? Thanks.

mestrona-3 commented 2 months ago

Hi @Vinaysukhesh98, we've re-released the apps in a new location. Please try out the latest version of Super Resolution! AI https://github.com/quic/ai-hub-apps/tree/main/apps/android/SuperResolution

Vinaysukhesh98 commented 2 months ago

HI @mestrona-3 @gustavla , thanks for your update.