diff --git a/official/core/train_lib.py b/official/core/train_lib.py index 837d4d6cda9..c34ee295347 100644 --- a/official/core/train_lib.py +++ b/official/core/train_lib.py @@ -18,8 +18,6 @@ import tempfile from typing import Any, List, Mapping, Optional, Tuple -# Import libraries - from absl import logging import orbit import tensorflow as tf, tf_keras diff --git a/official/legacy/image_classification/mnist_main.py b/official/legacy/image_classification/mnist_main.py index 5f80ba55849..5105077791b 100644 --- a/official/legacy/image_classification/mnist_main.py +++ b/official/legacy/image_classification/mnist_main.py @@ -19,7 +19,6 @@ import os -# Import libraries from absl import app from absl import flags from absl import logging diff --git a/official/nlp/tools/export_tfhub_lib.py b/official/nlp/tools/export_tfhub_lib.py index c1dfd7007b7..18cb751ca04 100644 --- a/official/nlp/tools/export_tfhub_lib.py +++ b/official/nlp/tools/export_tfhub_lib.py @@ -21,7 +21,6 @@ from typing import Optional, Text, Tuple -# Import libraries from absl import logging import tensorflow as tf, tf_keras # pylint: disable=g-direct-tensorflow-import TODO(b/175369555): Remove these. diff --git a/official/projects/const_cl/modeling/backbones/resnet_3d_test.py b/official/projects/const_cl/modeling/backbones/resnet_3d_test.py index 073927e76ab..4e22de7d379 100644 --- a/official/projects/const_cl/modeling/backbones/resnet_3d_test.py +++ b/official/projects/const_cl/modeling/backbones/resnet_3d_test.py @@ -14,7 +14,6 @@ """Tests for resnet.""" -# Import libraries from absl.testing import parameterized import tensorflow as tf, tf_keras diff --git a/official/projects/edgetpu/vision/dataloaders/classification_input.py b/official/projects/edgetpu/vision/dataloaders/classification_input.py index 28b6e1920cf..d94afb8fbc4 100644 --- a/official/projects/edgetpu/vision/dataloaders/classification_input.py +++ b/official/projects/edgetpu/vision/dataloaders/classification_input.py @@ -13,7 +13,6 @@ # limitations under the License. """Classification decoder and parser.""" -# Import libraries import tensorflow as tf, tf_keras from official.vision.dataloaders import classification_input diff --git a/official/projects/edgetpu/vision/modeling/heads/bifpn_head.py b/official/projects/edgetpu/vision/modeling/heads/bifpn_head.py index 9f2f41e6313..2f68c04c9e6 100644 --- a/official/projects/edgetpu/vision/modeling/heads/bifpn_head.py +++ b/official/projects/edgetpu/vision/modeling/heads/bifpn_head.py @@ -17,8 +17,6 @@ import itertools from typing import Text, Optional -# Import libraries - from absl import logging import numpy as np import tensorflow as tf, tf_keras diff --git a/official/projects/labse/export_tfhub_test.py b/official/projects/labse/export_tfhub_test.py index 6e02a1f25fb..c95b670b8e4 100644 --- a/official/projects/labse/export_tfhub_test.py +++ b/official/projects/labse/export_tfhub_test.py @@ -16,7 +16,6 @@ import os -# Import libraries import numpy as np import tensorflow as tf, tf_keras import tensorflow_hub as hub