[ https://issues.apache.org/jira/browse/TIKA-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16075849#comment-16075849 ]
Chris A. Mattmann commented on TIKA-2298: ----------------------------------------- [~talli...@apache.org] your latest update causes Jenkins and my local build to fail: {noformat} ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.tika.dl.imagerec.DL4JInceptionV3NetTest SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.268 sec - in org.apache.tika.dl.imagerec.DL4JInceptionV3NetTest Running org.apache.tika.dl.imagerec.DL4JVGG16NetTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.353 sec <<< FAILURE! - in org.apache.tika.dl.imagerec.DL4JVGG16NetTest recognise(org.apache.tika.dl.imagerec.DL4JVGG16NetTest) Time elapsed: 6.353 sec <<< ERROR! java.lang.NullPointerException: null at org.apache.tika.Tika.<init>(Tika.java:109) at org.apache.tika.dl.imagerec.DL4JVGG16NetTest.recognise(DL4JVGG16NetTest.java:40) Results : Tests in error: DL4JVGG16NetTest.recognise:40 ยป NullPointer Tests run: 2, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Tika parent ................................. SUCCESS [ 1.169 s] [INFO] Apache Tika core ................................... SUCCESS [ 23.745 s] [INFO] Apache Tika parsers ................................ SUCCESS [03:20 min] [INFO] Apache Tika XMP .................................... SUCCESS [ 1.323 s] [INFO] Apache Tika serialization .......................... SUCCESS [ 1.114 s] [INFO] Apache Tika batch .................................. SUCCESS [01:47 min] [INFO] Apache Tika language detection ..................... SUCCESS [ 2.683 s] [INFO] Apache Tika application ............................ SUCCESS [ 43.016 s] [INFO] Apache Tika OSGi bundle ............................ SUCCESS [ 18.439 s] [INFO] Apache Tika translate .............................. SUCCESS [ 1.794 s] [INFO] Apache Tika server ................................. SUCCESS [ 36.437 s] [INFO] Apache Tika examples ............................... SUCCESS [ 5.494 s] [INFO] Apache Tika Java-7 Components ...................... SUCCESS [ 1.815 s] [INFO] Apache Tika eval ................................... SUCCESS [ 22.354 s] [INFO] Apache Tika Deep Learning (powered by DL4J) ........ FAILURE [ 14.242 s] [INFO] Apache Tika ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 08:01 min [INFO] Finished at: 2017-07-05T18:33:59-07:00 [INFO] Final Memory: 126M/1659M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project tika-dl: There are test failures. [ERROR] [ERROR] Please refer to /Users/mattmann/tmp/tika1.15/tika-dl/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :tika-dl LMC-053601:tika1.15 mattmann$ {noformat} I'm going to try and fix real quick. > To improve object recognition parser so that it may work without external > RESTful service setup > ----------------------------------------------------------------------------------------------- > > Key: TIKA-2298 > URL: https://issues.apache.org/jira/browse/TIKA-2298 > Project: Tika > Issue Type: Improvement > Components: parser > Affects Versions: 1.14 > Reporter: Avtar Singh > Assignee: Chris A. Mattmann > Labels: ObjectRecognitionParser, gsoc, memex > Fix For: 1.16 > > Original Estimate: 672h > Remaining Estimate: 672h > > When ObjectRecognitionParser was built to do image recognition, there wasn't > good support for Java frameworks. All the popular neural networks were in > C++ or python. Since there was nothing that runs within JVM, we tried > several ways to glue them to Tika (like CLI, JNI, gRPC, REST). > However, this game is changing slowly now. Deeplearning4j, the most famous > neural network library for JVM, now supports importing models that are > pre-trained in python/C++ based kits [5]. > *Improvement:* > It will be nice to have an implementation of ObjectRecogniser that > doesn't require any external setup(like installation of native libraries or > starting REST services). Reasons: easy to distribute and also to cut the IO > time. -- This message was sent by Atlassian JIRA (v6.4.14#64029)