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

IllegalArgumentException: Unable to parse protobuf (when running against HEAD) #7

Open
salamanders opened this issue Nov 28, 2018 · 0 comments

Comments

@salamanders
Copy link

When attempting to run against the jitpack.io com.github.tzolov mtcnn-java master-SNAPSHOT

  1. The dependencies don't seem to come in and have to be manually specified. This may be a side-effect of running from jitpack.io.

  2. I get an error on new MtcnnService()

Exception in thread "main" java.lang.IllegalArgumentException: Unable to parse protobuf
	at org.nd4j.tensorflow.conversion.graphrunner.GraphRunner.<init>(GraphRunner.java:189)
	at org.nd4j.tensorflow.conversion.graphrunner.GraphRunner.<init>(GraphRunner.java:329)
	at net.tzolov.cv.mtcnn.MtcnnService.createGraphRunner(MtcnnService.java:110)
	at net.tzolov.cv.mtcnn.MtcnnService.<init>(MtcnnService.java:95)
	at net.tzolov.cv.mtcnn.MtcnnService.<init>(MtcnnService.java:85)
	at info.benjaminhill.bestsmiles.MainKt.main(Main.kt:85)
	at info.benjaminhill.bestsmiles.MainKt.main(Main.kt)
Caused by: java.lang.IllegalStateException: ERROR: Unable to set value configuration:Unparseable ConfigProto
	at org.nd4j.tensorflow.conversion.graphrunner.GraphRunner.initOptionsIfNeeded(GraphRunner.java:553)
	at org.nd4j.tensorflow.conversion.graphrunner.GraphRunner.<init>(GraphRunner.java:186)
	... 6 more

Java: 1.8.0_181
OS: Linux 4.18.10-1rodete2-amd64 amd64
Hardware: Cores:12

Code snapshot with the issue: https://github.com/salamanders/bestsmiles/tree/dc689ac5014817b93a93eb59bb907af733fb5d8d

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

1 participant