pytorch / executorch

On-device AI across mobile, embedded and edge for PyTorch
https://pytorch.org/executorch/
Other
1.69k stars 288 forks source link

error while Building an ExecuTorch Android Demo App #3463

Open tggmbi opened 4 months ago

tggmbi commented 4 months ago

following the tutorial here : https://pytorch.org/executorch/stable/demo-apps-android.html#id3 trying to tun this command : python -m examples.qualcomm.scripts.deeplab_v3 -b build_android -m SM8450 -s MYSERIALCODE I am getting this: Traceback (most recent call last): File "/Users/xxxx/miniconda3/envs/executorch/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/Users/xxxx/miniconda3/envs/executorch/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/Users/xxxx/executorch/examples/qualcomm/scripts/deeplab_v3.py", line 18, in <module> from executorch.examples.qualcomm.scripts.utils import ( ModuleNotFoundError: No module named 'executorch.examples.qualcomm'

cccclai commented 4 months ago

Thank you for trying it out! Seems like a set up issue, did you follow https://pytorch.org/executorch/0.2/build-run-qualcomm-ai-engine-direct-backend.html to install the required dependancy?