Deeplearning4j: Keras model import for Inception does not work on Mac using 0.8.1-SNAPSHOT

Created on 6 May 2017  路  22Comments  路  Source: eclipse/deeplearning4j

Keras model import for Inception does not work on Mac

Using Mac 10.11.3 OS X, and DL4J 0.8.1-SNAPSHOT (built from scratch along with libnd4j from scratch also version 0.8.1-SNAPSHOT), I tried Keras model import of Inception as described in https://github.com/deeplearning4j/deeplearning4j/issues/3190 and in https://github.com/apache/tika/pull/165. The issue I'm having is that running Inception against an image produces no matches. For example, using Tika and our tika-dl proposed module:

LMC-053601:tika-gh mattmann$ java -Dorg.bytedeco.javacpp.nopointergc=true -cp ./tika-dl/target/tika-dl-1.15-SNAPSHOT-jar-with-dependencies.jar:tika-app/target/tika-app-1.15-SNAPSHOT.jar   org.apache.tika.cli.TikaCLI  --config=tika-dl/src/test/resources/org/apache/tika/dl/imagerec/dl4j-inception3-config.xml  https://images-na.ssl-images-amazon.com/images/G/01/img15/pet-products/small-tiles/23695_pets_vertical_store_dogs_small_tile_8._CB312176604_.jpg
WARN  JBIG2ImageReader not loaded. jbig2 files will be ignored
INFO  Cache exist at /Users/mattmann/git/tika-gh/.tmp-inception/inception-model-weights.h5. Not downloading it
WARN  File org/apache/tika/dl/imagerec/inceptionv3-model.json not found in local file system. Asking the classloader
INFO  Cache exist at /Users/mattmann/git/tika-gh/.tmp-inception/inceptionv3-model.json. Not downloading it
WARN  File org/apache/tika/dl/imagerec/imagenet_incpetionv3_class_index.json not found in local file system. Asking the classloader
INFO  Going to load Inception network...
INFO  Loaded [CpuBackend] backend
INFO  Number of threads used for NativeOps: 4
INFO  Reflections took 100 ms to scan 1 urls, producing 29 keys and 192 values 
INFO  Number of threads used for BLAS: 4
INFO  Backend used: [CPU]; OS: [Mac OS X]
INFO  Cores: [8]; Memory: [3.6GB];
INFO  Blas vendor: [OPENBLAS]
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3DAudio.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1047)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libAppleScriptEngine.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1047)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3D.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1047)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/usr/lib/java/libjdns_sd.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1047)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libmlib_jai.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1047)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3DUtils.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1047)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
INFO  Reflections took 1825 ms to scan 12 urls, producing 3714 keys and 16629 values 
WARN  Layer "batchnormalization_1" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_2" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_3" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_4" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_5" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_9" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_7" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_10" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_6" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_8" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_11" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_12" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_16" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_14" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_17" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_13" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_15" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_18" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_19" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_23" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_21" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_24" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_20" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_22" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_25" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_26" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_28" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_29" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_27" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_30" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_35" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_36" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_32" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_37" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_33" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_38" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_31" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_34" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_39" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_40" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_45" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_46" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_42" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_47" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_43" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_48" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_41" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_44" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_49" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_50" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_55" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_56" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_52" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_57" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_53" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_58" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_51" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_54" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_59" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_60" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_65" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_66" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_62" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_67" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_63" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_68" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_61" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_64" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_69" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_70" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_73" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_74" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_71" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_75" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_72" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_76" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_81" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_78" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_82" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_79" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_80" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_83" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_84" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_77" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_85" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_90" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_87" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_91" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_88" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_89" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_92" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_93" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_86" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_94" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Model cannot be trained: output layer predictions is not an IOutputLayer (no loss function specified)
WARN  Model cannot be trained: output predictions is not an IOutputLayer (no loss function specified)
INFO  Reflections took 143 ms to scan 1 urls, producing 375 keys and 1457 values 
INFO  Loaded the Inception model. Time taken=3769ms
INFO  minConfidence = 0.015, topN=10
INFO  Recogniser = org.apache.tika.dl.imagerec.DL4JInceptionV3Net
INFO  Recogniser Available = true
WARN  NO objects
LMC-053601:tika-gh mattmann$ 

Oddly, if I use ND4J 0.8 release, it sporadically fails as mentioned in #3190 however, it does actually produce objects:

LMC-053601:tika-gh mattmann$ java -Xmx400m -cp ./tika-dl/target/tika-dl-1.15-SNAPSHOT-jar-with-dependencies.jar:tika-app/target/tika-app-1.15-SNAPSHOT.jar   org.apache.tika.cli.TikaCLI  --config=tika-dl/src/test/resources/org/apache/tika/dl/imagerec/dl4j-inception3-config.xml  https://images-na.ssl-images-amazon.com/images/G/01/img15/pet-products/small-tiles/23695_pets_vertical_store_dogs_small_tile_8._CB312176604_.jpg
WARN  JBIG2ImageReader not loaded. jbig2 files will be ignored
INFO  Cache doesn't exist. Going to make a copy
INFO  This might take a while! GET https://raw.githubusercontent.com/USCDataScience/dl4j-kerasimport-examples/98ec48b56a5b8fb7d54a2994ce9cb23bfefac821/dl4j-import-example/data/inception-model-weights.h5
WARN  File org/apache/tika/dl/imagerec/inceptionv3-model.json not found in local file system. Asking the classloader
INFO  Cache doesn't exist. Going to make a copy
INFO  This might take a while! GET jar:file:/Users/mattmann/git/tika-gh/tika-dl/target/tika-dl-1.15-SNAPSHOT-jar-with-dependencies.jar!/org/apache/tika/dl/imagerec/inceptionv3-model.json
WARN  File org/apache/tika/dl/imagerec/imagenet_incpetionv3_class_index.json not found in local file system. Asking the classloader
INFO  Going to load Inception network...
INFO  Loaded [CpuBackend] backend
INFO  Number of threads used for NativeOps: 4
INFO  Reflections took 94 ms to scan 1 urls, producing 29 keys and 189 values 
INFO  Number of threads used for BLAS: 4
INFO  Backend used: [CPU]; OS: [Mac OS X]
INFO  Cores: [8]; Memory: [0.3GB];
INFO  Blas vendor: [OPENBLAS]
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3DAudio.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:431)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:386)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:376)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:123)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1019)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:559)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:543)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libAppleScriptEngine.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:431)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:386)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:376)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:123)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1019)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:559)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:543)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3D.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:431)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:386)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:376)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:123)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1019)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:559)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:543)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/usr/lib/java/libjdns_sd.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:431)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:386)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:376)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:123)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1019)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:559)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:543)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libmlib_jai.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:431)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:386)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:376)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:123)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1019)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:559)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:543)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3DUtils.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:431)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:386)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:376)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:123)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1019)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:559)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:543)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
INFO  Reflections took 1501 ms to scan 12 urls, producing 3710 keys and 16614 values 
WARN  Layer "batchnormalization_1" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_2" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_3" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_4" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_5" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_9" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_7" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_10" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_6" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_8" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_11" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_12" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_16" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_14" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_17" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_13" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_15" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_18" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_19" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_23" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_21" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_24" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_20" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_22" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_25" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_26" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_28" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_29" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_27" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_30" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_35" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_36" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_32" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_37" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_33" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_38" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_31" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_34" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_39" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_40" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_45" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_46" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_42" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_47" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_43" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_48" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_41" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_44" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_49" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_50" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_55" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_56" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_52" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_57" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_53" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_58" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_51" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_54" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_59" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_60" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_65" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_66" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_62" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_67" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_63" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_68" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_61" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_64" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_69" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_70" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_73" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_74" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_71" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_75" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_72" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_76" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_81" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_78" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_82" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_79" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_80" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_83" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_84" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_77" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_85" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_90" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_87" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_91" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_88" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_89" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_92" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_93" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_86" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_94" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Model cannot be trained: output layer predictions is not an IOutputLayer (no loss function specified)
WARN  Model cannot be trained: output predictions is not an IOutputLayer (no loss function specified)
INFO  Reflections took 107 ms to scan 1 urls, producing 371 keys and 1443 values 
INFO  Loaded the Inception model. Time taken=4944ms
INFO  minConfidence = 0.015, topN=10
INFO  Recogniser = org.apache.tika.dl.imagerec.DL4JInceptionV3Net
INFO  Recogniser Available = true
<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="org.apache.tika.parser.recognition.object.rec.impl" content="org.apache.tika.dl.imagerec.DL4JInceptionV3Net"/>
<meta name="X-Parsed-By" content="org.apache.tika.parser.CompositeParser"/>
<meta name="X-Parsed-By" content="org.apache.tika.parser.recognition.ObjectRecognitionParser"/>
<meta name="resourceName" content="23695_pets_vertical_store_dogs_small_tile_8._CB312176604_.jpg"/>
<meta name="Content-Length" content="56996"/>
<meta name="OBJECT" content="beagle (0.60227)"/>
<meta name="OBJECT" content="tennis_ball (0.11380)"/>
<meta name="OBJECT" content="Walker_hound (0.05603)"/>
<meta name="OBJECT" content="Labrador_retriever (0.02694)"/>
<meta name="OBJECT" content="bluetick (0.02557)"/>
<meta name="OBJECT" content="English_foxhound (0.02299)"/>
<meta name="Content-Type" content="image/jpeg"/>
<title/>
</head>
<body><ol id="objects"> <li id="162"> beagle [en](confidence = 0.602268 )</li>
    <li id="852"> tennis_ball [en](confidence = 0.113798 )</li>
    <li id="166"> Walker_hound [en](confidence = 0.056029 )</li>
    <li id="208"> Labrador_retriever [en](confidence = 0.026943 )</li>
    <li id="164"> bluetick [en](confidence = 0.025571 )</li>
    <li id="167"> English_foxhound [en](confidence = 0.022993 )</li>
</ol>
</body></html>LMC-053601:tika-gh mattmann$ 

I'd be happy to help fix it but don't really know the code base well.

All 22 comments

We fixed mac snapshots recently. Has that helped at all? /cc @huitseeker

hey @agibsonccc how recently, and should I just clear my Maven cache, and then re-try? thanks

OK, to report back, yes, that did help. I cleaned my .m2 cache (rm -rf $HOME/.m2/org/nd4j/), and then re-built tika-dl, (against 0.8.1-SNAPSHOT), and yes I now see (regularly) objects coming out:

java -Dorg.bytedeco.javacpp.nopointergc=true -cp ./tika-dl/target/tika-dl-1.15-SNAPSHOT-jar-with-dependencies.jar:tika-app/target/tika-app-1.15-SNAPSHOT.jar   org.apache.tika.cli.TikaCLI  --config=tika-dl/src/test/resources/org/apache/tika/dl/imagerec/dl4j-inception3-config.xml  https://images-na.ssl-images-amazon.com/images/G/01/img15/pet-products/small-tiles/23695_pets_vertical_store_dogs_small_tile_8._CB312176604_.jpg
WARN  JBIG2ImageReader not loaded. jbig2 files will be ignored
INFO  Cache exist at /Users/mattmann/git/tika-gh/.tmp-inception/inception-model-weights.h5. Not downloading it
WARN  File org/apache/tika/dl/imagerec/inceptionv3-model.json not found in local file system. Asking the classloader
INFO  Cache exist at /Users/mattmann/git/tika-gh/.tmp-inception/inceptionv3-model.json. Not downloading it
WARN  File org/apache/tika/dl/imagerec/imagenet_incpetionv3_class_index.json not found in local file system. Asking the classloader
INFO  Going to load Inception network...
INFO  Loaded [CpuBackend] backend
INFO  Number of threads used for NativeOps: 4
INFO  Reflections took 112 ms to scan 1 urls, producing 29 keys and 192 values 
INFO  Number of threads used for BLAS: 4
INFO  Backend used: [CPU]; OS: [Mac OS X]
INFO  Cores: [8]; Memory: [3.6GB];
INFO  Blas vendor: [OPENBLAS]
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3DAudio.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1050)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libAppleScriptEngine.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1050)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3D.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1050)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/usr/lib/java/libjdns_sd.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1050)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libmlib_jai.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1050)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
WARN  could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3DUtils.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
    at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
    at org.reflections.Reflections.scan(Reflections.java:237)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.registerSubtypes(NeuralNetConfiguration.java:428)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.configureMapper(NeuralNetConfiguration.java:383)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.initMapper(NeuralNetConfiguration.java:373)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration.<clinit>(NeuralNetConfiguration.java:120)
    at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.build(NeuralNetConfiguration.java:1050)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:578)
    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.addLayer(ComputationGraphConfiguration.java:562)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraphConfiguration(KerasModel.java:428)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:482)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.getComputationGraph(KerasModel.java:471)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:178)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:162)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:137)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:133)
    at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:675)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:407)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:143)
INFO  Reflections took 1896 ms to scan 12 urls, producing 3715 keys and 16631 values 
WARN  Layer "batchnormalization_1" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_2" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_3" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_4" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_5" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_9" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_7" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_10" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_6" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_8" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_11" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_12" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_16" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_14" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_17" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_13" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_15" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_18" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_19" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_23" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_21" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_24" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_20" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_22" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_25" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_26" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_28" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_29" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_27" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_30" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_35" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_36" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_32" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_37" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_33" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_38" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_31" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_34" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_39" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_40" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_45" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_46" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_42" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_47" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_43" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_48" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_41" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_44" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_49" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_50" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_55" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_56" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_52" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_57" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_53" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_58" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_51" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_54" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_59" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_60" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_65" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_66" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_62" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_67" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_63" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_68" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_61" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_64" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_69" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_70" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_73" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_74" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_71" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_75" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_72" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_76" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_81" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_78" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_82" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_79" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_80" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_83" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_84" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_77" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_85" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_90" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_87" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_91" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_88" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_89" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_92" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_93" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_86" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Layer "batchnormalization_94" momentum has been set but will not be applied unless the updater is set to NESTEROVS.
WARN  Model cannot be trained: output layer predictions is not an IOutputLayer (no loss function specified)
WARN  Model cannot be trained: output predictions is not an IOutputLayer (no loss function specified)
INFO  Reflections took 99 ms to scan 1 urls, producing 375 keys and 1457 values 
INFO  Loaded the Inception model. Time taken=4031ms
INFO  minConfidence = 0.015, topN=10
INFO  Recogniser = org.apache.tika.dl.imagerec.DL4JInceptionV3Net
INFO  Recogniser Available = true
<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="org.apache.tika.parser.recognition.object.rec.impl" content="org.apache.tika.dl.imagerec.DL4JInceptionV3Net"/>
<meta name="X-Parsed-By" content="org.apache.tika.parser.CompositeParser"/>
<meta name="X-Parsed-By" content="org.apache.tika.parser.recognition.ObjectRecognitionParser"/>
<meta name="resourceName" content="23695_pets_vertical_store_dogs_small_tile_8._CB312176604_.jpg"/>
<meta name="Content-Length" content="56996"/>
<meta name="OBJECT" content="beagle (0.60227)"/>
<meta name="OBJECT" content="tennis_ball (0.11380)"/>
<meta name="OBJECT" content="Walker_hound (0.05603)"/>
<meta name="OBJECT" content="Labrador_retriever (0.02694)"/>
<meta name="OBJECT" content="bluetick (0.02557)"/>
<meta name="OBJECT" content="English_foxhound (0.02299)"/>
<meta name="Content-Type" content="image/jpeg"/>
<title/>
</head>
<body><ol id="objects"> <li id="162"> beagle [en](confidence = 0.602268 )</li>
    <li id="852"> tennis_ball [en](confidence = 0.113798 )</li>
    <li id="166"> Walker_hound [en](confidence = 0.056029 )</li>
    <li id="208"> Labrador_retriever [en](confidence = 0.026943 )</li>
    <li id="164"> bluetick [en](confidence = 0.025571 )</li>
    <li id="167"> English_foxhound [en](confidence = 0.022993 )</li>
</ol>
</body></html>LMC-053601:tika-gh mattmann$ 

Do you guys have a date where you are going to release 0.8.1? If it's soon I think we can delay the Tika 1.15 release...and push tika-dl. Let me know thanks!

Hmm let me get back to you there. I wouldn't want to hold up your release..were you guys using anything that was relying on 0.8.1? The only thing I could think of might be the hdf5 fix? What do you think @saudet ?

Unfortunately this release is looking pretty big but we might be able to cut it after workspaces and our new ETL is in place.

@raver119 how long do you think we have on this before it's beaten in to shape? It seems like we're close.

We can always try to start a release build with Jenkins and see what that
gives :)

Or just make a patch release for that one bug fix?

