forked from hollance/YOLO-CoreML-MPSNNGraph
-
Notifications
You must be signed in to change notification settings - Fork 46
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
EXC_BAD_ACCESS crash when running app with YOLOv3-SPP model trained on custom data. #17
Comments
Any updates? Have the same issue |
Me too. |
I solved this problem by replacing
to
thanks |
@tj16kimura How did you find that? It's not so obvious |
I checked the shape of features and found it was not correct. sorry for my cheap English :< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I trained a YOLOv3-SPP model using custom data, I have 3 classes. I then converted it to a Keras .h5 file and then converted it to a CoreML. I ended up with a CoreML model whose Prediction section looks like this.
I tried to use the app by adding the model to Xcode and changing the
numClasses
variable to 3, yet I still get this crash.I am quite new to the CoreML world so I don't have a good grasp on what info the MLMultiArrays hold and how to access it etc. What can I do to solve this crash? Is there something wrong with my model or is it just the app?
The text was updated successfully, but these errors were encountered: