Skip to content

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

Description

@salamanders

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions