Skip to content

Commit

Permalink
* Docker update for tensorflow-hub
Browse files Browse the repository at this point in the history
  • Loading branch information
srkreddy1238 committed Mar 1, 2021
1 parent 413a1d0 commit 48eba8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docker/install/ubuntu_install_tensorflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ set -o pipefail
# tensorflow:
# https://github.com/tensorflow/tensorflow/issues/44467
pip3 install tensorflow==2.3.1 keras==2.4.3 "h5py<3.0"

#tensorflow-hub
pip3 install tensorflow-hub
5 changes: 2 additions & 3 deletions tests/python/frontend/tensorflow/test_forward_v2_x.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
from tensorflow.python.grappler import tf_optimizer
from tensorflow.python.training.saver import export_meta_graph

import tensorflow_hub as hub

from tensorflow.python.ops import nn_ops
from tensorflow.python.ops import nn
from tensorflow.python.ops import array_ops
Expand Down Expand Up @@ -2248,6 +2246,7 @@ def test_forward_where():
def test_forward_image_classification_models():
"""Test E2E models from Tensorflow Hub"""

import tensorflow_hub as hub
models = [
# Inception V1
{
Expand Down Expand Up @@ -3385,5 +3384,5 @@ def test_forward_add_n():
# test_forward_lstm() - TODO

# End to End
test_forward_image_classification_models()
# test_forward_image_classification_models() # TODO: Need docker update.
# test_forward_ptb() - TODO

0 comments on commit 48eba8c

Please sign in to comment.