You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2021/06/28 18:41:00 UTC

[jira] [Commented] (TIKA-3458) Upgrade DL4J to 1.0.0-M1

    [ https://issues.apache.org/jira/browse/TIKA-3458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370789#comment-17370789 ] 

Tim Allison commented on TIKA-3458:
-----------------------------------

No luck.  This could be user error.

{noformat}
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/tallison/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/tallison/.m2/repository/org/slf4j/slf4j-log4j12/1.7.30/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
18:36:00.538 [main] DEBUG org.apache.tika.dl.imagerec.DL4JInceptionV3Net - Config instructed to download the file, doing so.
18:36:00.541 [main] INFO org.apache.tika.dl.imagerec.DL4JInceptionV3Net - Cache exist at /home/tallison/.tika-dl/models/keras/inception-v3/inception_v3_keras_2.h5. Not downloading it
18:36:00.543 [main] DEBUG org.apache.tika.dl.imagerec.DL4JInceptionV3Net - Config instructed to download the file, doing so.
18:36:00.543 [main] INFO org.apache.tika.dl.imagerec.DL4JInceptionV3Net - Cache exist at /home/tallison/.tika-dl/models/keras/inception-v3/imagenet_class_index.json. Not downloading it
Warning: Could not load Loader: java.lang.UnsatisfiedLinkError: no jnijavacpp in java.library.path
18:36:03.951 [main] INFO org.apache.tika.dl.imagerec.DL4JInceptionV3Net - Going to load Inception network...
18:36:04.711 [main] WARN org.deeplearning4j.nn.conf.inputs.InputType - Assigning height of 0. Normally this is not valid. Exceptions for this are generally relatedto model import and unknown dimensions
18:36:04.711 [main] WARN org.deeplearning4j.nn.conf.inputs.InputType - Assigning width of 0. Normally this is not valid. Exceptions for this are generally relatedto model import and unknown dimensions
18:36:04.842 [main] INFO org.nd4j.linalg.factory.Nd4jBackend - Loaded [CpuBackend] backend
18:36:04.844 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.nd4j.linalg.jblas.JblasBackend] of provided class-loader.
18:36:04.844 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.canova.api.io.data.DoubleWritable] of provided class-loader.
18:36:04.845 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.nd4j.linalg.jblas.JblasBackend] of provided class-loader.
18:36:04.845 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.canova.api.io.data.DoubleWritable] of provided class-loader.
18:36:05.326 [main] INFO org.nd4j.nativeblas.NativeOpsHolder - Number of threads used for linear algebra: 4
18:36:05.327 [main] INFO org.nd4j.linalg.cpu.nativecpu.CpuNDArrayFactory - Binary level Generic x86 optimization level AVX/AVX2
18:36:05.332 [main] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for OpenMP BLAS: 4
18:36:05.337 [main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Backend used: [CPU]; OS: [Linux]
18:36:05.337 [main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Cores: [8]; Memory: [2.7GB];
18:36:05.337 [main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Blas vendor: [OPENBLAS]
18:36:05.342 [main] INFO org.nd4j.linalg.cpu.nativecpu.CpuBackend - Backend build information:
 GCC: "7.5.0"
STD version: 201103L
DEFAULT_ENGINE: samediff::ENGINE_CPU
HAVE_FLATBUFFERS
HAVE_OPENBLAS
18:36:06.232 [main] INFO org.deeplearning4j.nn.graph.ComputationGraph - Starting ComputationGraph with WorkspaceModes set to [training: ENABLED; inference: ENABLED], cacheMode set to [NONE]
18:36:06.585 [main] INFO org.apache.tika.dl.imagerec.DL4JInceptionV3Net - Loaded the Inception model. Time taken=2634ms
18:36:06.585 [main] INFO org.apache.tika.parser.recognition.ObjectRecognitionParser - Recogniser = org.apache.tika.dl.imagerec.DL4JInceptionV3Net
18:36:06.585 [main] INFO org.apache.tika.parser.recognition.ObjectRecognitionParser - Recogniser Available = true
{noformat}

> Upgrade DL4J to 1.0.0-M1
> ------------------------
>
>                 Key: TIKA-3458
>                 URL: https://issues.apache.org/jira/browse/TIKA-3458
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>
> While trying to upgrade other dependencies, I thought I'd try 1.0.0-M1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)