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

Unable to resolve dependency for ':@debug/compileClasspath': Could not resolve org.apache.commons:commons-math3:3.6.1. #8

Open
nistala opened this issue Aug 1, 2018 · 5 comments

Comments

@nistala
Copy link

nistala commented Aug 1, 2018

Getting the dependency error in YoloClassifier.java Unable to resolve dependency for ':@debug/compileClasspath': Could not resolve org.apache.commons:commons-math3:3.6.1. where I have injected the jar file to project and Missing the Sigmoid class.

Could you people assist us while resolving the issue

@szaza
Copy link
Owner

szaza commented Aug 2, 2018

Hi,
Theoretically, you don't need to add the dependencies manually, it should be done automatically by the Gradle. Could you tell me please more details about how you tried to build the project?
Do you have any kind of proxy settings?
Could you try please to run from the root folder ./gradlew clean install -xtest ?

@nistala
Copy link
Author

nistala commented Aug 2, 2018

I had build the gradle by installing required dependencies and i got stucked here..
how to check the proxy setting..

@nistala
Copy link
Author

nistala commented Aug 6, 2018

Process: org.tensorflow.yolo, PID: 6963
org.tensorflow.TensorFlowException: Op type not registered 'TFLite_Detection_PostProcess' in binary running on localhost. Make sure the Op and Kernel are registered in the binary running in this process.

Added the Custom Model though Im geeting the exception

@szaza
Copy link
Owner

szaza commented Aug 6, 2018

What is the version of your TensorFlow?
Usually, this error appear when you train with a different TF version then your TFLight version.
Could you please check if your TF version which you use for training is the same like the TFLight version which you use on the Android?

@nistala
Copy link
Author

nistala commented Aug 6, 2018 via email

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