Details

    • Technical Testing
    • Status: Closed
    • Minor
    • Resolution: Completed
    • None
    • None
    • Image Auto Tagging
    • None
    • 3
    • LIMA | #31 | DEV | Jan26-Feb16, LIMA | #30 | Jan13-Jan26, LIMA | #32 | DEV | Feb16-Mar09

    Description

      Test Scenario 1.1: TensorFlow model and libtensorflow_jni are not bundled by default

      1. Get a clean bundle
      2. Go to \osgi\modules\com.liferay.document.library.asset.auto.tagger.tensorflow.jar\META-INF
      3. Assert no tensorflow folder under that path
      4. Go to \osgi\modules\com.liferay.document.library.asset.auto.tagger.tensorflow.jar\lib
      5. Assert no libtensorflow_jni.jar under that path
      6. Start up the server
      7. Repeat step 2-4

      Test Scenario 1.5: An error message will be shown when the download fails

      1. Go to System Settings > Assets > TensorFlow Image Auto Tagging
      2. Check 'TensorFlow Image Auto Tagging' and click the Save button
      3. Disconnect the network to make the download fail
      4. Assert error message shows: "The TensorFlow model could not be downloaded. Please contact your administrator."

      Test Scenario 1.6: TensorFlow model and libtensorflow_jni file are downloaded after enabling the tensorflow auto-tagging

      1. Start up the server
      2. Go to System Settings > Assets > TensorFlow Image Auto Tagging
      3. Check 'TensorFlow Image Auto Tagging' and click the Save button
      4. Wait for a few minutes after the download is successful
      5. Go to \data\document_library\0\0
      6. Assert a folder named com.liferay.document.library.asset.auto.tagger.tensorflow is created
      7. Go into this folder
      8. Assert libtensorflow_jni.jar and org.tensorflow.models.inception.jar are displayed

      Attachments

        Issue Links

          Activity

            People

              yvonne.han Yvonne Han
              yvonne.han Yvonne Han
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package