Skip to content
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

Doodle Classifier - Getting this error: "Thread 1: EXC_BAD_ACCESS (code=1, address=0x18)" #31

Closed
Martinukai opened this issue Jun 1, 2018 · 2 comments

Comments

@Martinukai
Copy link

When I click on 'Add Samples' after drawing 10 circles, an error is thrown in line 158 of the ofxCcv.cpp file that is located within the addons folder of DoodleClassifier.

Line 158: convnet->count = layer; // hack to extract a particular layer with encode
Error: "Thread 1: EXC_BAD_ACCESS (code=1, address=0x18)"

Any tips as to what this might be would be much appreciated. Thanks.

@Martinukai
Copy link
Author

This issue was solved with advice from @stlou in the following thread (I did not realise it was a similar issue as my error was not mentioned in the heading):

https://github.com/ml4a/ml4a-ofx/issues/22

@genekogan
Copy link
Member

the way this can be solved is by running the setup script (sh setup.sh) which fixes the Mac translocation thing which makes it not able to find the weights file. if you run that and it works, that should solve the problem. let me know if that doesn't work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants