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
Custom model & dataset #8
Comments
Q1: Does If so, you will need to modify the resize part of the input image and the scale calculation of the output bounding box image. Q2: |
There are no plans to support models with different height and width sizes in this repository, but the forked project seems to be making an attempt to do so. (I have not tested this.) |
@Ip6m I mean two detection scale for anchors. I have just 6 anchors instead of the 9 anchors. |
If the number of anchors is different from original model, you need to modify As described also in |
Hello @lp6m @larrywal-express , I have trained yolov5s on custom dataset (classes 2) and converted model to tflite-16fp. I also verified inference using detect.py and loading tflite model. it works fine locally. But when i use that model in your android app then, it doesn't give any error but also it doesn't draw any bounding box or do any detection. Can you please let me know what exactly I'm doing wrong in running custom tflite model in your app?? Your help will be appreciated. Thank you in advance!! |
@apanand14 Check the output of https://github.com/lp6m/yolov5s_android/blob/master/app/tflite_yolov5_test/app/src/main/cpp/postprocess.cpp#L18 |
I write the tutorial for custom model & dataset. please check. |
Thanks for your good work. I have a customized model at two detection scale trained with four class.. How do I modify the code to fit the application? Moreso, how to set up --tfds_root for quantize.py?
The text was updated successfully, but these errors were encountered: