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

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=16537271#comment-16537271 ]

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-403550168
 
 
   fixed thanks amigo!
   
   ```
   [INFO]
   [INFO] ------------------------------------------------------------------------
   [INFO] Building Apache Tika 2.0.0-SNAPSHOT
   [INFO] ------------------------------------------------------------------------
   [INFO]
   [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tika ---
   [INFO] Deleting /Users/mattmann/tmp/tika2.0.0/target
   [INFO]
   [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce) @ tika ---
   [INFO]
   [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ tika ---
   [INFO]
   [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ tika ---
   [INFO]
   [INFO] --- forbiddenapis:2.5:check (default) @ tika ---
   [INFO] Skipping execution for packaging "pom"
   [INFO]
   [INFO] --- forbiddenapis:2.5:testCheck (default) @ tika ---
   [INFO] Skipping execution for packaging "pom"
   [INFO]
   [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ tika ---
   [INFO] Installing /Users/mattmann/tmp/tika2.0.0/pom.xml to /Users/mattmann/.m2/repository/org/apache/tika/tika/2.0.0-SNAPSHOT/tika-2.0.0-SNAPSHOT.pom
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary:
   [INFO]
   [INFO] Apache Tika parent ................................. SUCCESS [  1.716 s]
   [INFO] Apache Tika core ................................... SUCCESS [ 35.099 s]
   [INFO] Apache Tika parsers ................................ SUCCESS [05:19 min]
   [INFO] Apache Tika XMP .................................... SUCCESS [  1.894 s]
   [INFO] Apache Tika serialization .......................... SUCCESS [  1.723 s]
   [INFO] Apache Tika batch .................................. SUCCESS [02:11 min]
   [INFO] Apache Tika language detection ..................... SUCCESS [  3.235 s]
   [INFO] Apache Tika application ............................ SUCCESS [01:07 min]
   [INFO] Apache Tika OSGi bundle ............................ SUCCESS [ 30.278 s]
   [INFO] Apache Tika translate .............................. SUCCESS [  3.081 s]
   [INFO] Apache Tika server ................................. SUCCESS [ 24.401 s]
   [INFO] Apache Tika examples ............................... SUCCESS [ 12.374 s]
   [INFO] Apache Tika Java-7 Components ...................... SUCCESS [  2.331 s]
   [INFO] Apache Tika eval ................................... SUCCESS [ 28.734 s]
   [INFO] Apache Tika Deep Learning (powered by DL4J) ........ SUCCESS [04:21 min]
   [INFO] Apache Tika Natural Language Processing ............ SUCCESS [ 26.923 s]
   [INFO] Apache Tika ........................................ SUCCESS [  0.021 s]
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time: 15:53 min
   [INFO] Finished at: 2018-07-09T10:03:37-07:00
   [INFO] Final Memory: 210M/1749M
   [INFO] ------------------------------------------------------------------------
   nonas:tika2.0.0 mattmann$
   ```
   
   I'm going to test it and if it looks good I'll go ahead and commit shortly.

----------------------------------------------------------------
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)