I've released deeplearning4j-modelimport and deeplearning4j-keras version 0.8.0-1 based on the current master and https://github.com/deeplearning4j/deeplearning4j/commit/344cb1e44714bccfcfdc5b2c91032ad45bc8eb23, but it basically only includes the fix I made over 0.8.0:
http://repo1.maven.org/maven2/org/deeplearning4j/deeplearning4j-modelimport/0.8.0-1/
http://repo1.maven.org/maven2/org/deeplearning4j/deeplearning4j-keras/0.8.0-1/
@chrismattmann Let us know if that works! Thanks

hey @saudet no problem I will test this today and report back!

OK, having trouble building @saudet running into this:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.109 s
[INFO] Finished at: 2017-05-07T11:45:31-07:00
[INFO] Final Memory: 14M/187M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project tika-dl: Could not resolve dependencies for project org.apache.tika:tika-dl:jar:1.15-SNAPSHOT: The following artifacts could not be resolved: org.datavec:datavec-data-image:jar:0.8.0-1, org.nd4j:nd4j-native-platform:jar:0.8.0-1: Could not find artifact org.datavec:datavec-data-image:jar:0.8.0-1 in oss-sonatype (https://oss.sonatype.org/content/repositories/snapshots/) -> [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/DependencyResolutionException
LMC-053601:tika-dl mattmann$ 

I referenced 0.8.0-1 in the pom.

perhaps the issue is that in the tika-dl pom.xml, we have:

  <dependencies>
    <dependency>
      <groupId>org.apache.tika</groupId>
      <artifactId>tika-parsers</artifactId>
      <version>${project.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.deeplearning4j</groupId>
      <artifactId>deeplearning4j-modelimport</artifactId>
      <version>${dl4j.version}</version>
    </dependency>
    <dependency>
      <groupId>org.datavec</groupId>
      <artifactId>datavec-data-image</artifactId>
      <version>${dl4j.version}</version>
    </dependency>
    <dependency>
      <groupId>org.nd4j</groupId>
      <artifactId>nd4j-native-platform</artifactId>
      <version>${dl4j.version}</version>
    </dependency>
  </dependencies>

assuming they should all be the same version. Is that not the case in this patch release? If not, what should I set them to?

As a test, I went ahead and pinned just the -modelimport to 0.8.0-1, and then left data-image and -native-platform as 0.8.0. Here's what I get:

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: 1, Skipped: 0, Time elapsed: 88.459 sec <<< FAILURE! - in org.apache.tika.dl.imagerec.DL4JInceptionV3NetTest
recognise(org.apache.tika.dl.imagerec.DL4JInceptionV3NetTest)  Time elapsed: 88.458 sec  <<< ERROR!
java.lang.NoSuchMethodError: org.deeplearning4j.nn.conf.layers.ConvolutionLayer$Builder.name(Ljava/lang/String;)Lorg/deeplearning4j/nn/conf/layers/ConvolutionLayer$Builder;
    at org.deeplearning4j.nn.modelimport.keras.layers.KerasConvolution.<init>(KerasConvolution.java:55)
    at org.deeplearning4j.nn.modelimport.keras.KerasLayer.getKerasLayerFromConfig(KerasLayer.java:218)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.helperPrepareLayers(KerasModel.java:190)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.<init>(KerasModel.java:164)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel.<init>(KerasModel.java:97)
    at org.deeplearning4j.nn.modelimport.keras.KerasModel$ModelBuilder.buildModel(KerasModel.java:576)
    at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:177)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3Net.initialize(DL4JInceptionV3Net.java:265)
    at org.apache.tika.parser.recognition.ObjectRecognitionParser.initialize(ObjectRecognitionParser.java:100)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOne(TikaConfig.java:603)
    at org.apache.tika.config.TikaConfig$XmlLoader.loadOverall(TikaConfig.java:525)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:185)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:166)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:159)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:155)
    at org.apache.tika.dl.imagerec.DL4JInceptionV3NetTest.recognise(DL4JInceptionV3NetTest.java:31)

It builds, but our tests don't seem to work looks like there is non compat API stuff with 0.8.0 and 0.8.0-1

I tried some variants of this, still didn't work:

LMC-053601:tika-dl mattmann$ git diff
diff --git a/tika-dl/pom.xml b/tika-dl/pom.xml
index 88beeb6..a0db019 100644
--- a/tika-dl/pom.xml
+++ b/tika-dl/pom.xml
@@ -37,7 +37,8 @@

   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <dl4j.version>0.8.0-1</dl4j.version> 
+    <dl4j.version>0.8.0</dl4j.version> 
+    <dl4j.model.version>0.8.0-1</dl4j.model.version>
   </properties>

   <dependencies>
@@ -54,8 +55,19 @@
     </dependency>
     <dependency>
       <groupId>org.deeplearning4j</groupId>
+      <artifactId>deeplearning4j-keras</artifactId>
+      <version>${dl4j.model.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.deeplearning4j</groupId>
       <artifactId>deeplearning4j-modelimport</artifactId>
-      <version>${dl4j.version}</version>
+      <version>${dl4j.model.version}</version>
+      <exclusions>
+         <exclusion>
+            <groupId>org.deeplearning4j</groupId>
+            <artifactId>deeplearning4j-keras</artifactId>
+         </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.datavec</groupId>
LMC-053601:tika-dl mattmann$ 

This was because, when I first tried just the model version difference, it gave me weird API issues as posted above. Then I directly included deeplearning4j-keras, pinned the version, it didn't work (and then I thought maybe I need to exclude deeplearning4j-keras in modelimport - that didn't work either).

That's really strange because that file KerasConvolution hasn't changed since version 0.8.0. It's almost as if something else somewhere is trying to load an older version of Deeplearning4j. Mind running a "mvn dependency: tree" on your pom.xml file?

no problem here you go:

LMC-053601:tika-dl mattmann$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building tika-dl 1.15-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ tika-dl ---
[INFO] org.apache.tika:tika-dl:jar:1.15-SNAPSHOT
[INFO] +- org.apache.tika:tika-parsers:jar:1.15-SNAPSHOT:provided
[INFO] |  +- org.apache.tika:tika-core:jar:1.15-SNAPSHOT:provided
[INFO] |  +- org.gagravarr:vorbis-java-tika:jar:0.8:provided
[INFO] |  +- com.healthmarketscience.jackcess:jackcess:jar:2.1.4:provided
[INFO] |  |  \- commons-lang:commons-lang:jar:2.6:provided
[INFO] |  +- com.healthmarketscience.jackcess:jackcess-encrypt:jar:2.1.1:provided
[INFO] |  +- org.tallison:jmatio:jar:1.2:provided
[INFO] |  +- org.apache.james:apache-mime4j-core:jar:0.7.2:provided
[INFO] |  +- org.apache.james:apache-mime4j-dom:jar:0.7.2:provided
[INFO] |  +- org.apache.commons:commons-compress:jar:1.13:compile
[INFO] |  +- org.tukaani:xz:jar:1.6:provided
[INFO] |  +- commons-codec:commons-codec:jar:1.10:compile
[INFO] |  +- org.apache.pdfbox:pdfbox:jar:2.0.5:provided
[INFO] |  |  \- org.apache.pdfbox:fontbox:jar:2.0.5:provided
[INFO] |  +- org.apache.pdfbox:pdfbox-tools:jar:2.0.5:provided
[INFO] |  |  \- org.apache.pdfbox:pdfbox-debugger:jar:2.0.5:provided
[INFO] |  +- org.apache.pdfbox:jempbox:jar:1.8.13:provided
[INFO] |  +- org.bouncycastle:bcmail-jdk15on:jar:1.54:provided
[INFO] |  |  \- org.bouncycastle:bcpkix-jdk15on:jar:1.54:provided
[INFO] |  +- org.bouncycastle:bcprov-jdk15on:jar:1.54:provided
[INFO] |  +- org.apache.poi:poi:jar:3.16:provided
[INFO] |  |  \- org.apache.commons:commons-collections4:jar:4.1:provided
[INFO] |  +- org.apache.poi:poi-scratchpad:jar:3.16:provided
[INFO] |  +- org.apache.poi:poi-ooxml:jar:3.16:provided
[INFO] |  |  +- org.apache.poi:poi-ooxml-schemas:jar:3.16:provided
[INFO] |  |  |  \- org.apache.xmlbeans:xmlbeans:jar:2.6.0:provided
[INFO] |  |  \- com.github.virtuald:curvesapi:jar:1.04:provided
[INFO] |  +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:provided
[INFO] |  +- org.ow2.asm:asm:jar:5.0.4:provided
[INFO] |  +- com.googlecode.mp4parser:isoparser:jar:1.1.18:provided
[INFO] |  +- com.drewnoakes:metadata-extractor:jar:2.9.1:provided
[INFO] |  |  \- com.adobe.xmp:xmpcore:jar:5.1.2:provided
[INFO] |  +- de.l3s.boilerpipe:boilerpipe:jar:1.1.0:provided
[INFO] |  +- com.rometools:rome:jar:1.5.1:provided
[INFO] |  |  \- com.rometools:rome-utils:jar:1.5.1:provided
[INFO] |  +- org.gagravarr:vorbis-java-core:jar:0.8:provided
[INFO] |  +- com.googlecode.juniversalchardet:juniversalchardet:jar:1.0.3:provided
[INFO] |  +- org.codelibs:jhighlight:jar:1.0.2:provided
[INFO] |  +- com.pff:java-libpst:jar:0.8.1:provided
[INFO] |  +- com.github.junrar:junrar:jar:0.7:provided
[INFO] |  |  \- org.apache.commons:commons-vfs2:jar:2.0:provided
[INFO] |  |     +- org.apache.maven.scm:maven-scm-api:jar:1.4:provided
[INFO] |  |     |  \- org.codehaus.plexus:plexus-utils:jar:1.5.6:provided
[INFO] |  |     \- org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.4:provided
[INFO] |  |        +- org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.4:provided
[INFO] |  |        \- regexp:regexp:jar:1.3:provided
[INFO] |  +- org.apache.cxf:cxf-rt-rs-client:jar:3.0.12:provided
[INFO] |  |  +- org.apache.cxf:cxf-rt-transports-http:jar:3.0.12:provided
[INFO] |  |  +- org.apache.cxf:cxf-core:jar:3.0.12:provided
[INFO] |  |  |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:provided
[INFO] |  |  |  \- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.1:provided
[INFO] |  |  \- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:3.0.12:provided
[INFO] |  |     +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided
[INFO] |  |     \- javax.annotation:javax.annotation-api:jar:1.2:provided
[INFO] |  +- org.apache.commons:commons-exec:jar:1.3:provided
[INFO] |  +- org.apache.opennlp:opennlp-tools:jar:1.6.0:provided
[INFO] |  +- commons-io:commons-io:jar:2.5:compile
[INFO] |  +- com.googlecode.json-simple:json-simple:jar:1.1.1:provided
[INFO] |  +- org.json:json:jar:20140107:compile
[INFO] |  +- com.google.code.gson:gson:jar:2.2.4:provided
[INFO] |  +- org.slf4j:slf4j-api:jar:1.7.24:compile
[INFO] |  +- org.slf4j:jul-to-slf4j:jar:1.7.24:provided
[INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.7.24:provided
[INFO] |  +- edu.ucar:netcdf4:jar:4.5.5:provided
[INFO] |  |  +- net.jcip:jcip-annotations:jar:1.0:provided
[INFO] |  |  \- net.java.dev.jna:jna:jar:4.1.0:provided
[INFO] |  +- edu.ucar:grib:jar:4.5.5:provided
[INFO] |  |  +- com.google.protobuf:protobuf-java:jar:2.5.0:provided
[INFO] |  |  +- org.jdom:jdom2:jar:2.0.4:provided
[INFO] |  |  +- org.jsoup:jsoup:jar:1.7.2:provided
[INFO] |  |  +- edu.ucar:jj2000:jar:5.2:provided
[INFO] |  |  \- org.itadaki:bzip2:jar:0.9.1:provided
[INFO] |  +- edu.ucar:cdm:jar:4.5.5:provided
[INFO] |  |  +- edu.ucar:udunits:jar:4.5.5:provided
[INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.2.5:provided
[INFO] |  |  +- joda-time:joda-time:jar:2.2:compile
[INFO] |  |  +- org.quartz-scheduler:quartz:jar:2.2.0:provided
[INFO] |  |  |  \- c3p0:c3p0:jar:0.9.1.1:provided
[INFO] |  |  +- net.sf.ehcache:ehcache-core:jar:2.6.2:provided
[INFO] |  |  +- com.google.guava:guava:jar:17.0:compile
[INFO] |  |  \- com.beust:jcommander:jar:1.35:provided
[INFO] |  +- edu.ucar:httpservices:jar:4.5.5:provided
[INFO] |  |  +- org.apache.httpcomponents:httpclient:jar:4.2.6:provided
[INFO] |  |  \- org.apache.httpcomponents:httpmime:jar:4.2.6:provided
[INFO] |  +- org.apache.commons:commons-csv:jar:1.0:provided
[INFO] |  +- org.apache.sis.core:sis-utility:jar:0.6:provided
[INFO] |  +- org.apache.sis.storage:sis-netcdf:jar:0.6:provided
[INFO] |  |  +- org.apache.sis.storage:sis-storage:jar:0.6:provided
[INFO] |  |  \- org.apache.sis.core:sis-referencing:jar:0.6:provided
[INFO] |  +- org.apache.sis.core:sis-metadata:jar:0.6:provided
[INFO] |  +- org.opengis:geoapi:jar:3.0.0:provided
[INFO] |  |  \- javax.measure:jsr-275:jar:0.9.3:provided
[INFO] |  +- edu.usc.ir:sentiment-analysis-parser:jar:0.1:provided
[INFO] |  |  +- org.apache.tika:tika-serialization:jar:1.13:provided
[INFO] |  |  \- org.apache.solr:solr-solrj:jar:5.0.0:provided
[INFO] |  |     +- org.apache.zookeeper:zookeeper:jar:3.4.6:provided
[INFO] |  |     \- org.noggit:noggit:jar:0.6:provided
[INFO] |  \- com.fasterxml.jackson.core:jackson-core:jar:2.8.1:provided
[INFO] +- junit:junit:jar:4.12:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.deeplearning4j:deeplearning4j-keras:jar:0.8.0-1:compile
[INFO] |  +- org.nd4j:nd4j-api:jar:0.8.0:compile
[INFO] |  |  +- org.nd4j:nd4j-context:jar:0.8.0:compile
[INFO] |  |  \- net.ericaro:neoitertools:jar:1.0.0:compile
[INFO] |  +- org.deeplearning4j:deeplearning4j-core:jar:0.8.0:compile
[INFO] |  |  +- org.apache.commons:commons-math3:jar:3.4.1:compile
[INFO] |  |  +- org.apache.commons:commons-lang3:jar:3.3.1:compile
[INFO] |  |  +- org.datavec:datavec-api:jar:0.8.0:compile
[INFO] |  |  |  +- org.freemarker:freemarker:jar:2.3.23:compile
[INFO] |  |  |  +- org.reflections:reflections:jar:0.9.10:compile
[INFO] |  |  |  |  +- org.javassist:javassist:jar:3.19.0-GA:compile
[INFO] |  |  |  |  \- com.google.code.findbugs:annotations:jar:2.0.1:compile
[INFO] |  |  |  \- com.clearspring.analytics:stream:jar:2.7.0:compile
[INFO] |  |  |     \- it.unimi.dsi:fastutil:jar:6.5.7:compile
[INFO] |  |  \- org.deeplearning4j:deeplearning4j-ui-components:jar:0.8.0:compile
[INFO] |  \- net.sf.py4j:py4j:jar:0.10.4:compile
[INFO] +- org.deeplearning4j:deeplearning4j-modelimport:jar:0.8.0-1:compile
[INFO] |  +- org.deeplearning4j:deeplearning4j-nn:jar:0.8.0:compile
[INFO] |  +- org.nd4j:jackson:jar:0.8.0:compile
[INFO] |  |  +- org.yaml:snakeyaml:jar:1.12:compile
[INFO] |  |  \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[INFO] |  +- org.bytedeco:javacpp:jar:1.3.2:compile
[INFO] |  +- org.bytedeco.javacpp-presets:hdf5-platform:jar:1.10.0-patch1-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:hdf5:jar:1.10.0-patch1-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:hdf5:jar:linux-x86:1.10.0-patch1-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:hdf5:jar:linux-x86_64:1.10.0-patch1-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:hdf5:jar:linux-ppc64le:1.10.0-patch1-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:hdf5:jar:macosx-x86_64:1.10.0-patch1-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:hdf5:jar:windows-x86:1.10.0-patch1-1.3:compile
[INFO] |  |  \- org.bytedeco.javacpp-presets:hdf5:jar:windows-x86_64:1.10.0-patch1-1.3:compile
[INFO] |  \- org.projectlombok:lombok:jar:1.16.10:compile
[INFO] +- org.datavec:datavec-data-image:jar:0.8.0:compile
[INFO] |  +- org.nd4j:nd4j-buffer:jar:0.8.0:compile
[INFO] |  |  \- org.nd4j:nd4j-common:jar:0.8.0:compile
[INFO] |  +- org.datavec:datavec-nd4j-common:jar:0.8.0:compile
[INFO] |  +- com.github.jai-imageio:jai-imageio-core:jar:1.3.0:compile
[INFO] |  +- com.twelvemonkeys.imageio:imageio-jpeg:jar:3.1.1:compile
[INFO] |  |  +- com.twelvemonkeys.imageio:imageio-core:jar:3.1.1:compile
[INFO] |  |  +- com.twelvemonkeys.imageio:imageio-metadata:jar:3.1.1:compile
[INFO] |  |  +- com.twelvemonkeys.common:common-lang:jar:3.1.1:compile
[INFO] |  |  +- com.twelvemonkeys.common:common-io:jar:3.1.1:compile
[INFO] |  |  \- com.twelvemonkeys.common:common-image:jar:3.1.1:compile
[INFO] |  +- com.twelvemonkeys.imageio:imageio-tiff:jar:3.1.1:compile
[INFO] |  +- com.twelvemonkeys.imageio:imageio-psd:jar:3.1.1:compile
[INFO] |  +- com.twelvemonkeys.imageio:imageio-bmp:jar:3.1.1:compile
[INFO] |  +- org.bytedeco:javacv:jar:1.3.1:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:opencv:jar:3.1.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:ffmpeg:jar:3.2.1-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:flycapture:jar:2.9.3.43-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:libdc1394:jar:2.2.4-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:libfreenect:jar:0.5.3-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:libfreenect2:jar:0.2.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:librealsense:jar:1.9.6-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:videoinput:jar:0.200-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:artoolkitplus:jar:2.3.1-1.3:compile
[INFO] |  |  \- org.bytedeco.javacpp-presets:flandmark:jar:1.07-1.3:compile
[INFO] |  +- org.bytedeco.javacpp-presets:opencv-platform:jar:3.1.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:opencv:jar:android-arm:3.1.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:opencv:jar:android-x86:3.1.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:opencv:jar:linux-x86:3.1.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:opencv:jar:linux-x86_64:3.1.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:opencv:jar:linux-armhf:3.1.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:opencv:jar:linux-ppc64le:3.1.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:opencv:jar:macosx-x86_64:3.1.0-1.3:compile
[INFO] |  |  +- org.bytedeco.javacpp-presets:opencv:jar:windows-x86:3.1.0-1.3:compile
[INFO] |  |  \- org.bytedeco.javacpp-presets:opencv:jar:windows-x86_64:3.1.0-1.3:compile
[INFO] |  \- org.bytedeco.javacpp-presets:leptonica-platform:jar:1.73-1.3:compile
[INFO] |     +- org.bytedeco.javacpp-presets:leptonica:jar:1.73-1.3:compile
[INFO] |     +- org.bytedeco.javacpp-presets:leptonica:jar:android-arm:1.73-1.3:compile
[INFO] |     +- org.bytedeco.javacpp-presets:leptonica:jar:android-x86:1.73-1.3:compile
[INFO] |     +- org.bytedeco.javacpp-presets:leptonica:jar:linux-x86:1.73-1.3:compile
[INFO] |     +- org.bytedeco.javacpp-presets:leptonica:jar:linux-x86_64:1.73-1.3:compile
[INFO] |     +- org.bytedeco.javacpp-presets:leptonica:jar:linux-armhf:1.73-1.3:compile
[INFO] |     +- org.bytedeco.javacpp-presets:leptonica:jar:linux-ppc64le:1.73-1.3:compile
[INFO] |     +- org.bytedeco.javacpp-presets:leptonica:jar:macosx-x86_64:1.73-1.3:compile
[INFO] |     +- org.bytedeco.javacpp-presets:leptonica:jar:windows-x86:1.73-1.3:compile
[INFO] |     \- org.bytedeco.javacpp-presets:leptonica:jar:windows-x86_64:1.73-1.3:compile
[INFO] \- org.nd4j:nd4j-native-platform:jar:0.8.0:compile
[INFO]    +- org.nd4j:nd4j-native:jar:0.8.0:compile
[INFO]    |  +- org.bytedeco.javacpp-presets:openblas-platform:jar:0.2.19-1.3:compile
[INFO]    |  |  +- org.bytedeco.javacpp-presets:openblas:jar:0.2.19-1.3:compile
[INFO]    |  |  +- org.bytedeco.javacpp-presets:openblas:jar:android-arm:0.2.19-1.3:compile
[INFO]    |  |  +- org.bytedeco.javacpp-presets:openblas:jar:android-x86:0.2.19-1.3:compile
[INFO]    |  |  +- org.bytedeco.javacpp-presets:openblas:jar:linux-x86:0.2.19-1.3:compile
[INFO]    |  |  +- org.bytedeco.javacpp-presets:openblas:jar:linux-x86_64:0.2.19-1.3:compile
[INFO]    |  |  +- org.bytedeco.javacpp-presets:openblas:jar:linux-armhf:0.2.19-1.3:compile
[INFO]    |  |  +- org.bytedeco.javacpp-presets:openblas:jar:linux-ppc64le:0.2.19-1.3:compile
[INFO]    |  |  +- org.bytedeco.javacpp-presets:openblas:jar:macosx-x86_64:0.2.19-1.3:compile
[INFO]    |  |  +- org.bytedeco.javacpp-presets:openblas:jar:windows-x86:0.2.19-1.3:compile
[INFO]    |  |  \- org.bytedeco.javacpp-presets:openblas:jar:windows-x86_64:0.2.19-1.3:compile
[INFO]    |  \- org.nd4j:nd4j-native-api:jar:0.8.0:compile
[INFO]    +- org.nd4j:nd4j-native:jar:android-arm:0.8.0:compile
[INFO]    +- org.nd4j:nd4j-native:jar:android-x86:0.8.0:compile
[INFO]    +- org.nd4j:nd4j-native:jar:linux-x86_64:0.8.0:compile
[INFO]    +- org.nd4j:nd4j-native:jar:macosx-x86_64:0.8.0:compile
[INFO]    +- org.nd4j:nd4j-native:jar:windows-x86_64:0.8.0:compile
[INFO]    \- org.nd4j:nd4j-native:jar:linux-ppc64le:0.8.0:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.482 s
[INFO] Finished at: 2017-05-07T16:47:42-07:00
[INFO] Final Memory: 23M/437M
[INFO] ------------------------------------------------------------------------
LMC-053601:tika-dl mattmann$ 

Nothing suspicious, but maybe the JAR files in .m2/repository are wrong? mvn test -Dtest=KerasLayerTest under the deeplearning4j-modelimport subdirectory of my sa_keras_0.8.0-1 branch does the same kind of instantiation with no problem at all here. I guess I'll have to look at the branch with tika-dl myself. Where can I find it?

Actually, I was able to reproduce the error. It turns out that it was building against 0.8.1-SNAPSHOT. We need to add an empty <relativePath> element to the <parent> one of the pom.xml file, like I've done in commit 7f704f7 and released as 0.8.0-2:
http://repo1.maven.org/maven2/org/deeplearning4j/deeplearning4j-modelimport/0.8.0-2/
http://repo1.maven.org/maven2/org/deeplearning4j/deeplearning4j-keras/0.8.0-2/

thanks @saudet I'll give it a shot now.

yep that fixed it! 馃憤

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/mattmann/git/tika-gh/tika-dl/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ tika-dl ---
[INFO] Surefire report directory: /Users/mattmann/git/tika-gh/tika-dl/target/surefire-reports

-------------------------------------------------------
 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.112 sec - in org.apache.tika.dl.imagerec.DL4JInceptionV3NetTest

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ tika-dl ---
[INFO] Building jar: /Users/mattmann/git/tika-gh/tika-dl/target/tika-dl-1.15-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ tika-dl ---
[INFO] 
[INFO] --- maven-assembly-plugin:2.4.1:single (make-assembly) @ tika-dl ---
[INFO] Building jar: /Users/mattmann/git/tika-gh/tika-dl/target/tika-dl-1.15-SNAPSHOT-jar-with-dependencies.jar
[INFO] 
[INFO] --- forbiddenapis:2.2:check (default) @ tika-dl ---
[INFO] Scanning for classes to check...
[INFO] Reading bundled API signatures: jdk-unsafe-1.7
[INFO] Reading bundled API signatures: jdk-deprecated-1.7
[INFO] Reading bundled API signatures: commons-io-unsafe-2.5
[WARNING] The setting 'internalRuntimeForbidden' was deprecated and will be removed in next version. For backwards compatibility task/mojo is using 'jdk-non-portable' bundled signatures instead.
[INFO] Reading bundled API signatures: jdk-non-portable
[INFO] Loading classes to check...
[INFO] Scanning classes for violations...
[INFO] Scanned 1 (and 274 related) class file(s) for forbidden API invocations (in 0.09s), 0 error(s).
[INFO] 
[INFO] --- forbiddenapis:2.2:testCheck (default) @ tika-dl ---
[INFO] Scanning for classes to check...
[INFO] Reading bundled API signatures: jdk-unsafe-1.7
[INFO] Reading bundled API signatures: jdk-deprecated-1.7
[INFO] Reading bundled API signatures: commons-io-unsafe-2.5
[WARNING] The setting 'internalRuntimeForbidden' was deprecated and will be removed in next version. For backwards compatibility task/mojo is using 'jdk-non-portable' bundled signatures instead.
[INFO] Reading bundled API signatures: jdk-non-portable
[INFO] Loading classes to check...
[INFO] Scanning classes for violations...
[INFO] Scanned 1 (and 226 related) class file(s) for forbidden API invocations (in 0.04s), 0 error(s).
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ tika-dl ---
[INFO] Installing /Users/mattmann/git/tika-gh/tika-dl/target/tika-dl-1.15-SNAPSHOT.jar to /Users/mattmann/.m2/repository/org/apache/tika/tika-dl/1.15-SNAPSHOT/tika-dl-1.15-SNAPSHOT.jar
[INFO] Installing /Users/mattmann/git/tika-gh/tika-dl/pom.xml to /Users/mattmann/.m2/repository/org/apache/tika/tika-dl/1.15-SNAPSHOT/tika-dl-1.15-SNAPSHOT.pom
[INFO] Installing /Users/mattmann/git/tika-gh/tika-dl/target/tika-dl-1.15-SNAPSHOT-jar-with-dependencies.jar to /Users/mattmann/.m2/repository/org/apache/tika/tika-dl/1.15-SNAPSHOT/tika-dl-1.15-SNAPSHOT-jar-with-dependencies.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43.680 s
[INFO] Finished at: 2017-05-08T22:22:21-07:00
[INFO] Final Memory: 117M/1196M
[INFO] ------------------------------------------------------------------------
LMC-053601:tika-dl mattmann$ 

Going to close this issue as fixed now thanks team! Going to also commit tika-dl to the source tree.

@chrismattmann what is your keras version, I've got the same problem, but fail to fix it with 0.8.0-2

@agibsonccc Had a look, but I can't see anywhere where the mac-ness of things, or the snapshots, could impact this.

@huitseeker @zheolong found the issue and will send us a pull request soon.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexDBlack picture AlexDBlack  路  4Comments

Storm-cev picture Storm-cev  路  5Comments

Vigasto picture Vigasto  路  3Comments

jesuino picture jesuino  路  5Comments

hanbaoan123 picture hanbaoan123  路  4Comments