diff --git a/official/projects/mosaic/qat/modeling/heads/mosaic_head_test.py b/official/projects/mosaic/qat/modeling/heads/mosaic_head_test.py index 3c257c7b0e..4c4b31ca8d 100644 --- a/official/projects/mosaic/qat/modeling/heads/mosaic_head_test.py +++ b/official/projects/mosaic/qat/modeling/heads/mosaic_head_test.py @@ -14,7 +14,6 @@ """Tests for mosaic_head.""" -# Import libraries from absl.testing import parameterized import tensorflow as tf, tf_keras diff --git a/official/projects/mosaic/qat/modeling/layers/nn_blocks_test.py b/official/projects/mosaic/qat/modeling/layers/nn_blocks_test.py index 3cc8e7baec..c47bd005a5 100644 --- a/official/projects/mosaic/qat/modeling/layers/nn_blocks_test.py +++ b/official/projects/mosaic/qat/modeling/layers/nn_blocks_test.py @@ -15,7 +15,6 @@ """Tests for nn_blocks.""" from typing import Any, Iterable, Tuple -# Import libraries from absl.testing import parameterized import tensorflow as tf, tf_keras diff --git a/official/projects/pix2seq/dataloaders/pix2seq_input_test.py b/official/projects/pix2seq/dataloaders/pix2seq_input_test.py index c5f39a832f..8f066718b6 100644 --- a/official/projects/pix2seq/dataloaders/pix2seq_input_test.py +++ b/official/projects/pix2seq/dataloaders/pix2seq_input_test.py @@ -15,7 +15,6 @@ """Tests for Pix2Seq input.""" import io -# Import libraries import numpy as np from PIL import Image import tensorflow as tf, tf_keras diff --git a/official/projects/pointpillars/modeling/factory_test.py b/official/projects/pointpillars/modeling/factory_test.py index 9a3f73b3cc..e59373f4be 100644 --- a/official/projects/pointpillars/modeling/factory_test.py +++ b/official/projects/pointpillars/modeling/factory_test.py @@ -14,7 +14,6 @@ """Tests for factory.py.""" -# Import libraries from absl.testing import parameterized import tensorflow as tf, tf_keras diff --git a/official/projects/qat/nlp/pretrained_checkpoint_converter.py b/official/projects/qat/nlp/pretrained_checkpoint_converter.py index 7caf6bf88d..e35edd2101 100644 --- a/official/projects/qat/nlp/pretrained_checkpoint_converter.py +++ b/official/projects/qat/nlp/pretrained_checkpoint_converter.py @@ -15,8 +15,6 @@ """A converter for BERT pretrained checkpoint to QAT BERT checkpoint.""" import tempfile -# Import libraries - from absl import app from absl import flags import tensorflow as tf, tf_keras diff --git a/official/projects/token_dropping/encoder_test.py b/official/projects/token_dropping/encoder_test.py index 85fbdd09cc..2bd572bc22 100644 --- a/official/projects/token_dropping/encoder_test.py +++ b/official/projects/token_dropping/encoder_test.py @@ -14,7 +14,6 @@ """Tests for transformer-based bert encoder network.""" -# Import libraries from absl.testing import parameterized import numpy as np import tensorflow as tf, tf_keras diff --git a/official/projects/video_ssl/dataloaders/video_ssl_input_test.py b/official/projects/video_ssl/dataloaders/video_ssl_input_test.py index 7c33b4025c..aa2dfb2f72 100644 --- a/official/projects/video_ssl/dataloaders/video_ssl_input_test.py +++ b/official/projects/video_ssl/dataloaders/video_ssl_input_test.py @@ -15,7 +15,6 @@ import io -# Import libraries import numpy as np from PIL import Image import tensorflow as tf, tf_keras diff --git a/official/projects/video_ssl/losses/losses.py b/official/projects/video_ssl/losses/losses.py index 7e4d356788..dff72b72fa 100644 --- a/official/projects/video_ssl/losses/losses.py +++ b/official/projects/video_ssl/losses/losses.py @@ -14,7 +14,6 @@ """Define losses.""" -# Import libraries import tensorflow as tf, tf_keras from tensorflow.compiler.tf2xla.python import xla diff --git a/official/projects/video_ssl/modeling/video_ssl_model.py b/official/projects/video_ssl/modeling/video_ssl_model.py index 27e1672109..84be35ef26 100644 --- a/official/projects/video_ssl/modeling/video_ssl_model.py +++ b/official/projects/video_ssl/modeling/video_ssl_model.py @@ -15,8 +15,6 @@ """Build video classification models.""" from typing import Mapping, Optional -# Import libraries - import tensorflow as tf, tf_keras from official.modeling import tf_utils diff --git a/official/projects/yolo/modeling/decoders/yolo_decoder_test.py b/official/projects/yolo/modeling/decoders/yolo_decoder_test.py index 2ba0bad881..4f8061b2ba 100644 --- a/official/projects/yolo/modeling/decoders/yolo_decoder_test.py +++ b/official/projects/yolo/modeling/decoders/yolo_decoder_test.py @@ -14,7 +14,6 @@ """Tests for YOLO.""" -# Import libraries from absl.testing import parameterized import tensorflow as tf, tf_keras diff --git a/official/projects/yolo/modeling/heads/yolo_head_test.py b/official/projects/yolo/modeling/heads/yolo_head_test.py index 52a57cab73..150662e712 100644 --- a/official/projects/yolo/modeling/heads/yolo_head_test.py +++ b/official/projects/yolo/modeling/heads/yolo_head_test.py @@ -14,7 +14,6 @@ """Tests for yolo heads.""" -# Import libraries from absl.testing import parameterized import tensorflow as tf, tf_keras