[jira] [Commented] (TIKA-2672) Upgrade dl4j to 1.0.0-beta

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (TIKA-2672) Upgrade dl4j to 1.0.0-beta

JIRA jira@apache.org

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

ASF GitHub Bot commented on TIKA-2672:
--------------------------------------

chrismattmann commented on issue #241: Fix for TIKA-2672
URL: https://github.com/apache/tika/pull/241#issuecomment-403544294
 
 
   @ThejanW I pulled your latest, and I'm stilling getting this error:
   
   ```
   Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-SNAPSHOT/nd4j-native-1.0.0-20180709.142828-3573-windows-x86_64.jar
   Downloaded: https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-SNAPSHOT/nd4j-native-1.0.0-20180709.142828-3573-windows-x86_64.jar (7.0 MB at 505 kB/s)
   Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-SNAPSHOT/nd4j-native-1.0.0-20180709.141635-3571-linux-ppc64le.jar
   Downloaded: https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-SNAPSHOT/nd4j-native-1.0.0-20180709.133434-3566-ios-x86_64.jar (6.6 MB at 467 kB/s)
   Downloaded: https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-SNAPSHOT/nd4j-native-1.0.0-20180709.131559-3561-ios-arm64.jar (5.7 MB at 383 kB/s)
   Downloaded: https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-SNAPSHOT/nd4j-native-1.0.0-20180709.141635-3571-linux-ppc64le.jar (5.9 MB at 382 kB/s)
   Downloaded: https://oss.sonatype.org/content/repositories/snapshots/org/bytedeco/javacpp-presets/mkl-dnn/0.14-1.4.2-SNAPSHOT/mkl-dnn-0.14-1.4.2-20180708.232718-45-linux-x86_64.jar (43 MB at 2.2 MB/s)
   Downloaded: https://oss.sonatype.org/content/repositories/snapshots/org/bytedeco/javacpp-presets/mkl-dnn/0.14-1.4.2-SNAPSHOT/mkl-dnn-0.14-1.4.2-20180708.202304-44-windows-x86_64.jar (43 MB at 2.0 MB/s)
   [INFO]
   [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tika-dl ---
   [INFO]
   [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce) @ tika-dl ---
   [WARNING] The metadata /Users/mattmann/.m2/repository/org/deeplearning4j/deeplearning4j-parent/1.0.0-SNAPSHOT/maven-metadata-scala-tools.org.xml is invalid: end tag name </p> must match start tag name <br> from line 40 (position: TEXT seen ...</b> personal-sites-and-blogs </p>... @41:47)
   [WARNING] The metadata /Users/mattmann/.m2/repository/org/deeplearning4j/deeplearning4j/1.0.0-SNAPSHOT/maven-metadata-scala-tools.org.xml is invalid: end tag name </p> must match start tag name <br> from line 40 (position: TEXT seen ...</b> personal-sites-and-blogs </p>... @41:47)
   [WARNING] The metadata /Users/mattmann/.m2/repository/org/nd4j/nd4j-backend-impls/1.0.0-SNAPSHOT/maven-metadata-scala-tools.org.xml is invalid: end tag name </p> must match start tag name <br> from line 40 (position: TEXT seen ...</b> personal-sites-and-blogs </p>... @41:47)
   [WARNING]
   Dependency convergence error for net.java.dev.jna:jna:4.1.0 paths to dependency are:
   +-org.apache.tika:tika-dl:2.0.0-SNAPSHOT
     +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
       +-edu.ucar:netcdf4:4.5.5
         +-net.java.dev.jna:jna:4.1.0
   and
   +-org.apache.tika:tika-dl:2.0.0-SNAPSHOT
     +-org.deeplearning4j:deeplearning4j-nn:1.0.0-SNAPSHOT
       +-com.github.oshi:oshi-core:3.4.2
         +-net.java.dev.jna:jna-platform:4.3.0
           +-net.java.dev.jna:jna:4.3.0
   
   [WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
   Failed while enforcing releasability. See above detailed error message.
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time: 34.640 s
   [INFO] Finished at: 2018-07-09T09:34:43-07:00
   [INFO] Final Memory: 36M/556M
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (enforce) on project tika-dl: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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/MojoExecutionException
   nonas:tika-dl mattmann$
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


> Upgrade dl4j to 1.0.0-beta
> --------------------------
>
>                 Key: TIKA-2672
>                 URL: https://issues.apache.org/jira/browse/TIKA-2672
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Major
>         Attachments: TIKA-2672.patch
>
>
> Let's try to upgrade dl4j.  I think I got us most of the way there, but I got this error when reading the json config file.  Can someone with more knowledge of layer specs help ([~thammegowda], perhaps :))?
> {noformat}
> org.deeplearning4j.exception.DL4JInvalidConfigException: Invalid configuration for layer (idx=-1, name=convolution2d_2, type=ConvolutionLayer) for width dimension:  Invalid input configuration for kernel width. Require 0 < kW <= inWidth + 2*padW; got (kW=3, inWidth=1, padW=0)
> Input type = InputTypeConvolutional(h=149,w=1,c=32), kernel = [3, 3], strides = [1, 1], padding = [0, 0], layer size (output channels) = 32, convolution mode = Truncate
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)