Commit 36d6f41f authored by saberkun's avatar saberkun
Browse files

Merge pull request #10514 from ZihanWangKi:master

PiperOrigin-RevId: 436548878
parents bc8b6332 259c4347
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for factory.py.""" """Tests for factory.py."""
# Import libraries # Import libraries
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Heads package definition.""" """Heads package definition."""
from official.vision.beta.modeling.heads.dense_prediction_heads import RetinaNetHead from official.vision.beta.modeling.heads.dense_prediction_heads import RetinaNetHead
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for dense_prediction_heads.py.""" """Tests for dense_prediction_heads.py."""
# Import libraries # Import libraries
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for instance_heads.py.""" """Tests for instance_heads.py."""
# Import libraries # Import libraries
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for segmentation_heads.py.""" """Tests for segmentation_heads.py."""
# Import libraries # Import libraries
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Layers package definition.""" """Layers package definition."""
from official.vision.beta.modeling.layers.box_sampler import BoxSampler from official.vision.beta.modeling.layers.box_sampler import BoxSampler
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for resnet.""" """Tests for resnet."""
# Import libraries # Import libraries
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for nn_blocks.""" """Tests for nn_blocks."""
from typing import Any, Iterable, Tuple from typing import Any, Iterable, Tuple
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for nn_layers.""" """Tests for nn_layers."""
# Import libraries # Import libraries
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for maskrcnn_model.py.""" """Tests for maskrcnn_model.py."""
import os import os
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for RetinaNet models.""" """Tests for RetinaNet models."""
# Import libraries # Import libraries
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for segmentation network.""" """Tests for segmentation network."""
from absl.testing import parameterized from absl.testing import parameterized
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Tests for video classification network.""" """Tests for video classification network."""
# Import libraries # Import libraries
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Configs package definition.""" """Configs package definition."""
from official.vision.beta.projects.video_ssl.configs import video_ssl from official.vision.beta.projects.video_ssl.configs import video_ssl
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Video classification configuration definition.""" """Video classification configuration definition."""
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
# pylint: disable=unused-import # pylint: disable=unused-import
from absl.testing import parameterized from absl.testing import parameterized
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Define losses.""" """Define losses."""
# Import libraries # Import libraries
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Utils for customed ops for video ssl.""" """Utils for customed ops for video ssl."""
import functools import functools
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Video ssl linear evaluation task definition.""" """Video ssl linear evaluation task definition."""
from typing import Any, Optional, List, Tuple from typing import Any, Optional, List, Tuple
from absl import logging from absl import logging
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Lint as: python3
"""Video ssl pretrain task definition.""" """Video ssl pretrain task definition."""
from absl import logging from absl import logging
import tensorflow as tf import tensorflow as tf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment