Commit 4053c2ba authored by saberkun's avatar saberkun
Browse files

Merge pull request #10514 from ZihanWangKi:master

PiperOrigin-RevId: 436548878
parents f9f2765d 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
"""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
......
...@@ -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
import functools import functools
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
"""Training driver.""" """Training driver."""
from absl import app from absl import app
......
...@@ -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.projects.vit.configs import image_classification from official.projects.vit.configs import image_classification
...@@ -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
"""Backbones configurations.""" """Backbones configurations."""
from typing import Optional from typing import Optional
......
...@@ -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
"""Image classification configuration definition.""" """Image classification configuration definition."""
import os import os
from typing import List, Optional from typing import List, Optional
......
...@@ -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
"""VisionTransformer models.""" """VisionTransformer models."""
import tensorflow as tf import tensorflow as tf
......
...@@ -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 VIT.""" """Tests for VIT."""
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
"""TensorFlow Model Garden Vision training driver, including ViT configs..""" """TensorFlow Model Garden Vision training driver, including ViT configs.."""
from absl import app from absl import app
......
...@@ -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
"""Backbones configurations.""" """Backbones configurations."""
import dataclasses import dataclasses
from typing import Optional, Sequence from typing import Optional, Sequence
......
...@@ -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
"""Decoders configurations.""" """Decoders configurations."""
import dataclasses import dataclasses
from typing import Optional, Sequence from typing import Optional, Sequence
......
...@@ -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
"""Semantic segmentation configuration definition.""" """Semantic segmentation configuration definition."""
import dataclasses import dataclasses
......
...@@ -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 semantic_segmentation.""" """Tests for semantic_segmentation."""
# pylint: disable=unused-import # pylint: disable=unused-import
......
...@@ -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
"""Backbones package definition.""" """Backbones package definition."""
from official.projects.volumetric_models.modeling.backbones.unet_3d import UNet3D from official.projects.volumetric_models.modeling.backbones.unet_3d import UNet3D
...@@ -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 3D UNet backbone.""" """Tests for 3D UNet backbone."""
# 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
"""Decoders package definition.""" """Decoders package definition."""
from official.projects.volumetric_models.modeling.decoders.unet_3d_decoder import UNet3DDecoder from official.projects.volumetric_models.modeling.decoders.unet_3d_decoder import UNet3DDecoder
...@@ -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 3D UNet decoder.""" """Tests for 3D UNet decoder."""
# 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."""
from absl.testing import parameterized from absl.testing import parameterized
......
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