-
Notifications
You must be signed in to change notification settings - Fork 36
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
"Unsupported Java." and Using Custom Model Successfully #16
Comments
Next, go to these reference : Finally, we need to change output name to Convolution, instead of Permute : Thank @xiang-wuu so much for this example! |
Thanks for your feedback dadin852! Unfortunately, I don't think I have enough experience to make this change. I'm exporting the trained weights from pytroch to onnx with the command: python export.py --weights yolov7-tiny.pt --simplify --topk-all 100 --iou-thres 0.50 --conf-thres 0.15 --img-size 448 448 --max-wh 448 to export from onnx to ncnn use: Should the changes suggested by you be made directly in the generated .param file or in the onnx file? Below I am sending the generated .param file. |
The project requires JDK11 and android-ndk-r21e.
You need to download the NDK from github manually.
By the way, this is the version that doesn't need downgrading (2023/05/22) :
https://drive.google.com/file/d/12IyuXRKKGG2Zh_PBLE6dPFCeEGQYuiNp/view?usp=sharing
New a Native C++ project named "MyJNI" and replace the app/scr/main.
The text was updated successfully, but these errors were encountered: