Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-126455

Make TensorFlow auto-tagging model downloadable when needed

    Details

    • Sprint:
      LIMA | #31 | DEV | Jan26-Feb16, LIMA | #30 | Jan13-Jan26, LIMA | #32 | DEV | Feb16-Mar09

      Description

      Make the tensorflow module downloadable only when needed so the bundle is lighter

       

      Acceptance criteria

      Given a Liferay instance

      When an admin enables the tensorflow auto-tagging for images

      Then the model is downloaded

       

      Given a Liferay instance

      When an admin enables the tensorflow auto-tagging for images

      Then the user is warned that it will wait for tags to be added

       

      Given a Liferay instance with tensorflow enabled

      When a user uploads an image

      Then tags are added to the image

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
       1.1  5 TensorFlow model and libtensorflow_jni are not bundled by default  NO Manual
       1.2 4 An info message will be shown to remind the user the model needs to download before enabling the tensorflow auto-tagging   NO   Existing test DMAutoTagging#Smoke 
       1.3 4 An info message will be shown to remind the user the model is downloading during the download  NO  Existing test DMAutoTagging#Smoke 
       1.4 4 No info message shows after the download is successful  NO  Existing test DMAutoTagging#Smoke 
       1.5 4 An error message will be shown when the download fails  NO  Manual
       1.6  5 TensorFlow model and libtensorflow_jni file are downloaded after enabling the tensorflow auto-tagging  YES Manual
       1.7  5 Tags are added to the image when uploading an image after enabling the tensorflow auto-tagging  YES Existing test DMAutoTagging#Smoke  
       1.8  4 Tags are added to the images when they are uploaded on both nodes with tensorflow enabled on a clustered configuration  NO  DMAutoTagging#AutoTaggingImagesOnSeparateNodes

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              austin.chiang Austin Chiang
              Reporter:
              pablo.agulla Pablo Agulla
              Recent user:
              Sophia Zhang
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.0 CE GA1 DXP 7,4
                  7.4.13 DXP GA1
                  Master