You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by lu...@apache.org on 2022/09/06 13:12:22 UTC

[tvm] branch main updated: [Apps] Pin android_camera TensorFlow/Keras dependency version (#12710)

This is an automated email from the ASF dual-hosted git repository.

lukhut pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new b3edb6e227 [Apps] Pin android_camera TensorFlow/Keras dependency version (#12710)
b3edb6e227 is described below

commit b3edb6e227be0dea73413d5780d15a4cbdc3d83b
Author: Leandro Nunes <le...@arm.com>
AuthorDate: Tue Sep 6 14:12:14 2022 +0100

    [Apps] Pin android_camera TensorFlow/Keras dependency version (#12710)
    
    At the moment, android camera is installing latest TF and Keras
    which is causing the following issue in CI:
    
    ```
      File ".../keras/dtensor/lazy_variable.py", line 26, in <module>
        from tensorflow.python.trackable import base as trackable
    ModuleNotFoundError: No module named 'tensorflow.python.trackable'
    ```
    
    This patch fixes the versions in the last known working versions
    of both: TF 2.9.1 and Keras 2.9.
---
 apps/android_camera/models/requirements.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/android_camera/models/requirements.txt b/apps/android_camera/models/requirements.txt
index 98aa53def4..1deff2b354 100644
--- a/apps/android_camera/models/requirements.txt
+++ b/apps/android_camera/models/requirements.txt
@@ -1,4 +1,4 @@
-keras
+keras==2.9
 mxnet
 scipy
-tensorflow
\ No newline at end of file
+tensorflow==2.9.1
\ No newline at end of file