You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is an issue with build_apk.py: when only the qnnsdk and model_path are input, the model selection menu should not be printed using printmenu(), because the model will invariably be assigned the value of 'classification.tflite'.
I have modified the decision rule: the model selection menu will only be printed if neither model_name nor model_path has been provided.
It is suggested that line 45 be changed to:
if not args.model_name and not args.model_path:
The text was updated successfully, but these errors were encountered:
fangxingSR
changed the title
[BUG] Improvements to the functionality of apps/Android/ImageClassification/build_apk.py
[BUG] Improvements for apps/Android/ImageClassification/build_apk.py
May 7, 2024
I created and submitted a branch to #41 . This submission aims to optimize the logic of the build_apk.py script and update the README.md file. I hope this contribution will bring positive benefits to the community and look forward to it being helpful to everyone.
Describe the bug
There is an issue with build_apk.py: when only the qnnsdk and model_path are input, the model selection menu should not be printed using printmenu(), because the model will invariably be assigned the value of 'classification.tflite'.
I have modified the decision rule: the model selection menu will only be printed if neither model_name nor model_path has been provided.
It is suggested that line 45 be changed to:
if not args.model_name and not args.model_path:
The text was updated successfully, but these errors were encountered: