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
"""Backbones configurations.""" """Backbones configurations."""
import dataclasses import dataclasses
from typing import Optional, List from typing import Optional, List
......
...@@ -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
"""3D Backbones configurations.""" """3D Backbones configurations."""
from typing import Optional, Tuple from typing import Optional, 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
"""Common configurations.""" """Common configurations."""
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
"""Decoders configurations.""" """Decoders configurations."""
import dataclasses import dataclasses
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
"""Image classification configuration definition.""" """Image classification configuration definition."""
import dataclasses import dataclasses
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 image_classification.""" """Tests for image_classification."""
# 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
"""R-CNN(-RS) configuration definition.""" """R-CNN(-RS) 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
"""RetinaNet configuration definition.""" """RetinaNet 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
"""Semantic segmentation configuration definition.""" """Semantic segmentation configuration definition."""
import dataclasses import dataclasses
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 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
"""Video classification configuration definition.""" """Video classification configuration definition."""
import dataclasses import dataclasses
from typing import Optional, Tuple from typing import Optional, 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 video_classification.""" """Tests for video_classification."""
# 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
"""Dataset reader for vision model garden.""" """Dataset reader for vision model garden."""
from typing import Any, Callable, Optional, Tuple from typing import Any, Callable, Optional, 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
"""Factory for getting TF-Vision input readers.""" """Factory for getting TF-Vision input readers."""
from official.common import dataset_fn as dataset_fn_util from official.common import dataset_fn as dataset_fn_util
......
...@@ -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
"""Utility functions to create tf.Example and tf.SequnceExample for test. """Utility functions to create tf.Example and tf.SequnceExample for test.
Example:video classification end-to-end test Example:video classification end-to-end test
......
...@@ -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
"""Parser for video and label datasets.""" """Parser for video and label datasets."""
from typing import Dict, Optional, Tuple, Union from typing import Dict, Optional, Tuple, Union
......
...@@ -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 io import io
......
...@@ -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
"""Modeling package definition.""" """Modeling package definition."""
from official.vision.modeling import backbones from official.vision.modeling import backbones
......
...@@ -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.vision.modeling.backbones.efficientnet import EfficientNet from official.vision.modeling.backbones.efficientnet import EfficientNet
......
...@@ -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 EfficientNet.""" """Tests for EfficientNet."""
# Import libraries # Import libraries
......
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