Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2868

Fix DL4JVGG16Net to work with dl4j-beta3

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.21
    • Component/s: None
    • Labels:
      None

      Description

      Stacktrace:

      java.lang.IllegalStateException: Number of indices (got 2) must be
      same as array rank (1) - indices [0, 0]
      at org.nd4j.base.Preconditions.throwStateEx(Preconditions.java:641)
      at org.nd4j.base.Preconditions.checkState(Preconditions.java:376)
      at org.nd4j.linalg.api.shape.Shape.getOffset(Shape.java:884)
      at org.nd4j.linalg.api.shape.Shape.getDouble(Shape.java:680)
      at org.nd4j.linalg.api.ndarray.BaseNDArray.getDouble(BaseNDArray.java:1906)
      at org.nd4j.linalg.api.ndarray.BaseNDArray.getInt(BaseNDArray.java:1851)
      at org.apache.tika.dl.imagerec.DL4JVGG16Net.predict(DL4JVGG16Net.java:147)
      at org.apache.tika.dl.imagerec.DL4JVGG16Net.recognise(DL4JVGG16Net.java:128)
      at org.apache.tika.parser.recognition.ObjectRecognitionParser.parse(ObjectRecognitionParser.java:118)

        Attachments

          Activity

            People

            • Assignee:
              tallison Tim Allison
              Reporter:
              tallison Tim Allison

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment