kinow commented on PR #89:
URL: https://github.com/apache/opennlp-sandbox/pull/89#issuecomment-1444202639
>@kinow / @rzo1 Could one or both of you please check this on your machine /
env:
```bash
$ mvn clean test -Dtest=PredictTest
...
[INFO] Running org.apache.opennlp.namefinder.PredictTest
[ERROR] 2023-02-24 19:19:44.499735: I
tensorflow/cc/saved_model/reader.cc:31] Reading SavedModel from: savedmodel
[ERROR] 2023-02-24 19:19:44.499798: I
tensorflow/cc/saved_model/loader.cc:311] SavedModel load for tags { serve };
Status: fail. Took 77 microseconds.
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.941 s <<< FAILURE! - in org.apache.opennlp.namefinder.PredictTest
[ERROR] org.apache.opennlp.namefinder.PredictTest.testFindTokens Time
elapsed: 0.915 s <<< ERROR!
org.tensorflow.TensorFlowException: Could not find SavedModel .pb or .pbtxt
at supplied export directory path: savedmodel
at
org.apache.opennlp.namefinder.PredictTest.testFindTokens(PredictTest.java:47)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] PredictTest.testFindTokens:47 ยป TensorFlow Could not find
SavedModel .pb or .p...
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
```
& env
```bash
$ mvn -v
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: /opt/apache-maven-3.8.5
Java version: 17.0.5, vendor: Private Build, runtime:
/usr/lib/jvm/java-17-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-60-generic", arch: "amd64", family: "unix"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]