From 011a5804263208be251f87f5a4d8c27732fba2ce Mon Sep 17 00:00:00 2001 From: miguelCalado Date: Fri, 7 Jan 2022 00:44:08 +0000 Subject: [PATCH 01/28] Added: VGG-16 configurations and model --- .../classifier_trainer.py | 2 + .../classifier_trainer_test.py | 3 + .../image_classification/configs/configs.py | 31 +++ .../configs/examples/vgg16/gpu.yaml | 46 ++++ .../image_classification/vgg16/__init__.py | 14 ++ .../image_classification/vgg16/vgg_config.py | 53 +++++ .../image_classification/vgg16/vgg_model.py | 196 ++++++++++++++++++ 7 files changed, 345 insertions(+) create mode 100644 official/vision/image_classification/configs/examples/vgg16/gpu.yaml create mode 100644 official/vision/image_classification/vgg16/__init__.py create mode 100644 official/vision/image_classification/vgg16/vgg_config.py create mode 100644 official/vision/image_classification/vgg16/vgg_model.py diff --git a/official/vision/image_classification/classifier_trainer.py b/official/vision/image_classification/classifier_trainer.py index ab6fbaea9..0c0d03411 100644 --- a/official/vision/image_classification/classifier_trainer.py +++ b/official/vision/image_classification/classifier_trainer.py @@ -36,6 +36,7 @@ from official.vision.image_classification.configs import configs from official.vision.image_classification.efficientnet import efficientnet_model from official.vision.image_classification.resnet import common from official.vision.image_classification.resnet import resnet_model +from official.vision.image_classification.vgg16 import vgg_model def get_models() -> Mapping[str, tf.keras.Model]: @@ -43,6 +44,7 @@ def get_models() -> Mapping[str, tf.keras.Model]: return { 'efficientnet': efficientnet_model.EfficientNet.from_name, 'resnet': resnet_model.resnet50, + 'vgg': vgg_model.vgg16, } diff --git a/official/vision/image_classification/classifier_trainer_test.py b/official/vision/image_classification/classifier_trainer_test.py index 06227c154..724310a9d 100644 --- a/official/vision/image_classification/classifier_trainer_test.py +++ b/official/vision/image_classification/classifier_trainer_test.py @@ -53,6 +53,7 @@ def distribution_strategy_combinations() -> Iterable[Tuple[Any, ...]]: model=[ 'efficientnet', 'resnet', + 'vgg', ], dataset=[ 'imagenet', @@ -149,6 +150,7 @@ class ClassifierTest(tf.test.TestCase, parameterized.TestCase): model=[ 'efficientnet', 'resnet', + 'vgg', ], dataset='imagenet', dtype='float16', @@ -193,6 +195,7 @@ class ClassifierTest(tf.test.TestCase, parameterized.TestCase): model=[ 'efficientnet', 'resnet', + 'vgg', ], dataset='imagenet', dtype='bfloat16', diff --git a/official/vision/image_classification/configs/configs.py b/official/vision/image_classification/configs/configs.py index 127af58c4..9659f4c79 100644 --- a/official/vision/image_classification/configs/configs.py +++ b/official/vision/image_classification/configs/configs.py @@ -91,6 +91,36 @@ class ResNetImagenetConfig(base_configs.ExperimentConfig): epochs_between_evals=1, steps=None) model: base_configs.ModelConfig = resnet_config.ResNetModelConfig() +@dataclasses.dataclass +class VGGImagenetConfig(base_configs.ExperimentConfig): + """Base configuration to train vgg-16 on ImageNet.""" + export: base_configs.ExportConfig = base_configs.ExportConfig() + runtime: base_configs.RuntimeConfig = base_configs.RuntimeConfig() + train_dataset: dataset_factory.DatasetConfig = \ + dataset_factory.ImageNetConfig(split='train', + one_hot=False, + mean_subtract=True, + standardize=True) + validation_dataset: dataset_factory.DatasetConfig = \ + dataset_factory.ImageNetConfig(split='validation', + one_hot=False, + mean_subtract=True, + standardize=True) + train: base_configs.TrainConfig = base_configs.TrainConfig( + resume_checkpoint=True, + epochs=90, + steps=None, + callbacks=base_configs.CallbacksConfig( + enable_checkpoint_and_export=True, enable_tensorboard=True), + metrics=['accuracy', 'top_5'], + time_history=base_configs.TimeHistoryConfig(log_steps=100), + tensorboard=base_configs.TensorBoardConfig( + track_lr=True, write_model_weights=False), + set_epoch_loop=False) + evaluation: base_configs.EvalConfig = base_configs.EvalConfig( + epochs_between_evals=1, steps=None) + model: base_configs.ModelConfig = vgg_config.VGGModelConfig() + def get_config(model: str, dataset: str) -> base_configs.ExperimentConfig: """Given model and dataset names, return the ExperimentConfig.""" @@ -98,6 +128,7 @@ def get_config(model: str, dataset: str) -> base_configs.ExperimentConfig: 'imagenet': { 'efficientnet': EfficientNetImageNetConfig(), 'resnet': ResNetImagenetConfig(), + 'vgg': VGGImagenetConfig() } } try: diff --git a/official/vision/image_classification/configs/examples/vgg16/gpu.yaml b/official/vision/image_classification/configs/examples/vgg16/gpu.yaml new file mode 100644 index 000000000..dc9b6696b --- /dev/null +++ b/official/vision/image_classification/configs/examples/vgg16/gpu.yaml @@ -0,0 +1,46 @@ +# Training configuration for VGG-16 trained on ImageNet on GPUs. +# Reaches > 72.8% within 90 epochs. +# Note: This configuration uses a scaled per-replica batch size based on the number of devices. +runtime: + distribution_strategy: 'mirrored' + num_gpus: 1 + batchnorm_spatial_persistent: True +train_dataset: + name: 'imagenet2012' + data_dir: null + builder: 'records' + split: 'train' + image_size: 224 + num_classes: 1000 + num_examples: 1281167 + batch_size: 128 + use_per_replica_batch_size: True + dtype: 'float32' + mean_subtract: True + standardize: True +validation_dataset: + name: 'imagenet2012' + data_dir: null + builder: 'records' + split: 'validation' + image_size: 224 + num_classes: 1000 + num_examples: 50000 + batch_size: 128 + use_per_replica_batch_size: True + dtype: 'float32' + mean_subtract: True + standardize: True +model: + name: 'vgg' + optimizer: + name: 'momentum' + momentum: 0.9 + epsilon: 0.001 + loss: + label_smoothing: 0.0 +train: + resume_checkpoint: True + epochs: 90 +evaluation: + epochs_between_evals: 1 diff --git a/official/vision/image_classification/vgg16/__init__.py b/official/vision/image_classification/vgg16/__init__.py new file mode 100644 index 000000000..e419af524 --- /dev/null +++ b/official/vision/image_classification/vgg16/__init__.py @@ -0,0 +1,14 @@ +# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + diff --git a/official/vision/image_classification/vgg16/vgg_config.py b/official/vision/image_classification/vgg16/vgg_config.py new file mode 100644 index 000000000..6edffb289 --- /dev/null +++ b/official/vision/image_classification/vgg16/vgg_config.py @@ -0,0 +1,53 @@ +# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Lint as: python3 +"""Configuration definitions for VGG losses, learning rates, and optimizers.""" +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + +import dataclasses + +from official.modeling.hyperparams import base_config +from official.vision.image_classification.configs import base_configs + + +@dataclasses.dataclass +class VGGModelConfig(base_configs.ModelConfig): + """Configuration for the VGG model.""" + name: str = 'VGG' + num_classes: int = 1000 + model_params: base_config.Config = dataclasses.field( + default_factory=lambda: { + 'num_classes': 1000, + 'batch_size': None, + 'use_l2_regularizer': True + }) + loss: base_configs.LossConfig = base_configs.LossConfig( + name='sparse_categorical_crossentropy') + optimizer: base_configs.OptimizerConfig = base_configs.OptimizerConfig( + name='momentum', + epsilon=0.001, + momentum=0.9, + moving_average_decay=None) + learning_rate: base_configs.LearningRateConfig = ( + base_configs.LearningRateConfig( + name='stepwise', + initial_lr=0.01, + examples_per_epoch=1281167, + boundaries=[30, 60], + warmup_epochs=0, + scale_by_batch_size=1. / 128., + multipliers=[0.01 / 256, 0.001 / 256, 0.0001 / 256])) diff --git a/official/vision/image_classification/vgg16/vgg_model.py b/official/vision/image_classification/vgg16/vgg_model.py new file mode 100644 index 000000000..3fd3b505e --- /dev/null +++ b/official/vision/image_classification/vgg16/vgg_model.py @@ -0,0 +1,196 @@ +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + +import tensorflow as tf + +layers = tf.keras.layers + +def _gen_l2_regularizer(use_l2_regularizer=True, l2_weight_decay=1e-4): + return tf.keras.regularizers.L2( + l2_weight_decay) if use_l2_regularizer else None + +def vgg16(num_classes, + batch_size=None, + use_l2_regularizer=True, + batch_norm_decay=0.9, + batch_norm_epsilon=1e-5): + + input_shape = (224, 224, 3) + img_input = layers.Input(shape=input_shape, batch_size=batch_size) + + x = img_input + + if tf.keras.backend.image_data_format() == 'channels_first': + x = layers.Permute((3, 1, 2))(x) + bn_axis = 1 + else: # channels_last + bn_axis = 3 + + # Block 1 + x = layers.Conv2D(64, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block1_conv1')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv1')(x) + x = layers.Activation('relu')(x) + x = layers.Conv2D(64, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block1_conv2')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv2')(x) + x = layers.Activation('relu')(x) + x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block1_pool')(x) + + # Block 2 + x = layers.Conv2D(128, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block2_conv1')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv3')(x) + x = layers.Activation('relu')(x) + x = layers.Conv2D(128, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block2_conv2')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv4')(x) + x = layers.Activation('relu')(x) + x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block2_pool')(x) + + # Block 3 + x = layers.Conv2D(256, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block3_conv1')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv5')(x) + x = layers.Activation('relu')(x) + x = layers.Conv2D(256, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block3_conv2')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv6')(x) + x = layers.Activation('relu')(x) + x = layers.Conv2D(256, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block3_conv3')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv7')(x) + x = layers.Activation('relu')(x) + x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block3_pool')(x) + + # Block 4 + x = layers.Conv2D(512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block4_conv1')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv8')(x) + x = layers.Activation('relu')(x) + x = layers.Conv2D(512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block4_conv2')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv9')(x) + x = layers.Activation('relu')(x) + x = layers.Conv2D(512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block4_conv3')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv10')(x) + x = layers.Activation('relu')(x) + x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block4_pool')(x) + + # Block 5 + x = layers.Conv2D(512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block5_conv1')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv11')(x) + x = layers.Activation('relu')(x) + x = layers.Conv2D(512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block5_conv2')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv12')(x) + x = layers.Activation('relu')(x) + x = layers.Conv2D(512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block5_conv3')(x) + x = layers.BatchNormalization( + axis=bn_axis, + momentum=batch_norm_decay, + epsilon=batch_norm_epsilon, + name='bn_conv13')(x) + x = layers.Activation('relu')(x) + x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block5_pool')(x) + + x = layers.Flatten(name='flatten')(x) + x = layers.Dense(4096, + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='fc1')(x) + x = layers.Activation('relu')(x) + x = layers.Dropout(0.5)(x) + x = layers.Dense(4096, + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='fc2')(x) + x = layers.Activation('relu')(x) + x = layers.Dropout(0.5)(x) + x = layers.Dense(num_classes, + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='fc1000')(x) + + # A softmax that is followed by the model loss must be done cannot be done + # in float16 due to numeric issues. So we pass dtype=float32. + x = layers.Activation('softmax', dtype='float32')(x) + + # Create model. + return tf.keras.Model(img_input, x, name='vgg16') + \ No newline at end of file -- GitLab From c44de4b04b63ba882e2378e80706361cac819c07 Mon Sep 17 00:00:00 2001 From: miguelCalado Date: Fri, 7 Jan 2022 06:09:55 +0000 Subject: [PATCH 02/28] Changed PR folders --- .../classifier_trainer.py | 2 ++ .../classifier_trainer_test.py | 3 ++ .../image_classification/configs/configs.py | 33 +++++++++++++++++++ .../configs/examples/vgg16/gpu.yaml | 0 .../image_classification/vgg16/__init__.py | 0 .../image_classification/vgg16/vgg_config.py | 2 +- .../image_classification/vgg16/vgg_model.py | 6 ++++ .../classifier_trainer.py | 2 -- .../classifier_trainer_test.py | 3 -- .../image_classification/configs/configs.py | 31 ----------------- 10 files changed, 45 insertions(+), 37 deletions(-) rename official/{vision => legacy}/image_classification/configs/examples/vgg16/gpu.yaml (100%) rename official/{vision => legacy}/image_classification/vgg16/__init__.py (100%) rename official/{vision => legacy}/image_classification/vgg16/vgg_config.py (97%) rename official/{vision => legacy}/image_classification/vgg16/vgg_model.py (93%) diff --git a/official/legacy/image_classification/classifier_trainer.py b/official/legacy/image_classification/classifier_trainer.py index 5dc1b78e3..57c3a628c 100644 --- a/official/legacy/image_classification/classifier_trainer.py +++ b/official/legacy/image_classification/classifier_trainer.py @@ -36,6 +36,7 @@ from official.modeling import hyperparams from official.modeling import performance from official.utils import hyperparams_flags from official.utils.misc import keras_utils +from official.vision.image_classification.vgg16 import vgg_model def get_models() -> Mapping[str, tf.keras.Model]: @@ -43,6 +44,7 @@ def get_models() -> Mapping[str, tf.keras.Model]: return { 'efficientnet': efficientnet_model.EfficientNet.from_name, 'resnet': resnet_model.resnet50, + 'vgg': vgg_model.vgg16, } diff --git a/official/legacy/image_classification/classifier_trainer_test.py b/official/legacy/image_classification/classifier_trainer_test.py index fd304cdba..58e4e4125 100644 --- a/official/legacy/image_classification/classifier_trainer_test.py +++ b/official/legacy/image_classification/classifier_trainer_test.py @@ -53,6 +53,7 @@ def distribution_strategy_combinations() -> Iterable[Tuple[Any, ...]]: model=[ 'efficientnet', 'resnet', + 'vgg', ], dataset=[ 'imagenet', @@ -149,6 +150,7 @@ class ClassifierTest(tf.test.TestCase, parameterized.TestCase): model=[ 'efficientnet', 'resnet', + 'vgg', ], dataset='imagenet', dtype='float16', @@ -193,6 +195,7 @@ class ClassifierTest(tf.test.TestCase, parameterized.TestCase): model=[ 'efficientnet', 'resnet', + 'vgg', ], dataset='imagenet', dtype='bfloat16', diff --git a/official/legacy/image_classification/configs/configs.py b/official/legacy/image_classification/configs/configs.py index a11f7f23f..f09d2054c 100644 --- a/official/legacy/image_classification/configs/configs.py +++ b/official/legacy/image_classification/configs/configs.py @@ -24,6 +24,7 @@ from official.legacy.image_classification import dataset_factory from official.legacy.image_classification.configs import base_configs from official.legacy.image_classification.efficientnet import efficientnet_config from official.legacy.image_classification.resnet import resnet_config +from official.vision.image_classification.vgg16 import vgg_config @dataclasses.dataclass @@ -92,12 +93,44 @@ class ResNetImagenetConfig(base_configs.ExperimentConfig): model: base_configs.ModelConfig = resnet_config.ResNetModelConfig() +@dataclasses.dataclass +class VGGImagenetConfig(base_configs.ExperimentConfig): + """Base configuration to train vgg-16 on ImageNet.""" + export: base_configs.ExportConfig = base_configs.ExportConfig() + runtime: base_configs.RuntimeConfig = base_configs.RuntimeConfig() + train_dataset: dataset_factory.DatasetConfig = \ + dataset_factory.ImageNetConfig(split='train', + one_hot=False, + mean_subtract=True, + standardize=True) + validation_dataset: dataset_factory.DatasetConfig = \ + dataset_factory.ImageNetConfig(split='validation', + one_hot=False, + mean_subtract=True, + standardize=True) + train: base_configs.TrainConfig = base_configs.TrainConfig( + resume_checkpoint=True, + epochs=90, + steps=None, + callbacks=base_configs.CallbacksConfig( + enable_checkpoint_and_export=True, enable_tensorboard=True), + metrics=['accuracy', 'top_5'], + time_history=base_configs.TimeHistoryConfig(log_steps=100), + tensorboard=base_configs.TensorBoardConfig( + track_lr=True, write_model_weights=False), + set_epoch_loop=False) + evaluation: base_configs.EvalConfig = base_configs.EvalConfig( + epochs_between_evals=1, steps=None) + model: base_configs.ModelConfig = vgg_config.VGGModelConfig() + + def get_config(model: str, dataset: str) -> base_configs.ExperimentConfig: """Given model and dataset names, return the ExperimentConfig.""" dataset_model_config_map = { 'imagenet': { 'efficientnet': EfficientNetImageNetConfig(), 'resnet': ResNetImagenetConfig(), + 'vgg': VGGImagenetConfig(), } } try: diff --git a/official/vision/image_classification/configs/examples/vgg16/gpu.yaml b/official/legacy/image_classification/configs/examples/vgg16/gpu.yaml similarity index 100% rename from official/vision/image_classification/configs/examples/vgg16/gpu.yaml rename to official/legacy/image_classification/configs/examples/vgg16/gpu.yaml diff --git a/official/vision/image_classification/vgg16/__init__.py b/official/legacy/image_classification/vgg16/__init__.py similarity index 100% rename from official/vision/image_classification/vgg16/__init__.py rename to official/legacy/image_classification/vgg16/__init__.py diff --git a/official/vision/image_classification/vgg16/vgg_config.py b/official/legacy/image_classification/vgg16/vgg_config.py similarity index 97% rename from official/vision/image_classification/vgg16/vgg_config.py rename to official/legacy/image_classification/vgg16/vgg_config.py index 6edffb289..029379c01 100644 --- a/official/vision/image_classification/vgg16/vgg_config.py +++ b/official/legacy/image_classification/vgg16/vgg_config.py @@ -49,5 +49,5 @@ class VGGModelConfig(base_configs.ModelConfig): examples_per_epoch=1281167, boundaries=[30, 60], warmup_epochs=0, - scale_by_batch_size=1. / 128., + scale_by_batch_size=1. / 256., multipliers=[0.01 / 256, 0.001 / 256, 0.0001 / 256])) diff --git a/official/vision/image_classification/vgg16/vgg_model.py b/official/legacy/image_classification/vgg16/vgg_model.py similarity index 93% rename from official/vision/image_classification/vgg16/vgg_model.py rename to official/legacy/image_classification/vgg16/vgg_model.py index 3fd3b505e..387aa0d07 100644 --- a/official/vision/image_classification/vgg16/vgg_model.py +++ b/official/legacy/image_classification/vgg16/vgg_model.py @@ -174,17 +174,23 @@ def vgg16(num_classes, x = layers.Flatten(name='flatten')(x) x = layers.Dense(4096, + #kernel_initializer=tf.initializers.random_normal(stddev=0.01), kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + #bias_regularizer=_gen_l2_regularizer(use_l2_regularizer), name='fc1')(x) x = layers.Activation('relu')(x) x = layers.Dropout(0.5)(x) x = layers.Dense(4096, + #kernel_initializer=tf.initializers.random_normal(stddev=0.01), kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + #bias_regularizer=_gen_l2_regularizer(use_l2_regularizer), name='fc2')(x) x = layers.Activation('relu')(x) x = layers.Dropout(0.5)(x) x = layers.Dense(num_classes, + #kernel_initializer=tf.initializers.random_normal(stddev=0.01), kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + #bias_regularizer=_gen_l2_regularizer(use_l2_regularizer), name='fc1000')(x) # A softmax that is followed by the model loss must be done cannot be done diff --git a/official/vision/image_classification/classifier_trainer.py b/official/vision/image_classification/classifier_trainer.py index 0c0d03411..ab6fbaea9 100644 --- a/official/vision/image_classification/classifier_trainer.py +++ b/official/vision/image_classification/classifier_trainer.py @@ -36,7 +36,6 @@ from official.vision.image_classification.configs import configs from official.vision.image_classification.efficientnet import efficientnet_model from official.vision.image_classification.resnet import common from official.vision.image_classification.resnet import resnet_model -from official.vision.image_classification.vgg16 import vgg_model def get_models() -> Mapping[str, tf.keras.Model]: @@ -44,7 +43,6 @@ def get_models() -> Mapping[str, tf.keras.Model]: return { 'efficientnet': efficientnet_model.EfficientNet.from_name, 'resnet': resnet_model.resnet50, - 'vgg': vgg_model.vgg16, } diff --git a/official/vision/image_classification/classifier_trainer_test.py b/official/vision/image_classification/classifier_trainer_test.py index 724310a9d..06227c154 100644 --- a/official/vision/image_classification/classifier_trainer_test.py +++ b/official/vision/image_classification/classifier_trainer_test.py @@ -53,7 +53,6 @@ def distribution_strategy_combinations() -> Iterable[Tuple[Any, ...]]: model=[ 'efficientnet', 'resnet', - 'vgg', ], dataset=[ 'imagenet', @@ -150,7 +149,6 @@ class ClassifierTest(tf.test.TestCase, parameterized.TestCase): model=[ 'efficientnet', 'resnet', - 'vgg', ], dataset='imagenet', dtype='float16', @@ -195,7 +193,6 @@ class ClassifierTest(tf.test.TestCase, parameterized.TestCase): model=[ 'efficientnet', 'resnet', - 'vgg', ], dataset='imagenet', dtype='bfloat16', diff --git a/official/vision/image_classification/configs/configs.py b/official/vision/image_classification/configs/configs.py index 9659f4c79..127af58c4 100644 --- a/official/vision/image_classification/configs/configs.py +++ b/official/vision/image_classification/configs/configs.py @@ -91,36 +91,6 @@ class ResNetImagenetConfig(base_configs.ExperimentConfig): epochs_between_evals=1, steps=None) model: base_configs.ModelConfig = resnet_config.ResNetModelConfig() -@dataclasses.dataclass -class VGGImagenetConfig(base_configs.ExperimentConfig): - """Base configuration to train vgg-16 on ImageNet.""" - export: base_configs.ExportConfig = base_configs.ExportConfig() - runtime: base_configs.RuntimeConfig = base_configs.RuntimeConfig() - train_dataset: dataset_factory.DatasetConfig = \ - dataset_factory.ImageNetConfig(split='train', - one_hot=False, - mean_subtract=True, - standardize=True) - validation_dataset: dataset_factory.DatasetConfig = \ - dataset_factory.ImageNetConfig(split='validation', - one_hot=False, - mean_subtract=True, - standardize=True) - train: base_configs.TrainConfig = base_configs.TrainConfig( - resume_checkpoint=True, - epochs=90, - steps=None, - callbacks=base_configs.CallbacksConfig( - enable_checkpoint_and_export=True, enable_tensorboard=True), - metrics=['accuracy', 'top_5'], - time_history=base_configs.TimeHistoryConfig(log_steps=100), - tensorboard=base_configs.TensorBoardConfig( - track_lr=True, write_model_weights=False), - set_epoch_loop=False) - evaluation: base_configs.EvalConfig = base_configs.EvalConfig( - epochs_between_evals=1, steps=None) - model: base_configs.ModelConfig = vgg_config.VGGModelConfig() - def get_config(model: str, dataset: str) -> base_configs.ExperimentConfig: """Given model and dataset names, return the ExperimentConfig.""" @@ -128,7 +98,6 @@ def get_config(model: str, dataset: str) -> base_configs.ExperimentConfig: 'imagenet': { 'efficientnet': EfficientNetImageNetConfig(), 'resnet': ResNetImagenetConfig(), - 'vgg': VGGImagenetConfig() } } try: -- GitLab From b219bbf412e45b81328080e0fd89330d47d5ec6d Mon Sep 17 00:00:00 2001 From: miguelCalado Date: Fri, 7 Jan 2022 06:14:33 +0000 Subject: [PATCH 03/28] Added: Documentation and moved gpu.yaml file --- official/legacy/image_classification/README.md | 14 ++++++++++++++ .../configs/examples/vgg16/{ => imagenet}/gpu.yaml | 0 2 files changed, 14 insertions(+) rename official/legacy/image_classification/configs/examples/vgg16/{ => imagenet}/gpu.yaml (100%) diff --git a/official/legacy/image_classification/README.md b/official/legacy/image_classification/README.md index bc64b791d..1e242f197 100644 --- a/official/legacy/image_classification/README.md +++ b/official/legacy/image_classification/README.md @@ -152,6 +152,20 @@ python3 classifier_trainer.py \ --config_file=configs/examples/resnet/imagenet/tpu.yaml ``` +### VGG-16 + +#### On GPU: +```bash +python3 classifier_trainer.py \ + --mode=train_and_eval \ + --model_type=vgg \ + --dataset=imagenet \ + --model_dir=$MODEL_DIR \ + --data_dir=$DATA_DIR \ + --config_file=configs/examples/vgg/imagenet/gpu.yaml \ + --params_override='runtime.num_gpus=$NUM_GPUS' +``` + ### EfficientNet **Note: EfficientNet development is a work in progress.** #### On GPU: diff --git a/official/legacy/image_classification/configs/examples/vgg16/gpu.yaml b/official/legacy/image_classification/configs/examples/vgg16/imagenet/gpu.yaml similarity index 100% rename from official/legacy/image_classification/configs/examples/vgg16/gpu.yaml rename to official/legacy/image_classification/configs/examples/vgg16/imagenet/gpu.yaml -- GitLab From 3e7fe8a1afa4175d19529e19eabf321b00f8b0f4 Mon Sep 17 00:00:00 2001 From: miguelCalado Date: Sat, 8 Jan 2022 01:45:41 +0000 Subject: [PATCH 04/28] Fixed pylint and added docstrings --- .../classifier_trainer.py | 2 +- .../image_classification/vgg16/vgg_config.py | 3 +- .../image_classification/vgg16/vgg_model.py | 161 +++++++++++------- 3 files changed, 103 insertions(+), 63 deletions(-) diff --git a/official/legacy/image_classification/classifier_trainer.py b/official/legacy/image_classification/classifier_trainer.py index 57c3a628c..f7c1e0a28 100644 --- a/official/legacy/image_classification/classifier_trainer.py +++ b/official/legacy/image_classification/classifier_trainer.py @@ -36,7 +36,7 @@ from official.modeling import hyperparams from official.modeling import performance from official.utils import hyperparams_flags from official.utils.misc import keras_utils -from official.vision.image_classification.vgg16 import vgg_model +from official.legacy.image_classification.vgg16 import vgg_model def get_models() -> Mapping[str, tf.keras.Model]: diff --git a/official/legacy/image_classification/vgg16/vgg_config.py b/official/legacy/image_classification/vgg16/vgg_config.py index 029379c01..f3242cd5c 100644 --- a/official/legacy/image_classification/vgg16/vgg_config.py +++ b/official/legacy/image_classification/vgg16/vgg_config.py @@ -19,9 +19,8 @@ from __future__ import division from __future__ import print_function import dataclasses - +from official.legacy.image_classification.configs import base_configs from official.modeling.hyperparams import base_config -from official.vision.image_classification.configs import base_configs @dataclasses.dataclass diff --git a/official/legacy/image_classification/vgg16/vgg_model.py b/official/legacy/image_classification/vgg16/vgg_model.py index 387aa0d07..48eda815d 100644 --- a/official/legacy/image_classification/vgg16/vgg_model.py +++ b/official/legacy/image_classification/vgg16/vgg_model.py @@ -1,3 +1,25 @@ +# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""VGG16 model for Keras. + +Adapted from tf.keras.applications.vgg16.VGG16(). + +Related papers/blogs: +- https://arxiv.org/abs/1409.1556 + +""" from __future__ import absolute_import from __future__ import division from __future__ import print_function @@ -6,16 +28,30 @@ import tensorflow as tf layers = tf.keras.layers + def _gen_l2_regularizer(use_l2_regularizer=True, l2_weight_decay=1e-4): return tf.keras.regularizers.L2( l2_weight_decay) if use_l2_regularizer else None + def vgg16(num_classes, batch_size=None, use_l2_regularizer=True, batch_norm_decay=0.9, batch_norm_epsilon=1e-5): + """Instantiates the VGG16 architecture + + Args: + num_classes: `int` number of classes for image classification. + batch_size: Size of the batches for each step. + use_l2_regularizer: whether to use L2 regularizer on Conv/Dense layer. + batch_norm_decay: Moment of batch norm layers. + batch_norm_epsilon: Epsilon of batch borm layers. + + Returns: + A Keras model instance. + """ input_shape = (224, 224, 3) img_input = layers.Input(shape=input_shape, batch_size=batch_size) @@ -26,22 +62,23 @@ def vgg16(num_classes, bn_axis = 1 else: # channels_last bn_axis = 3 - # Block 1 - x = layers.Conv2D(64, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block1_conv1')(x) + x = layers.Conv2D( + 64, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block1_conv1')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, epsilon=batch_norm_epsilon, name='bn_conv1')(x) x = layers.Activation('relu')(x) - x = layers.Conv2D(64, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block1_conv2')(x) + x = layers.Conv2D( + 64, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block1_conv2')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, @@ -51,20 +88,22 @@ def vgg16(num_classes, x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block1_pool')(x) # Block 2 - x = layers.Conv2D(128, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block2_conv1')(x) + x = layers.Conv2D( + 128, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block2_conv1')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, epsilon=batch_norm_epsilon, name='bn_conv3')(x) x = layers.Activation('relu')(x) - x = layers.Conv2D(128, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block2_conv2')(x) + x = layers.Conv2D( + 128, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block2_conv2')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, @@ -74,30 +113,33 @@ def vgg16(num_classes, x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block2_pool')(x) # Block 3 - x = layers.Conv2D(256, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block3_conv1')(x) + x = layers.Conv2D( + 256, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block3_conv1')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, epsilon=batch_norm_epsilon, name='bn_conv5')(x) x = layers.Activation('relu')(x) - x = layers.Conv2D(256, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block3_conv2')(x) + x = layers.Conv2D( + 256, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block3_conv2')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, epsilon=batch_norm_epsilon, name='bn_conv6')(x) x = layers.Activation('relu')(x) - x = layers.Conv2D(256, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block3_conv3')(x) + x = layers.Conv2D( + 256, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block3_conv3')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, @@ -107,30 +149,33 @@ def vgg16(num_classes, x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block3_pool')(x) # Block 4 - x = layers.Conv2D(512, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block4_conv1')(x) + x = layers.Conv2D( + 512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block4_conv1')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, epsilon=batch_norm_epsilon, name='bn_conv8')(x) x = layers.Activation('relu')(x) - x = layers.Conv2D(512, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block4_conv2')(x) + x = layers.Conv2D( + 512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block4_conv2')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, epsilon=batch_norm_epsilon, name='bn_conv9')(x) x = layers.Activation('relu')(x) - x = layers.Conv2D(512, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block4_conv3')(x) + x = layers.Conv2D( + 512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block4_conv3')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, @@ -140,30 +185,33 @@ def vgg16(num_classes, x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block4_pool')(x) # Block 5 - x = layers.Conv2D(512, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block5_conv1')(x) + x = layers.Conv2D( + 512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block5_conv1')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, epsilon=batch_norm_epsilon, name='bn_conv11')(x) x = layers.Activation('relu')(x) - x = layers.Conv2D(512, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block5_conv2')(x) + x = layers.Conv2D( + 512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block5_conv2')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, epsilon=batch_norm_epsilon, name='bn_conv12')(x) x = layers.Activation('relu')(x) - x = layers.Conv2D(512, (3, 3), - padding='same', - kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - name='block5_conv3')(x) + x = layers.Conv2D( + 512, (3, 3), + padding='same', + kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), + name='block5_conv3')(x) x = layers.BatchNormalization( axis=bn_axis, momentum=batch_norm_decay, @@ -174,23 +222,17 @@ def vgg16(num_classes, x = layers.Flatten(name='flatten')(x) x = layers.Dense(4096, - #kernel_initializer=tf.initializers.random_normal(stddev=0.01), kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - #bias_regularizer=_gen_l2_regularizer(use_l2_regularizer), name='fc1')(x) x = layers.Activation('relu')(x) x = layers.Dropout(0.5)(x) x = layers.Dense(4096, - #kernel_initializer=tf.initializers.random_normal(stddev=0.01), kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - #bias_regularizer=_gen_l2_regularizer(use_l2_regularizer), name='fc2')(x) x = layers.Activation('relu')(x) x = layers.Dropout(0.5)(x) x = layers.Dense(num_classes, - #kernel_initializer=tf.initializers.random_normal(stddev=0.01), kernel_regularizer=_gen_l2_regularizer(use_l2_regularizer), - #bias_regularizer=_gen_l2_regularizer(use_l2_regularizer), name='fc1000')(x) # A softmax that is followed by the model loss must be done cannot be done @@ -199,4 +241,3 @@ def vgg16(num_classes, # Create model. return tf.keras.Model(img_input, x, name='vgg16') - \ No newline at end of file -- GitLab From c9a7e0b27b90a347d93e8bab456ad351f671f458 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 12 Jan 2022 18:03:08 -0800 Subject: [PATCH 05/28] Add builder that applies bounding box-specific ops for RandAugment PiperOrigin-RevId: 421439862 --- official/vision/beta/configs/retinanet.py | 1 - .../beta/dataloaders/retinanet_input.py | 13 ++++++-- official/vision/beta/ops/augment.py | 31 +++++++++++++++++++ official/vision/beta/ops/augment_test.py | 17 ++++++++++ 4 files changed, 58 insertions(+), 4 deletions(-) diff --git a/official/vision/beta/configs/retinanet.py b/official/vision/beta/configs/retinanet.py index e0c793496..5c1dee4f2 100644 --- a/official/vision/beta/configs/retinanet.py +++ b/official/vision/beta/configs/retinanet.py @@ -58,7 +58,6 @@ class Parser(hyperparams.Config): skip_crowd_during_training: bool = True max_num_instances: int = 100 # Can choose AutoAugment and RandAugment. - # TODO(b/205346436) Support RandAugment. aug_type: Optional[common.Augmentation] = None # Keep for backward compatibility. Not used. diff --git a/official/vision/beta/dataloaders/retinanet_input.py b/official/vision/beta/dataloaders/retinanet_input.py index 846a01375..4f734ac7e 100644 --- a/official/vision/beta/dataloaders/retinanet_input.py +++ b/official/vision/beta/dataloaders/retinanet_input.py @@ -75,7 +75,7 @@ class Parser(parser.Parser): upper-bound threshold to assign negative labels for anchors. An anchor with a score below the threshold is labeled negative. aug_type: An optional Augmentation object to choose from AutoAugment and - RandAugment. The latter is not supported, and will raise ValueError. + RandAugment. aug_rand_hflip: `bool`, if True, augment training with random horizontal flip. aug_scale_min: `float`, the minimum scale applied to `output_size` for @@ -122,8 +122,16 @@ class Parser(parser.Parser): augmentation_name=aug_type.autoaug.augmentation_name, cutout_const=aug_type.autoaug.cutout_const, translate_const=aug_type.autoaug.translate_const) + elif aug_type.type == 'randaug': + logging.info('Using RandAugment.') + self._augmenter = augment.RandAugment.build_for_detection( + num_layers=aug_type.randaug.num_layers, + magnitude=aug_type.randaug.magnitude, + cutout_const=aug_type.randaug.cutout_const, + translate_const=aug_type.randaug.translate_const, + prob_to_apply=aug_type.randaug.prob_to_apply, + exclude_ops=aug_type.randaug.exclude_ops) else: - # TODO(b/205346436) Support RandAugment. raise ValueError(f'Augmentation policy {aug_type.type} not supported.') # Deprecated. Data Augmentation with AutoAugment. @@ -162,7 +170,6 @@ class Parser(parser.Parser): # Apply autoaug or randaug. if self._augmenter is not None: image, boxes = self._augmenter.distort_with_boxes(image, boxes) - image_shape = tf.shape(input=image)[0:2] # Normalizes image with mean and std pixel values. diff --git a/official/vision/beta/ops/augment.py b/official/vision/beta/ops/augment.py index 2ec7519f5..32395d883 100644 --- a/official/vision/beta/ops/augment.py +++ b/official/vision/beta/ops/augment.py @@ -1950,6 +1950,37 @@ class RandAugment(ImageAugment): op for op in self.available_ops if op not in exclude_ops ] + @classmethod + def build_for_detection(cls, + num_layers: int = 2, + magnitude: float = 10., + cutout_const: float = 40., + translate_const: float = 100., + magnitude_std: float = 0.0, + prob_to_apply: Optional[float] = None, + exclude_ops: Optional[List[str]] = None): + """Builds a RandAugment that modifies bboxes for geometric transforms.""" + augmenter = cls( + num_layers=num_layers, + magnitude=magnitude, + cutout_const=cutout_const, + translate_const=translate_const, + magnitude_std=magnitude_std, + prob_to_apply=prob_to_apply, + exclude_ops=exclude_ops) + box_aware_ops_by_base_name = { + 'Rotate': 'Rotate_BBox', + 'ShearX': 'ShearX_BBox', + 'ShearY': 'ShearY_BBox', + 'TranslateX': 'TranslateX_BBox', + 'TranslateY': 'TranslateY_BBox', + } + augmenter.available_ops = [ + box_aware_ops_by_base_name.get(op_name) or op_name + for op_name in augmenter.available_ops + ] + return augmenter + def _distort_common( self, image: tf.Tensor, diff --git a/official/vision/beta/ops/augment_test.py b/official/vision/beta/ops/augment_test.py index 45d248464..f5deb77f6 100644 --- a/official/vision/beta/ops/augment_test.py +++ b/official/vision/beta/ops/augment_test.py @@ -140,6 +140,23 @@ class AutoaugmentTest(tf.test.TestCase, parameterized.TestCase): self.assertEqual((224, 224, 3), aug_image.shape) self.assertEqual((2, 4), aug_bboxes.shape) + def test_randaug_build_for_detection(self): + """Smoke test to be sure there are no syntax errors built for detection.""" + image = tf.zeros((224, 224, 3), dtype=tf.uint8) + bboxes = tf.ones((2, 4), dtype=tf.float32) + + augmenter = augment.RandAugment.build_for_detection() + self.assertCountEqual(augmenter.available_ops, [ + 'AutoContrast', 'Equalize', 'Invert', 'Posterize', 'Solarize', 'Color', + 'Contrast', 'Brightness', 'Sharpness', 'Cutout', 'SolarizeAdd', + 'Rotate_BBox', 'ShearX_BBox', 'ShearY_BBox', 'TranslateX_BBox', + 'TranslateY_BBox' + ]) + + aug_image, aug_bboxes = augmenter.distort_with_boxes(image, bboxes) + self.assertEqual((224, 224, 3), aug_image.shape) + self.assertEqual((2, 4), aug_bboxes.shape) + def test_all_policy_ops(self): """Smoke test to be sure all augmentation functions can execute.""" -- GitLab From 6b8bb0cbeb3e10415c7a87448f08adc3c484c1d3 Mon Sep 17 00:00:00 2001 From: Hongkun Yu Date: Fri, 14 Jan 2022 09:00:57 -0800 Subject: [PATCH 06/28] Internal change PiperOrigin-RevId: 421838185 --- official/LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official/LICENSE b/official/LICENSE index d3da22842..4d0416137 100644 --- a/official/LICENSE +++ b/official/LICENSE @@ -1,4 +1,4 @@ -Copyright 2015 The TensorFlow Authors. All rights reserved. +Copyright 2022 Google LLC. All rights reserved. Apache License Version 2.0, January 2004 -- GitLab From 871c4e0a393ef4385534bee55354a5df8aa1ccf4 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 18 Jan 2022 11:54:11 -0800 Subject: [PATCH 07/28] Internal change PiperOrigin-RevId: 422612138 --- official/__init__.py | 2 +- official/common/__init__.py | 2 +- official/common/dataset_fn.py | 2 +- official/common/distribute_utils.py | 2 +- official/common/distribute_utils_test.py | 2 +- official/common/flags.py | 2 +- official/common/registry_imports.py | 2 +- official/common/streamz_counters.py | 2 +- official/core/__init__.py | 2 +- official/core/actions.py | 2 +- official/core/actions_test.py | 2 +- official/core/base_task.py | 2 +- official/core/base_trainer.py | 2 +- official/core/base_trainer_test.py | 2 +- official/core/config_definitions.py | 2 +- official/core/exp_factory.py | 2 +- official/core/export_base.py | 2 +- official/core/export_base_test.py | 2 +- official/core/input_reader.py | 2 +- official/core/registry.py | 2 +- official/core/registry_test.py | 2 +- official/core/task_factory.py | 2 +- official/core/test_utils.py | 2 +- official/core/train_lib.py | 2 +- official/core/train_lib_test.py | 2 +- official/core/train_utils.py | 2 +- official/core/train_utils_test.py | 2 +- official/legacy/__init__.py | 2 +- official/legacy/albert/__init__.py | 2 +- official/legacy/albert/configs.py | 2 +- official/legacy/detection/__init__.py | 2 +- official/legacy/detection/configs/__init__.py | 2 +- official/legacy/detection/configs/base_config.py | 2 +- official/legacy/detection/configs/factory.py | 2 +- official/legacy/detection/configs/maskrcnn_config.py | 2 +- official/legacy/detection/configs/olnmask_config.py | 2 +- official/legacy/detection/configs/retinanet_config.py | 2 +- official/legacy/detection/configs/shapemask_config.py | 2 +- official/legacy/detection/dataloader/__init__.py | 2 +- official/legacy/detection/dataloader/anchor.py | 2 +- official/legacy/detection/dataloader/factory.py | 2 +- official/legacy/detection/dataloader/input_reader.py | 2 +- official/legacy/detection/dataloader/maskrcnn_parser.py | 2 +- official/legacy/detection/dataloader/mode_keys.py | 2 +- official/legacy/detection/dataloader/olnmask_parser.py | 2 +- official/legacy/detection/dataloader/retinanet_parser.py | 2 +- official/legacy/detection/dataloader/shapemask_parser.py | 2 +- .../legacy/detection/dataloader/tf_example_decoder.py | 2 +- official/legacy/detection/evaluation/__init__.py | 2 +- official/legacy/detection/evaluation/coco_evaluator.py | 2 +- official/legacy/detection/evaluation/coco_utils.py | 2 +- official/legacy/detection/evaluation/factory.py | 2 +- official/legacy/detection/executor/__init__.py | 2 +- official/legacy/detection/executor/detection_executor.py | 2 +- .../legacy/detection/executor/distributed_executor.py | 2 +- official/legacy/detection/main.py | 2 +- official/legacy/detection/modeling/__init__.py | 2 +- .../legacy/detection/modeling/architecture/__init__.py | 2 +- .../legacy/detection/modeling/architecture/factory.py | 2 +- official/legacy/detection/modeling/architecture/fpn.py | 2 +- official/legacy/detection/modeling/architecture/heads.py | 2 +- .../legacy/detection/modeling/architecture/identity.py | 2 +- .../legacy/detection/modeling/architecture/nn_blocks.py | 2 +- official/legacy/detection/modeling/architecture/nn_ops.py | 2 +- official/legacy/detection/modeling/architecture/resnet.py | 2 +- .../legacy/detection/modeling/architecture/spinenet.py | 2 +- official/legacy/detection/modeling/base_model.py | 2 +- official/legacy/detection/modeling/checkpoint_utils.py | 2 +- official/legacy/detection/modeling/factory.py | 2 +- official/legacy/detection/modeling/learning_rates.py | 2 +- official/legacy/detection/modeling/losses.py | 2 +- official/legacy/detection/modeling/maskrcnn_model.py | 2 +- official/legacy/detection/modeling/olnmask_model.py | 2 +- official/legacy/detection/modeling/optimizers.py | 2 +- official/legacy/detection/modeling/retinanet_model.py | 2 +- official/legacy/detection/modeling/shapemask_model.py | 2 +- official/legacy/detection/ops/__init__.py | 2 +- official/legacy/detection/ops/nms.py | 2 +- official/legacy/detection/ops/postprocess_ops.py | 2 +- official/legacy/detection/ops/roi_ops.py | 2 +- official/legacy/detection/ops/spatial_transform_ops.py | 2 +- official/legacy/detection/ops/target_ops.py | 2 +- official/legacy/detection/utils/__init__.py | 2 +- official/legacy/detection/utils/box_utils.py | 2 +- official/legacy/detection/utils/class_utils.py | 2 +- official/legacy/detection/utils/dataloader_utils.py | 2 +- official/legacy/detection/utils/input_utils.py | 2 +- official/legacy/detection/utils/mask_utils.py | 2 +- official/legacy/image_classification/__init__.py | 2 +- official/legacy/image_classification/augment.py | 2 +- official/legacy/image_classification/augment_test.py | 2 +- official/legacy/image_classification/callbacks.py | 2 +- .../legacy/image_classification/classifier_trainer.py | 2 +- .../image_classification/classifier_trainer_test.py | 2 +- .../image_classification/classifier_trainer_util_test.py | 2 +- official/legacy/image_classification/configs/__init__.py | 2 +- .../legacy/image_classification/configs/base_configs.py | 2 +- official/legacy/image_classification/configs/configs.py | 2 +- official/legacy/image_classification/dataset_factory.py | 2 +- .../legacy/image_classification/efficientnet/__init__.py | 2 +- .../image_classification/efficientnet/common_modules.py | 2 +- .../efficientnet/efficientnet_config.py | 2 +- .../efficientnet/efficientnet_model.py | 2 +- .../image_classification/efficientnet/tfhub_export.py | 2 +- official/legacy/image_classification/learning_rate.py | 2 +- .../legacy/image_classification/learning_rate_test.py | 2 +- official/legacy/image_classification/mnist_main.py | 2 +- official/legacy/image_classification/mnist_test.py | 2 +- official/legacy/image_classification/optimizer_factory.py | 2 +- .../legacy/image_classification/optimizer_factory_test.py | 2 +- official/legacy/image_classification/preprocessing.py | 2 +- official/legacy/image_classification/resnet/__init__.py | 2 +- official/legacy/image_classification/resnet/common.py | 2 +- .../image_classification/resnet/imagenet_preprocessing.py | 2 +- .../legacy/image_classification/resnet/resnet_config.py | 2 +- .../resnet/resnet_ctl_imagenet_main.py | 2 +- .../legacy/image_classification/resnet/resnet_model.py | 2 +- .../legacy/image_classification/resnet/resnet_runnable.py | 2 +- .../legacy/image_classification/resnet/tfhub_export.py | 2 +- official/legacy/image_classification/test_utils.py | 2 +- official/legacy/image_classification/vgg/__init__.py | 2 +- official/legacy/image_classification/vgg/vgg_config.py | 2 +- official/legacy/image_classification/vgg/vgg_model.py | 2 +- official/legacy/transformer/__init__.py | 2 +- official/legacy/transformer/attention_layer.py | 2 +- official/legacy/transformer/beam_search_v1.py | 2 +- official/legacy/transformer/compute_bleu.py | 2 +- official/legacy/transformer/compute_bleu_test.py | 2 +- official/legacy/transformer/data_download.py | 2 +- official/legacy/transformer/data_pipeline.py | 2 +- official/legacy/transformer/embedding_layer.py | 2 +- official/legacy/transformer/ffn_layer.py | 2 +- official/legacy/transformer/metrics.py | 2 +- official/legacy/transformer/misc.py | 2 +- official/legacy/transformer/model_params.py | 2 +- official/legacy/transformer/model_utils.py | 2 +- official/legacy/transformer/model_utils_test.py | 2 +- official/legacy/transformer/optimizer.py | 2 +- official/legacy/transformer/transformer.py | 2 +- official/legacy/transformer/transformer_forward_test.py | 2 +- official/legacy/transformer/transformer_layers_test.py | 2 +- official/legacy/transformer/transformer_main.py | 2 +- official/legacy/transformer/transformer_main_test.py | 2 +- official/legacy/transformer/transformer_test.py | 2 +- official/legacy/transformer/translate.py | 2 +- official/legacy/transformer/utils/__init__.py | 2 +- official/legacy/transformer/utils/metrics.py | 2 +- official/legacy/transformer/utils/tokenizer.py | 2 +- official/legacy/transformer/utils/tokenizer_test.py | 2 +- official/modeling/__init__.py | 2 +- official/modeling/activations/__init__.py | 2 +- official/modeling/activations/gelu.py | 2 +- official/modeling/activations/gelu_test.py | 2 +- official/modeling/activations/relu.py | 2 +- official/modeling/activations/relu_test.py | 2 +- official/modeling/activations/sigmoid.py | 2 +- official/modeling/activations/sigmoid_test.py | 2 +- official/modeling/activations/swish.py | 2 +- official/modeling/activations/swish_test.py | 2 +- .../fast_training/experimental/tf2_utils_2x_wide.py | 2 +- .../fast_training/experimental/tf2_utils_2x_wide_test.py | 2 +- official/modeling/fast_training/progressive/policies.py | 2 +- official/modeling/fast_training/progressive/train.py | 2 +- official/modeling/fast_training/progressive/train_lib.py | 2 +- .../modeling/fast_training/progressive/train_lib_test.py | 2 +- official/modeling/fast_training/progressive/trainer.py | 2 +- .../modeling/fast_training/progressive/trainer_test.py | 2 +- official/modeling/fast_training/progressive/utils.py | 2 +- official/modeling/grad_utils.py | 2 +- official/modeling/grad_utils_test.py | 2 +- official/modeling/hyperparams/__init__.py | 2 +- official/modeling/hyperparams/base_config.py | 2 +- official/modeling/hyperparams/base_config_test.py | 2 +- official/modeling/hyperparams/oneof.py | 2 +- official/modeling/hyperparams/oneof_test.py | 2 +- official/modeling/hyperparams/params_dict.py | 2 +- official/modeling/hyperparams/params_dict_test.py | 2 +- official/modeling/multitask/__init__.py | 2 +- official/modeling/multitask/base_model.py | 2 +- official/modeling/multitask/base_trainer.py | 2 +- official/modeling/multitask/base_trainer_test.py | 2 +- official/modeling/multitask/configs.py | 2 +- official/modeling/multitask/evaluator.py | 2 +- official/modeling/multitask/evaluator_test.py | 2 +- official/modeling/multitask/interleaving_trainer.py | 2 +- official/modeling/multitask/interleaving_trainer_test.py | 2 +- official/modeling/multitask/multitask.py | 2 +- official/modeling/multitask/task_sampler.py | 2 +- official/modeling/multitask/task_sampler_test.py | 2 +- official/modeling/multitask/test_utils.py | 2 +- official/modeling/multitask/train_lib.py | 2 +- official/modeling/multitask/train_lib_test.py | 2 +- official/modeling/optimization/__init__.py | 2 +- official/modeling/optimization/adafactor_optimizer.py | 2 +- official/modeling/optimization/configs/__init__.py | 2 +- .../modeling/optimization/configs/learning_rate_config.py | 2 +- .../modeling/optimization/configs/optimization_config.py | 2 +- .../optimization/configs/optimization_config_test.py | 2 +- .../modeling/optimization/configs/optimizer_config.py | 2 +- official/modeling/optimization/ema_optimizer.py | 2 +- official/modeling/optimization/lars_optimizer.py | 2 +- official/modeling/optimization/lr_schedule.py | 2 +- official/modeling/optimization/lr_schedule_test.py | 2 +- official/modeling/optimization/optimizer_factory.py | 2 +- official/modeling/optimization/optimizer_factory_test.py | 2 +- official/modeling/optimization/slide_optimizer.py | 2 +- official/modeling/performance.py | 2 +- official/modeling/tf_utils.py | 2 +- official/modeling/tf_utils_test.py | 2 +- official/nlp/__init__.py | 2 +- official/nlp/bert/__init__.py | 2 +- official/nlp/bert/bert_models.py | 2 +- official/nlp/bert/bert_models_test.py | 2 +- official/nlp/bert/common_flags.py | 2 +- official/nlp/bert/configs.py | 2 +- official/nlp/bert/export_tfhub.py | 2 +- official/nlp/bert/export_tfhub_test.py | 2 +- official/nlp/bert/input_pipeline.py | 2 +- official/nlp/bert/model_saving_utils.py | 2 +- official/nlp/bert/model_training_utils.py | 2 +- official/nlp/bert/model_training_utils_test.py | 2 +- official/nlp/bert/run_classifier.py | 2 +- official/nlp/bert/run_pretraining.py | 2 +- official/nlp/bert/run_squad.py | 2 +- official/nlp/bert/run_squad_helper.py | 2 +- official/nlp/bert/serving.py | 2 +- official/nlp/bert/squad_evaluate_v1_1.py | 2 +- official/nlp/bert/squad_evaluate_v2_0.py | 2 +- official/nlp/bert/tf1_checkpoint_converter_lib.py | 2 +- official/nlp/bert/tf2_encoder_checkpoint_converter.py | 2 +- official/nlp/bert/tokenization.py | 2 +- official/nlp/bert/tokenization_test.py | 2 +- official/nlp/configs/__init__.py | 2 +- official/nlp/configs/bert.py | 2 +- official/nlp/configs/electra.py | 2 +- official/nlp/configs/encoders.py | 2 +- official/nlp/configs/encoders_test.py | 2 +- official/nlp/configs/experiment_configs.py | 2 +- official/nlp/configs/finetuning_experiments.py | 2 +- official/nlp/configs/pretraining_experiments.py | 2 +- official/nlp/configs/wmt_transformer_experiments.py | 2 +- official/nlp/continuous_finetune_lib.py | 2 +- official/nlp/continuous_finetune_lib_test.py | 2 +- official/nlp/data/__init__.py | 2 +- official/nlp/data/classifier_data_lib.py | 2 +- official/nlp/data/classifier_data_lib_test.py | 2 +- official/nlp/data/create_finetuning_data.py | 2 +- official/nlp/data/create_pretraining_data.py | 2 +- official/nlp/data/create_pretraining_data_test.py | 2 +- official/nlp/data/create_xlnet_pretraining_data.py | 2 +- official/nlp/data/create_xlnet_pretraining_data_test.py | 2 +- official/nlp/data/data_loader.py | 2 +- official/nlp/data/data_loader_factory.py | 2 +- official/nlp/data/data_loader_factory_test.py | 2 +- official/nlp/data/dual_encoder_dataloader.py | 2 +- official/nlp/data/dual_encoder_dataloader_test.py | 2 +- official/nlp/data/pretrain_dataloader.py | 2 +- official/nlp/data/pretrain_dataloader_test.py | 2 +- official/nlp/data/pretrain_dynamic_dataloader.py | 2 +- official/nlp/data/pretrain_dynamic_dataloader_test.py | 2 +- official/nlp/data/question_answering_dataloader.py | 2 +- official/nlp/data/question_answering_dataloader_test.py | 2 +- official/nlp/data/sentence_prediction_dataloader.py | 2 +- official/nlp/data/sentence_prediction_dataloader_test.py | 2 +- official/nlp/data/sentence_retrieval_lib.py | 2 +- official/nlp/data/squad_lib.py | 2 +- official/nlp/data/squad_lib_sp.py | 2 +- official/nlp/data/tagging_data_lib.py | 2 +- official/nlp/data/tagging_data_lib_test.py | 2 +- official/nlp/data/tagging_dataloader.py | 2 +- official/nlp/data/tagging_dataloader_test.py | 2 +- official/nlp/data/train_sentencepiece.py | 2 +- official/nlp/data/wmt_dataloader.py | 2 +- official/nlp/data/wmt_dataloader_test.py | 2 +- official/nlp/finetuning/binary_helper.py | 2 +- official/nlp/finetuning/glue/flags.py | 2 +- official/nlp/finetuning/glue/run_glue.py | 2 +- official/nlp/finetuning/superglue/flags.py | 2 +- official/nlp/finetuning/superglue/run_superglue.py | 2 +- official/nlp/metrics/__init__.py | 2 +- official/nlp/metrics/bleu.py | 2 +- official/nlp/metrics/bleu_test.py | 2 +- official/nlp/modeling/__init__.py | 2 +- official/nlp/modeling/layers/__init__.py | 2 +- official/nlp/modeling/layers/attention.py | 2 +- official/nlp/modeling/layers/attention_test.py | 2 +- official/nlp/modeling/layers/bigbird_attention.py | 2 +- official/nlp/modeling/layers/bigbird_attention_test.py | 2 +- official/nlp/modeling/layers/block_diag_feedforward.py | 2 +- .../nlp/modeling/layers/block_diag_feedforward_test.py | 2 +- official/nlp/modeling/layers/cls_head.py | 2 +- official/nlp/modeling/layers/cls_head_test.py | 2 +- official/nlp/modeling/layers/gated_feedforward.py | 2 +- official/nlp/modeling/layers/gated_feedforward_test.py | 2 +- official/nlp/modeling/layers/gaussian_process.py | 2 +- official/nlp/modeling/layers/gaussian_process_test.py | 2 +- official/nlp/modeling/layers/kernel_attention.py | 2 +- official/nlp/modeling/layers/kernel_attention_test.py | 2 +- official/nlp/modeling/layers/masked_lm.py | 2 +- official/nlp/modeling/layers/masked_lm_test.py | 2 +- official/nlp/modeling/layers/masked_softmax.py | 2 +- official/nlp/modeling/layers/masked_softmax_test.py | 2 +- official/nlp/modeling/layers/mat_mul_with_margin.py | 2 +- official/nlp/modeling/layers/mat_mul_with_margin_test.py | 2 +- official/nlp/modeling/layers/mobile_bert_layers.py | 2 +- official/nlp/modeling/layers/mobile_bert_layers_test.py | 2 +- official/nlp/modeling/layers/multi_channel_attention.py | 2 +- .../nlp/modeling/layers/multi_channel_attention_test.py | 2 +- official/nlp/modeling/layers/on_device_embedding.py | 2 +- official/nlp/modeling/layers/on_device_embedding_test.py | 2 +- official/nlp/modeling/layers/position_embedding.py | 2 +- official/nlp/modeling/layers/position_embedding_test.py | 2 +- official/nlp/modeling/layers/relative_attention.py | 2 +- official/nlp/modeling/layers/relative_attention_test.py | 2 +- official/nlp/modeling/layers/reuse_attention.py | 2 +- official/nlp/modeling/layers/reuse_attention_test.py | 2 +- official/nlp/modeling/layers/reuse_transformer.py | 2 +- official/nlp/modeling/layers/reuse_transformer_test.py | 2 +- official/nlp/modeling/layers/rezero_transformer.py | 2 +- official/nlp/modeling/layers/rezero_transformer_test.py | 2 +- official/nlp/modeling/layers/self_attention_mask.py | 2 +- official/nlp/modeling/layers/spectral_normalization.py | 2 +- .../nlp/modeling/layers/spectral_normalization_test.py | 2 +- official/nlp/modeling/layers/talking_heads_attention.py | 2 +- .../nlp/modeling/layers/talking_heads_attention_test.py | 2 +- official/nlp/modeling/layers/text_layers.py | 2 +- official/nlp/modeling/layers/text_layers_test.py | 2 +- official/nlp/modeling/layers/tn_expand_condense.py | 2 +- official/nlp/modeling/layers/tn_expand_condense_test.py | 2 +- .../nlp/modeling/layers/tn_transformer_expand_condense.py | 2 +- official/nlp/modeling/layers/tn_transformer_test.py | 2 +- official/nlp/modeling/layers/transformer.py | 2 +- official/nlp/modeling/layers/transformer_encoder_block.py | 2 +- .../nlp/modeling/layers/transformer_encoder_block_test.py | 2 +- official/nlp/modeling/layers/transformer_scaffold.py | 2 +- official/nlp/modeling/layers/transformer_scaffold_test.py | 2 +- official/nlp/modeling/layers/transformer_test.py | 2 +- official/nlp/modeling/layers/transformer_xl.py | 2 +- official/nlp/modeling/layers/transformer_xl_test.py | 2 +- official/nlp/modeling/layers/util.py | 2 +- official/nlp/modeling/losses/__init__.py | 2 +- .../losses/weighted_sparse_categorical_crossentropy.py | 2 +- .../weighted_sparse_categorical_crossentropy_test.py | 2 +- official/nlp/modeling/models/__init__.py | 2 +- official/nlp/modeling/models/bert_classifier.py | 2 +- official/nlp/modeling/models/bert_classifier_test.py | 2 +- official/nlp/modeling/models/bert_pretrainer.py | 2 +- official/nlp/modeling/models/bert_pretrainer_test.py | 2 +- official/nlp/modeling/models/bert_span_labeler.py | 2 +- official/nlp/modeling/models/bert_span_labeler_test.py | 2 +- official/nlp/modeling/models/bert_token_classifier.py | 2 +- .../nlp/modeling/models/bert_token_classifier_test.py | 2 +- official/nlp/modeling/models/dual_encoder.py | 2 +- official/nlp/modeling/models/dual_encoder_test.py | 2 +- official/nlp/modeling/models/electra_pretrainer.py | 2 +- official/nlp/modeling/models/electra_pretrainer_test.py | 2 +- official/nlp/modeling/models/seq2seq_transformer.py | 2 +- official/nlp/modeling/models/seq2seq_transformer_test.py | 2 +- official/nlp/modeling/models/t5.py | 2 +- official/nlp/modeling/models/t5_test.py | 2 +- official/nlp/modeling/models/xlnet.py | 2 +- official/nlp/modeling/models/xlnet_test.py | 2 +- official/nlp/modeling/networks/__init__.py | 2 +- official/nlp/modeling/networks/albert_encoder.py | 2 +- official/nlp/modeling/networks/albert_encoder_test.py | 2 +- official/nlp/modeling/networks/bert_dense_encoder_test.py | 2 +- official/nlp/modeling/networks/bert_encoder.py | 2 +- official/nlp/modeling/networks/bert_encoder_test.py | 2 +- official/nlp/modeling/networks/classification.py | 2 +- official/nlp/modeling/networks/classification_test.py | 2 +- official/nlp/modeling/networks/encoder_scaffold.py | 2 +- official/nlp/modeling/networks/encoder_scaffold_test.py | 2 +- official/nlp/modeling/networks/funnel_transformer.py | 2 +- official/nlp/modeling/networks/funnel_transformer_test.py | 2 +- official/nlp/modeling/networks/mobile_bert_encoder.py | 2 +- .../nlp/modeling/networks/mobile_bert_encoder_test.py | 2 +- .../nlp/modeling/networks/packed_sequence_embedding.py | 2 +- .../modeling/networks/packed_sequence_embedding_test.py | 2 +- official/nlp/modeling/networks/span_labeling.py | 2 +- official/nlp/modeling/networks/span_labeling_test.py | 2 +- official/nlp/modeling/networks/xlnet_base.py | 2 +- official/nlp/modeling/networks/xlnet_base_test.py | 2 +- official/nlp/modeling/ops/__init__.py | 2 +- official/nlp/modeling/ops/beam_search.py | 2 +- official/nlp/modeling/ops/beam_search_test.py | 2 +- official/nlp/modeling/ops/decoding_module.py | 2 +- official/nlp/modeling/ops/decoding_module_test.py | 2 +- official/nlp/modeling/ops/sampling_module.py | 2 +- official/nlp/modeling/ops/segment_extractor.py | 2 +- official/nlp/modeling/ops/segment_extractor_test.py | 2 +- official/nlp/optimization.py | 2 +- official/nlp/serving/export_savedmodel.py | 2 +- official/nlp/serving/export_savedmodel_test.py | 2 +- official/nlp/serving/export_savedmodel_util.py | 2 +- official/nlp/serving/serving_modules.py | 2 +- official/nlp/serving/serving_modules_test.py | 2 +- official/nlp/tasks/__init__.py | 2 +- official/nlp/tasks/dual_encoder.py | 2 +- official/nlp/tasks/dual_encoder_test.py | 2 +- official/nlp/tasks/electra_task.py | 2 +- official/nlp/tasks/electra_task_test.py | 2 +- official/nlp/tasks/masked_lm.py | 2 +- official/nlp/tasks/masked_lm_test.py | 2 +- official/nlp/tasks/question_answering.py | 2 +- official/nlp/tasks/question_answering_test.py | 2 +- official/nlp/tasks/sentence_prediction.py | 2 +- official/nlp/tasks/sentence_prediction_test.py | 2 +- official/nlp/tasks/tagging.py | 2 +- official/nlp/tasks/tagging_test.py | 2 +- official/nlp/tasks/translation.py | 2 +- official/nlp/tasks/translation_test.py | 2 +- official/nlp/tasks/utils.py | 2 +- official/nlp/tools/__init__.py | 2 +- official/nlp/tools/export_tfhub.py | 2 +- official/nlp/tools/export_tfhub_lib.py | 2 +- official/nlp/tools/export_tfhub_lib_test.py | 2 +- .../nlp/tools/tf2_albert_encoder_checkpoint_converter.py | 2 +- official/nlp/train.py | 2 +- official/nlp/xlnet/__init__.py | 2 +- official/nlp/xlnet/classifier_utils.py | 2 +- official/nlp/xlnet/common_flags.py | 2 +- official/nlp/xlnet/data_utils.py | 2 +- official/nlp/xlnet/optimization.py | 2 +- official/nlp/xlnet/preprocess_classification_data.py | 2 +- official/nlp/xlnet/preprocess_pretrain_data.py | 2 +- official/nlp/xlnet/preprocess_squad_data.py | 2 +- official/nlp/xlnet/preprocess_utils.py | 2 +- official/nlp/xlnet/run_classifier.py | 2 +- official/nlp/xlnet/run_pretrain.py | 2 +- official/nlp/xlnet/run_squad.py | 2 +- official/nlp/xlnet/squad_utils.py | 2 +- official/nlp/xlnet/training_utils.py | 2 +- official/nlp/xlnet/xlnet_config.py | 2 +- official/nlp/xlnet/xlnet_modeling.py | 2 +- official/pip_package/setup.py | 2 +- official/projects/__init__.py | 2 +- official/projects/assemblenet/configs/assemblenet.py | 2 +- official/projects/assemblenet/configs/assemblenet_test.py | 2 +- official/projects/assemblenet/modeling/assemblenet.py | 2 +- .../projects/assemblenet/modeling/assemblenet_plus.py | 2 +- .../assemblenet/modeling/assemblenet_plus_test.py | 2 +- .../projects/assemblenet/modeling/rep_flow_2d_layer.py | 2 +- official/projects/assemblenet/train.py | 2 +- official/projects/assemblenet/train_test.py | 2 +- official/projects/basnet/configs/basnet.py | 2 +- official/projects/basnet/configs/basnet_test.py | 2 +- official/projects/basnet/evaluation/metrics.py | 2 +- official/projects/basnet/evaluation/metrics_test.py | 2 +- official/projects/basnet/losses/basnet_losses.py | 2 +- official/projects/basnet/modeling/basnet_model.py | 2 +- official/projects/basnet/modeling/basnet_model_test.py | 2 +- official/projects/basnet/modeling/nn_blocks.py | 2 +- official/projects/basnet/modeling/refunet.py | 2 +- official/projects/basnet/serving/basnet.py | 2 +- official/projects/basnet/serving/export_saved_model.py | 2 +- official/projects/basnet/tasks/basnet.py | 2 +- official/projects/basnet/train.py | 2 +- official/projects/bigbird/__init__.py | 2 +- official/projects/bigbird/encoder.py | 2 +- official/projects/bigbird/encoder_test.py | 2 +- official/projects/bigbird/experiment_configs.py | 2 +- official/projects/bigbird/recompute_grad.py | 2 +- official/projects/bigbird/recomputing_dropout.py | 2 +- official/projects/bigbird/stateless_dropout.py | 2 +- official/projects/edgetpu/nlp/__init__.py | 2 +- official/projects/edgetpu/nlp/configs/__init__.py | 2 +- official/projects/edgetpu/nlp/configs/params.py | 2 +- .../projects/edgetpu/nlp/mobilebert_edgetpu_trainer.py | 2 +- .../edgetpu/nlp/mobilebert_edgetpu_trainer_test.py | 2 +- official/projects/edgetpu/nlp/modeling/__init__.py | 2 +- official/projects/edgetpu/nlp/modeling/edgetpu_layers.py | 2 +- .../projects/edgetpu/nlp/modeling/edgetpu_layers_test.py | 2 +- official/projects/edgetpu/nlp/modeling/encoder.py | 2 +- official/projects/edgetpu/nlp/modeling/model_builder.py | 2 +- .../projects/edgetpu/nlp/modeling/model_builder_test.py | 2 +- official/projects/edgetpu/nlp/modeling/pretrainer.py | 2 +- official/projects/edgetpu/nlp/modeling/pretrainer_test.py | 2 +- .../projects/edgetpu/nlp/run_mobilebert_edgetpu_train.py | 2 +- official/projects/edgetpu/nlp/serving/__init__.py | 2 +- .../projects/edgetpu/nlp/serving/export_tflite_squad.py | 2 +- .../edgetpu/nlp/serving/export_tflite_squad_test.py | 2 +- official/projects/edgetpu/nlp/utils/__init__.py | 2 +- official/projects/edgetpu/nlp/utils/utils.py | 2 +- official/projects/edgetpu/nlp/utils/utils_test.py | 2 +- official/projects/edgetpu/vision/README.md | 8 ++++---- official/projects/edgetpu/vision/__init__.py | 2 +- official/projects/edgetpu/vision/configs/__init__.py | 2 +- .../edgetpu/vision/configs/mobilenet_edgetpu_config.py | 2 +- .../vision/configs/semantic_segmentation_config.py | 2 +- .../configs/semantic_segmentation_searched_config.py | 2 +- official/projects/edgetpu/vision/dataloaders/__init__.py | 2 +- .../edgetpu/vision/dataloaders/classification_input.py | 2 +- .../vision/dataloaders/classification_input_test.py | 2 +- official/projects/edgetpu/vision/modeling/__init__.py | 2 +- .../edgetpu/vision/modeling/backbones/__init__.py | 2 +- .../vision/modeling/backbones/mobilenet_edgetpu.py | 2 +- .../vision/modeling/backbones/mobilenet_edgetpu_test.py | 2 +- .../projects/edgetpu/vision/modeling/common_modules.py | 2 +- .../projects/edgetpu/vision/modeling/custom_layers.py | 2 +- .../edgetpu/vision/modeling/custom_layers_test.py | 2 +- .../projects/edgetpu/vision/modeling/heads/__init__.py | 2 +- .../projects/edgetpu/vision/modeling/heads/bifpn_head.py | 2 +- .../edgetpu/vision/modeling/mobilenet_edgetpu_v1_model.py | 2 +- .../vision/modeling/mobilenet_edgetpu_v1_model_blocks.py | 2 +- .../vision/modeling/mobilenet_edgetpu_v1_model_test.py | 2 +- .../edgetpu/vision/modeling/mobilenet_edgetpu_v2_model.py | 2 +- .../vision/modeling/mobilenet_edgetpu_v2_model_blocks.py | 2 +- .../vision/modeling/mobilenet_edgetpu_v2_model_test.py | 2 +- official/projects/edgetpu/vision/serving/__init__.py | 2 +- official/projects/edgetpu/vision/serving/export_tflite.py | 2 +- .../projects/edgetpu/vision/serving/export_tflite_test.py | 2 +- official/projects/edgetpu/vision/serving/export_util.py | 2 +- .../edgetpu/vision/serving/tflite_imagenet_evaluator.py | 2 +- .../vision/serving/tflite_imagenet_evaluator_run.py | 2 +- .../vision/serving/tflite_imagenet_evaluator_test.py | 2 +- official/projects/edgetpu/vision/tasks/__init__.py | 2 +- .../projects/edgetpu/vision/tasks/image_classification.py | 2 +- .../edgetpu/vision/tasks/image_classification_test.py | 2 +- .../edgetpu/vision/tasks/semantic_segmentation.py | 2 +- .../edgetpu/vision/tasks/semantic_segmentation_test.py | 2 +- official/projects/edgetpu/vision/train.py | 2 +- official/projects/mobilebert/__init__.py | 2 +- official/projects/mobilebert/distillation.py | 2 +- official/projects/mobilebert/distillation_test.py | 2 +- official/projects/mobilebert/export_tfhub.py | 2 +- official/projects/mobilebert/model_utils.py | 2 +- official/projects/mobilebert/run_distillation.py | 2 +- .../projects/mobilebert/tf2_model_checkpoint_converter.py | 2 +- official/projects/mobilebert/utils.py | 2 +- official/projects/movinet/__init__.py | 2 +- official/projects/movinet/configs/__init__.py | 2 +- official/projects/movinet/configs/movinet.py | 2 +- official/projects/movinet/configs/movinet_test.py | 2 +- official/projects/movinet/export_saved_model.py | 2 +- official/projects/movinet/export_saved_model_test.py | 2 +- official/projects/movinet/modeling/__init__.py | 2 +- official/projects/movinet/modeling/movinet.py | 2 +- official/projects/movinet/modeling/movinet_layers.py | 2 +- official/projects/movinet/modeling/movinet_layers_test.py | 2 +- official/projects/movinet/modeling/movinet_model.py | 2 +- official/projects/movinet/modeling/movinet_model_test.py | 2 +- official/projects/movinet/modeling/movinet_test.py | 2 +- official/projects/movinet/tools/convert_3d_2plus1d.py | 2 +- .../projects/movinet/tools/convert_3d_2plus1d_test.py | 2 +- official/projects/movinet/train.py | 2 +- official/projects/movinet/train_test.py | 2 +- official/projects/nhnet/__init__.py | 2 +- official/projects/nhnet/configs.py | 2 +- official/projects/nhnet/configs_test.py | 2 +- official/projects/nhnet/decoder.py | 2 +- official/projects/nhnet/decoder_test.py | 2 +- official/projects/nhnet/evaluation.py | 2 +- official/projects/nhnet/input_pipeline.py | 2 +- official/projects/nhnet/models.py | 2 +- official/projects/nhnet/models_test.py | 2 +- official/projects/nhnet/optimizer.py | 2 +- official/projects/nhnet/raw_data_process.py | 2 +- official/projects/nhnet/raw_data_processor.py | 2 +- official/projects/nhnet/trainer.py | 2 +- official/projects/nhnet/trainer_test.py | 2 +- official/projects/nhnet/utils.py | 2 +- official/projects/roformer/__init__.py | 2 +- official/projects/roformer/roformer.py | 2 +- official/projects/roformer/roformer_attention.py | 2 +- official/projects/roformer/roformer_attention_test.py | 2 +- official/projects/roformer/roformer_encoder.py | 2 +- official/projects/roformer/roformer_encoder_block.py | 2 +- official/projects/roformer/roformer_encoder_block_test.py | 2 +- official/projects/roformer/roformer_encoder_test.py | 2 +- official/projects/roformer/roformer_experiments.py | 2 +- official/projects/roformer/train.py | 2 +- official/projects/teams/__init__.py | 2 +- official/projects/teams/teams.py | 2 +- official/projects/teams/teams_experiments.py | 2 +- official/projects/teams/teams_experiments_test.py | 2 +- official/projects/teams/teams_pretrainer.py | 2 +- official/projects/teams/teams_pretrainer_test.py | 2 +- official/projects/teams/teams_task.py | 2 +- official/projects/teams/teams_task_test.py | 2 +- .../classification_data_loader.py | 2 +- .../text_classification_example/classification_example.py | 2 +- .../classification_example_test.py | 2 +- official/projects/text_classification_example/train.py | 2 +- official/projects/triviaqa/__init__.py | 2 +- official/projects/triviaqa/dataset.py | 2 +- official/projects/triviaqa/download_and_prepare.py | 2 +- official/projects/triviaqa/evaluate.py | 2 +- official/projects/triviaqa/evaluation.py | 2 +- official/projects/triviaqa/inputs.py | 2 +- official/projects/triviaqa/modeling.py | 2 +- official/projects/triviaqa/predict.py | 2 +- official/projects/triviaqa/prediction.py | 2 +- official/projects/triviaqa/preprocess.py | 2 +- official/projects/triviaqa/sentencepiece_pb2.py | 2 +- official/projects/triviaqa/train.py | 2 +- official/projects/volumetric_models/configs/backbones.py | 2 +- official/projects/volumetric_models/configs/decoders.py | 2 +- .../volumetric_models/configs/semantic_segmentation_3d.py | 2 +- .../configs/semantic_segmentation_3d_test.py | 2 +- .../dataloaders/segmentation_input_3d.py | 2 +- .../dataloaders/segmentation_input_3d_test.py | 2 +- .../volumetric_models/evaluation/segmentation_metrics.py | 2 +- .../evaluation/segmentation_metrics_test.py | 2 +- .../volumetric_models/losses/segmentation_losses.py | 2 +- .../volumetric_models/losses/segmentation_losses_test.py | 2 +- .../volumetric_models/modeling/backbones/__init__.py | 2 +- .../volumetric_models/modeling/backbones/unet_3d.py | 2 +- .../volumetric_models/modeling/backbones/unet_3d_test.py | 2 +- .../volumetric_models/modeling/decoders/__init__.py | 2 +- .../volumetric_models/modeling/decoders/factory.py | 2 +- .../volumetric_models/modeling/decoders/factory_test.py | 2 +- .../modeling/decoders/unet_3d_decoder.py | 2 +- .../modeling/decoders/unet_3d_decoder_test.py | 2 +- official/projects/volumetric_models/modeling/factory.py | 2 +- .../projects/volumetric_models/modeling/factory_test.py | 2 +- .../modeling/heads/segmentation_heads_3d.py | 2 +- .../modeling/heads/segmentation_heads_3d_test.py | 2 +- .../projects/volumetric_models/modeling/nn_blocks_3d.py | 2 +- .../volumetric_models/modeling/nn_blocks_3d_test.py | 2 +- .../volumetric_models/modeling/segmentation_model_test.py | 2 +- official/projects/volumetric_models/registry_imports.py | 2 +- .../volumetric_models/serving/export_saved_model.py | 2 +- .../volumetric_models/serving/semantic_segmentation_3d.py | 2 +- .../serving/semantic_segmentation_3d_test.py | 2 +- .../volumetric_models/tasks/semantic_segmentation_3d.py | 2 +- .../tasks/semantic_segmentation_3d_test.py | 2 +- official/projects/volumetric_models/train.py | 2 +- official/projects/volumetric_models/train_test.py | 2 +- official/projects/yt8m/__init__.py | 2 +- official/projects/yt8m/configs/__init__.py | 2 +- official/projects/yt8m/configs/yt8m.py | 2 +- official/projects/yt8m/dataloaders/utils.py | 2 +- official/projects/yt8m/dataloaders/yt8m_input.py | 2 +- .../yt8m/eval_utils/average_precision_calculator.py | 2 +- official/projects/yt8m/eval_utils/eval_util.py | 2 +- .../yt8m/eval_utils/mean_average_precision_calculator.py | 2 +- official/projects/yt8m/modeling/__init__.py | 2 +- official/projects/yt8m/modeling/yt8m_agg_models.py | 2 +- official/projects/yt8m/modeling/yt8m_model.py | 2 +- official/projects/yt8m/modeling/yt8m_model_test.py | 2 +- official/projects/yt8m/modeling/yt8m_model_utils.py | 2 +- official/projects/yt8m/tasks/__init__.py | 2 +- official/projects/yt8m/tasks/yt8m_task.py | 2 +- official/projects/yt8m/train.py | 2 +- official/projects/yt8m/train_test.py | 2 +- official/recommendation/__init__.py | 2 +- official/recommendation/constants.py | 2 +- official/recommendation/create_ncf_data.py | 2 +- official/recommendation/data_pipeline.py | 2 +- official/recommendation/data_preprocessing.py | 2 +- official/recommendation/data_test.py | 2 +- official/recommendation/movielens.py | 2 +- official/recommendation/ncf_common.py | 2 +- official/recommendation/ncf_input_pipeline.py | 2 +- official/recommendation/ncf_keras_main.py | 2 +- official/recommendation/ncf_test.py | 2 +- official/recommendation/neumf_model.py | 2 +- official/recommendation/popen_helper.py | 2 +- official/recommendation/ranking/__init__.py | 2 +- official/recommendation/ranking/common.py | 2 +- official/recommendation/ranking/configs/__init__.py | 2 +- official/recommendation/ranking/configs/config.py | 2 +- official/recommendation/ranking/configs/config_test.py | 2 +- official/recommendation/ranking/data/__init__.py | 2 +- official/recommendation/ranking/data/data_pipeline.py | 2 +- .../recommendation/ranking/data/data_pipeline_test.py | 2 +- .../ranking/preprocessing/criteo_preprocess.py | 2 +- official/recommendation/ranking/preprocessing/setup.py | 2 +- .../ranking/preprocessing/shard_rebalancer.py | 2 +- official/recommendation/ranking/task.py | 2 +- official/recommendation/ranking/task_test.py | 2 +- official/recommendation/ranking/train.py | 2 +- official/recommendation/ranking/train_test.py | 2 +- official/recommendation/stat_utils.py | 2 +- official/utils/__init__.py | 2 +- official/utils/docs/build_api_docs_lib.py | 2 +- official/utils/docs/build_nlp_api_docs.py | 2 +- official/utils/docs/build_vision_api_docs.py | 2 +- official/utils/flags/__init__.py | 2 +- official/utils/flags/_base.py | 2 +- official/utils/flags/_benchmark.py | 2 +- official/utils/flags/_conventions.py | 2 +- official/utils/flags/_device.py | 2 +- official/utils/flags/_distribution.py | 2 +- official/utils/flags/_misc.py | 2 +- official/utils/flags/_performance.py | 2 +- official/utils/flags/core.py | 2 +- official/utils/flags/flags_test.py | 2 +- official/utils/hyperparams_flags.py | 2 +- official/utils/misc/__init__.py | 2 +- official/utils/misc/keras_utils.py | 2 +- official/utils/misc/model_helpers.py | 2 +- official/utils/misc/model_helpers_test.py | 2 +- official/utils/testing/__init__.py | 2 +- official/utils/testing/integration.py | 2 +- official/utils/testing/mock_task.py | 2 +- official/vision/__init__.py | 2 +- official/vision/beta/__init__.py | 2 +- official/vision/beta/configs/__init__.py | 2 +- official/vision/beta/configs/backbones.py | 2 +- official/vision/beta/configs/backbones_3d.py | 2 +- official/vision/beta/configs/common.py | 2 +- official/vision/beta/configs/decoders.py | 2 +- official/vision/beta/configs/image_classification.py | 2 +- official/vision/beta/configs/image_classification_test.py | 2 +- official/vision/beta/configs/maskrcnn.py | 2 +- official/vision/beta/configs/maskrcnn_test.py | 2 +- official/vision/beta/configs/retinanet.py | 2 +- official/vision/beta/configs/retinanet_test.py | 2 +- official/vision/beta/configs/semantic_segmentation.py | 2 +- .../vision/beta/configs/semantic_segmentation_test.py | 2 +- official/vision/beta/configs/video_classification.py | 2 +- official/vision/beta/configs/video_classification_test.py | 2 +- official/vision/beta/data/__init__.py | 2 +- official/vision/beta/data/create_coco_tf_record.py | 2 +- .../vision/beta/data/process_coco_few_shot_json_files.py | 2 +- official/vision/beta/data/tfrecord_lib.py | 2 +- official/vision/beta/data/tfrecord_lib_test.py | 2 +- official/vision/beta/dataloaders/__init__.py | 2 +- official/vision/beta/dataloaders/classification_input.py | 2 +- official/vision/beta/dataloaders/decoder.py | 2 +- official/vision/beta/dataloaders/input_reader.py | 2 +- official/vision/beta/dataloaders/input_reader_factory.py | 2 +- official/vision/beta/dataloaders/maskrcnn_input.py | 2 +- official/vision/beta/dataloaders/parser.py | 2 +- official/vision/beta/dataloaders/retinanet_input.py | 2 +- official/vision/beta/dataloaders/segmentation_input.py | 2 +- official/vision/beta/dataloaders/tf_example_decoder.py | 2 +- .../vision/beta/dataloaders/tf_example_decoder_test.py | 2 +- .../beta/dataloaders/tf_example_label_map_decoder.py | 2 +- .../beta/dataloaders/tf_example_label_map_decoder_test.py | 2 +- .../beta/dataloaders/tfds_classification_decoders.py | 2 +- .../vision/beta/dataloaders/tfds_detection_decoders.py | 2 +- official/vision/beta/dataloaders/tfds_factory.py | 2 +- official/vision/beta/dataloaders/tfds_factory_test.py | 2 +- .../vision/beta/dataloaders/tfds_segmentation_decoders.py | 2 +- official/vision/beta/dataloaders/tfexample_utils.py | 2 +- official/vision/beta/dataloaders/utils.py | 2 +- official/vision/beta/dataloaders/utils_test.py | 2 +- official/vision/beta/dataloaders/video_input.py | 2 +- official/vision/beta/dataloaders/video_input_test.py | 2 +- official/vision/beta/evaluation/__init__.py | 2 +- official/vision/beta/evaluation/coco_evaluator.py | 2 +- official/vision/beta/evaluation/coco_utils.py | 2 +- official/vision/beta/evaluation/coco_utils_test.py | 2 +- official/vision/beta/evaluation/iou.py | 2 +- official/vision/beta/evaluation/iou_test.py | 2 +- official/vision/beta/evaluation/panoptic_quality.py | 2 +- .../vision/beta/evaluation/panoptic_quality_evaluator.py | 2 +- .../beta/evaluation/panoptic_quality_evaluator_test.py | 2 +- official/vision/beta/evaluation/panoptic_quality_test.py | 2 +- official/vision/beta/evaluation/segmentation_metrics.py | 2 +- .../vision/beta/evaluation/segmentation_metrics_test.py | 2 +- .../vision/beta/evaluation/wod_detection_evaluator.py | 2 +- official/vision/beta/losses/__init__.py | 2 +- official/vision/beta/losses/focal_loss.py | 2 +- official/vision/beta/losses/loss_utils.py | 2 +- official/vision/beta/losses/maskrcnn_losses.py | 2 +- official/vision/beta/losses/retinanet_losses.py | 2 +- official/vision/beta/losses/segmentation_losses.py | 2 +- official/vision/beta/modeling/__init__.py | 2 +- official/vision/beta/modeling/backbones/__init__.py | 2 +- official/vision/beta/modeling/backbones/efficientnet.py | 2 +- .../vision/beta/modeling/backbones/efficientnet_test.py | 2 +- official/vision/beta/modeling/backbones/factory.py | 2 +- official/vision/beta/modeling/backbones/factory_test.py | 2 +- official/vision/beta/modeling/backbones/mobiledet.py | 2 +- official/vision/beta/modeling/backbones/mobiledet_test.py | 2 +- official/vision/beta/modeling/backbones/mobilenet.py | 2 +- official/vision/beta/modeling/backbones/mobilenet_test.py | 2 +- official/vision/beta/modeling/backbones/resnet.py | 2 +- official/vision/beta/modeling/backbones/resnet_3d.py | 2 +- official/vision/beta/modeling/backbones/resnet_3d_test.py | 2 +- official/vision/beta/modeling/backbones/resnet_deeplab.py | 2 +- .../vision/beta/modeling/backbones/resnet_deeplab_test.py | 2 +- official/vision/beta/modeling/backbones/resnet_test.py | 2 +- official/vision/beta/modeling/backbones/revnet.py | 2 +- official/vision/beta/modeling/backbones/revnet_test.py | 2 +- official/vision/beta/modeling/backbones/spinenet.py | 2 +- .../vision/beta/modeling/backbones/spinenet_mobile.py | 2 +- .../beta/modeling/backbones/spinenet_mobile_test.py | 2 +- official/vision/beta/modeling/backbones/spinenet_test.py | 2 +- official/vision/beta/modeling/classification_model.py | 2 +- .../vision/beta/modeling/classification_model_test.py | 2 +- official/vision/beta/modeling/decoders/__init__.py | 2 +- official/vision/beta/modeling/decoders/aspp.py | 2 +- official/vision/beta/modeling/decoders/aspp_test.py | 2 +- official/vision/beta/modeling/decoders/factory.py | 2 +- official/vision/beta/modeling/decoders/factory_test.py | 2 +- official/vision/beta/modeling/decoders/fpn.py | 2 +- official/vision/beta/modeling/decoders/fpn_test.py | 2 +- official/vision/beta/modeling/decoders/nasfpn.py | 2 +- official/vision/beta/modeling/decoders/nasfpn_test.py | 2 +- official/vision/beta/modeling/factory.py | 2 +- official/vision/beta/modeling/factory_3d.py | 2 +- official/vision/beta/modeling/factory_test.py | 2 +- official/vision/beta/modeling/heads/__init__.py | 2 +- .../vision/beta/modeling/heads/dense_prediction_heads.py | 2 +- .../beta/modeling/heads/dense_prediction_heads_test.py | 2 +- official/vision/beta/modeling/heads/instance_heads.py | 2 +- .../vision/beta/modeling/heads/instance_heads_test.py | 2 +- official/vision/beta/modeling/heads/segmentation_heads.py | 2 +- .../vision/beta/modeling/heads/segmentation_heads_test.py | 2 +- official/vision/beta/modeling/layers/__init__.py | 2 +- official/vision/beta/modeling/layers/box_sampler.py | 2 +- official/vision/beta/modeling/layers/deeplab.py | 2 +- official/vision/beta/modeling/layers/deeplab_test.py | 2 +- .../vision/beta/modeling/layers/detection_generator.py | 2 +- .../beta/modeling/layers/detection_generator_test.py | 2 +- official/vision/beta/modeling/layers/mask_sampler.py | 2 +- official/vision/beta/modeling/layers/nn_blocks.py | 2 +- official/vision/beta/modeling/layers/nn_blocks_3d.py | 2 +- official/vision/beta/modeling/layers/nn_blocks_3d_test.py | 2 +- official/vision/beta/modeling/layers/nn_blocks_test.py | 2 +- official/vision/beta/modeling/layers/nn_layers.py | 2 +- official/vision/beta/modeling/layers/nn_layers_test.py | 2 +- official/vision/beta/modeling/layers/roi_aligner.py | 2 +- official/vision/beta/modeling/layers/roi_aligner_test.py | 2 +- official/vision/beta/modeling/layers/roi_generator.py | 2 +- official/vision/beta/modeling/layers/roi_sampler.py | 2 +- official/vision/beta/modeling/maskrcnn_model.py | 2 +- official/vision/beta/modeling/maskrcnn_model_test.py | 2 +- official/vision/beta/modeling/retinanet_model.py | 2 +- official/vision/beta/modeling/retinanet_model_test.py | 2 +- official/vision/beta/modeling/segmentation_model.py | 2 +- official/vision/beta/modeling/segmentation_model_test.py | 2 +- .../vision/beta/modeling/video_classification_model.py | 2 +- .../beta/modeling/video_classification_model_test.py | 2 +- official/vision/beta/ops/__init__.py | 2 +- official/vision/beta/ops/anchor.py | 2 +- official/vision/beta/ops/anchor_generator.py | 2 +- official/vision/beta/ops/anchor_generator_test.py | 2 +- official/vision/beta/ops/anchor_test.py | 2 +- official/vision/beta/ops/augment.py | 2 +- official/vision/beta/ops/augment_test.py | 2 +- official/vision/beta/ops/box_matcher.py | 2 +- official/vision/beta/ops/box_matcher_test.py | 2 +- official/vision/beta/ops/box_ops.py | 2 +- official/vision/beta/ops/iou_similarity.py | 2 +- official/vision/beta/ops/iou_similarity_test.py | 2 +- official/vision/beta/ops/mask_ops.py | 2 +- official/vision/beta/ops/mask_ops_test.py | 2 +- official/vision/beta/ops/nms.py | 2 +- official/vision/beta/ops/preprocess_ops.py | 2 +- official/vision/beta/ops/preprocess_ops_3d.py | 2 +- official/vision/beta/ops/preprocess_ops_3d_test.py | 2 +- official/vision/beta/ops/preprocess_ops_test.py | 2 +- official/vision/beta/ops/sampling_ops.py | 2 +- official/vision/beta/ops/spatial_transform_ops.py | 2 +- official/vision/beta/ops/target_gather.py | 2 +- official/vision/beta/ops/target_gather_test.py | 2 +- official/vision/beta/projects/__init__.py | 2 +- .../beta/projects/centernet/common/registry_imports.py | 2 +- .../vision/beta/projects/centernet/configs/__init__.py | 2 +- .../vision/beta/projects/centernet/configs/backbones.py | 2 +- .../vision/beta/projects/centernet/configs/centernet.py | 2 +- .../beta/projects/centernet/configs/centernet_test.py | 2 +- .../projects/centernet/dataloaders/centernet_input.py | 2 +- .../beta/projects/centernet/losses/centernet_losses.py | 2 +- .../projects/centernet/losses/centernet_losses_test.py | 2 +- .../projects/centernet/modeling/backbones/hourglass.py | 2 +- .../centernet/modeling/backbones/hourglass_test.py | 2 +- .../beta/projects/centernet/modeling/centernet_model.py | 2 +- .../projects/centernet/modeling/centernet_model_test.py | 2 +- .../projects/centernet/modeling/heads/centernet_head.py | 2 +- .../centernet/modeling/heads/centernet_head_test.py | 2 +- .../projects/centernet/modeling/layers/cn_nn_blocks.py | 2 +- .../centernet/modeling/layers/cn_nn_blocks_test.py | 2 +- .../centernet/modeling/layers/detection_generator.py | 2 +- official/vision/beta/projects/centernet/ops/__init__.py | 2 +- official/vision/beta/projects/centernet/ops/box_list.py | 2 +- .../vision/beta/projects/centernet/ops/box_list_ops.py | 2 +- official/vision/beta/projects/centernet/ops/loss_ops.py | 2 +- official/vision/beta/projects/centernet/ops/nms_ops.py | 2 +- .../vision/beta/projects/centernet/ops/preprocess_ops.py | 2 +- .../vision/beta/projects/centernet/ops/target_assigner.py | 2 +- .../beta/projects/centernet/ops/target_assigner_test.py | 2 +- .../vision/beta/projects/centernet/tasks/centernet.py | 2 +- official/vision/beta/projects/centernet/train.py | 2 +- .../beta/projects/centernet/utils/checkpoints/__init__.py | 2 +- .../centernet/utils/checkpoints/config_classes.py | 2 +- .../projects/centernet/utils/checkpoints/config_data.py | 2 +- .../projects/centernet/utils/checkpoints/load_weights.py | 2 +- .../centernet/utils/checkpoints/read_checkpoints.py | 2 +- .../centernet/utils/tf2_centernet_checkpoint_converter.py | 2 +- .../vision/beta/projects/deepmac_maskrcnn/__init__.py | 2 +- .../beta/projects/deepmac_maskrcnn/common/__init__.py | 2 +- .../projects/deepmac_maskrcnn/common/registry_imports.py | 2 +- .../beta/projects/deepmac_maskrcnn/configs/__init__.py | 2 +- .../deepmac_maskrcnn/configs/deep_mask_head_rcnn.py | 2 +- .../configs/deep_mask_head_rcnn_config_test.py | 2 +- .../beta/projects/deepmac_maskrcnn/modeling/__init__.py | 2 +- .../projects/deepmac_maskrcnn/modeling/heads/__init__.py | 2 +- .../deepmac_maskrcnn/modeling/heads/hourglass_network.py | 2 +- .../deepmac_maskrcnn/modeling/heads/instance_heads.py | 2 +- .../modeling/heads/instance_heads_test.py | 2 +- .../projects/deepmac_maskrcnn/modeling/maskrcnn_model.py | 2 +- .../deepmac_maskrcnn/modeling/maskrcnn_model_test.py | 2 +- .../beta/projects/deepmac_maskrcnn/serving/__init__.py | 2 +- .../beta/projects/deepmac_maskrcnn/serving/detection.py | 2 +- .../projects/deepmac_maskrcnn/serving/detection_test.py | 2 +- .../deepmac_maskrcnn/serving/export_saved_model.py | 2 +- .../beta/projects/deepmac_maskrcnn/tasks/__init__.py | 2 +- .../deepmac_maskrcnn/tasks/deep_mask_head_rcnn.py | 2 +- official/vision/beta/projects/deepmac_maskrcnn/train.py | 2 +- official/vision/beta/projects/example/example_config.py | 2 +- official/vision/beta/projects/example/example_input.py | 2 +- official/vision/beta/projects/example/example_model.py | 2 +- official/vision/beta/projects/example/example_task.py | 2 +- official/vision/beta/projects/example/registry_imports.py | 2 +- official/vision/beta/projects/example/train.py | 2 +- .../vision/beta/projects/panoptic_maskrcnn/__init__.py | 2 +- .../beta/projects/panoptic_maskrcnn/configs/__init__.py | 2 +- .../panoptic_maskrcnn/configs/panoptic_maskrcnn.py | 2 +- .../panoptic_maskrcnn/configs/panoptic_maskrcnn_test.py | 2 +- .../dataloaders/panoptic_maskrcnn_input.py | 2 +- .../beta/projects/panoptic_maskrcnn/modeling/factory.py | 2 +- .../projects/panoptic_maskrcnn/modeling/factory_test.py | 2 +- .../modeling/layers/panoptic_segmentation_generator.py | 2 +- .../layers/panoptic_segmentation_generator_test.py | 2 +- .../panoptic_maskrcnn/modeling/layers/paste_masks.py | 2 +- .../panoptic_maskrcnn/modeling/panoptic_maskrcnn_model.py | 2 +- .../modeling/panoptic_maskrcnn_model_test.py | 2 +- .../panoptic_maskrcnn/serving/export_saved_model.py | 2 +- .../panoptic_maskrcnn/serving/panoptic_segmentation.py | 2 +- .../serving/panoptic_segmentation_test.py | 2 +- .../beta/projects/panoptic_maskrcnn/tasks/__init__.py | 2 +- .../projects/panoptic_maskrcnn/tasks/panoptic_maskrcnn.py | 2 +- .../panoptic_maskrcnn/tasks/panoptic_maskrcnn_test.py | 2 +- official/vision/beta/projects/panoptic_maskrcnn/train.py | 2 +- .../beta/projects/simclr/common/registry_imports.py | 2 +- .../beta/projects/simclr/configs/multitask_config.py | 2 +- .../beta/projects/simclr/configs/multitask_config_test.py | 2 +- official/vision/beta/projects/simclr/configs/simclr.py | 2 +- .../vision/beta/projects/simclr/configs/simclr_test.py | 2 +- .../beta/projects/simclr/dataloaders/preprocess_ops.py | 2 +- .../beta/projects/simclr/dataloaders/simclr_input.py | 2 +- official/vision/beta/projects/simclr/heads/simclr_head.py | 2 +- .../vision/beta/projects/simclr/heads/simclr_head_test.py | 2 +- .../beta/projects/simclr/losses/contrastive_losses.py | 2 +- .../projects/simclr/losses/contrastive_losses_test.py | 2 +- .../beta/projects/simclr/modeling/layers/nn_blocks.py | 2 +- .../projects/simclr/modeling/layers/nn_blocks_test.py | 2 +- .../beta/projects/simclr/modeling/multitask_model.py | 2 +- .../beta/projects/simclr/modeling/multitask_model_test.py | 2 +- .../vision/beta/projects/simclr/modeling/simclr_model.py | 2 +- .../beta/projects/simclr/modeling/simclr_model_test.py | 2 +- official/vision/beta/projects/simclr/multitask_train.py | 2 +- official/vision/beta/projects/simclr/tasks/simclr.py | 2 +- official/vision/beta/projects/simclr/train.py | 2 +- .../vision/beta/projects/video_ssl/configs/__init__.py | 2 +- .../vision/beta/projects/video_ssl/configs/video_ssl.py | 2 +- .../beta/projects/video_ssl/configs/video_ssl_test.py | 2 +- .../projects/video_ssl/dataloaders/video_ssl_input.py | 2 +- .../video_ssl/dataloaders/video_ssl_input_test.py | 2 +- official/vision/beta/projects/video_ssl/losses/losses.py | 2 +- .../beta/projects/video_ssl/modeling/video_ssl_model.py | 2 +- .../projects/video_ssl/ops/video_ssl_preprocess_ops.py | 2 +- .../video_ssl/ops/video_ssl_preprocess_ops_test.py | 2 +- official/vision/beta/projects/video_ssl/tasks/__init__.py | 2 +- .../vision/beta/projects/video_ssl/tasks/linear_eval.py | 2 +- official/vision/beta/projects/video_ssl/tasks/pretrain.py | 2 +- .../vision/beta/projects/video_ssl/tasks/pretrain_test.py | 2 +- official/vision/beta/projects/video_ssl/train.py | 2 +- official/vision/beta/projects/vit/configs/__init__.py | 2 +- official/vision/beta/projects/vit/configs/backbones.py | 2 +- .../beta/projects/vit/configs/image_classification.py | 2 +- official/vision/beta/projects/vit/modeling/nn_blocks.py | 2 +- official/vision/beta/projects/vit/modeling/vit.py | 2 +- official/vision/beta/projects/vit/modeling/vit_test.py | 2 +- official/vision/beta/projects/vit/train.py | 2 +- .../vision/beta/projects/yolo/common/registry_imports.py | 2 +- official/vision/beta/projects/yolo/configs/backbones.py | 2 +- .../beta/projects/yolo/configs/darknet_classification.py | 2 +- official/vision/beta/projects/yolo/configs/decoders.py | 2 +- official/vision/beta/projects/yolo/configs/yolo.py | 2 +- .../vision/beta/projects/yolo/dataloaders/__init__.py | 2 +- .../projects/yolo/dataloaders/classification_input.py | 2 +- .../beta/projects/yolo/dataloaders/tf_example_decoder.py | 2 +- .../vision/beta/projects/yolo/dataloaders/yolo_input.py | 2 +- official/vision/beta/projects/yolo/losses/__init__.py | 2 +- official/vision/beta/projects/yolo/losses/yolo_loss.py | 2 +- .../vision/beta/projects/yolo/losses/yolo_loss_test.py | 2 +- .../beta/projects/yolo/modeling/backbones/darknet.py | 2 +- .../beta/projects/yolo/modeling/backbones/darknet_test.py | 2 +- .../beta/projects/yolo/modeling/decoders/__init__.py | 2 +- .../beta/projects/yolo/modeling/decoders/yolo_decoder.py | 2 +- .../projects/yolo/modeling/decoders/yolo_decoder_test.py | 2 +- official/vision/beta/projects/yolo/modeling/factory.py | 2 +- .../vision/beta/projects/yolo/modeling/heads/__init__.py | 2 +- .../vision/beta/projects/yolo/modeling/heads/yolo_head.py | 2 +- .../beta/projects/yolo/modeling/heads/yolo_head_test.py | 2 +- .../projects/yolo/modeling/layers/detection_generator.py | 2 +- .../yolo/modeling/layers/detection_generator_test.py | 2 +- .../beta/projects/yolo/modeling/layers/nn_blocks.py | 2 +- .../beta/projects/yolo/modeling/layers/nn_blocks_test.py | 2 +- official/vision/beta/projects/yolo/modeling/yolo_model.py | 2 +- official/vision/beta/projects/yolo/ops/__init__.py | 2 +- official/vision/beta/projects/yolo/ops/anchor.py | 2 +- official/vision/beta/projects/yolo/ops/box_ops.py | 2 +- official/vision/beta/projects/yolo/ops/box_ops_test.py | 2 +- official/vision/beta/projects/yolo/ops/loss_utils.py | 2 +- official/vision/beta/projects/yolo/ops/math_ops.py | 2 +- official/vision/beta/projects/yolo/ops/mosaic.py | 2 +- .../vision/beta/projects/yolo/ops/preprocessing_ops.py | 2 +- .../beta/projects/yolo/ops/preprocessing_ops_test.py | 2 +- .../vision/beta/projects/yolo/optimization/__init__.py | 2 +- .../beta/projects/yolo/optimization/configs/__init__.py | 2 +- .../yolo/optimization/configs/optimization_config.py | 2 +- .../yolo/optimization/configs/optimizer_config.py | 2 +- .../beta/projects/yolo/optimization/optimizer_factory.py | 2 +- .../vision/beta/projects/yolo/optimization/sgd_torch.py | 2 +- .../beta/projects/yolo/tasks/image_classification.py | 2 +- official/vision/beta/projects/yolo/tasks/task_utils.py | 2 +- official/vision/beta/projects/yolo/tasks/yolo.py | 2 +- official/vision/beta/projects/yolo/train.py | 2 +- official/vision/beta/serving/__init__.py | 2 +- official/vision/beta/serving/detection.py | 2 +- official/vision/beta/serving/detection_test.py | 2 +- official/vision/beta/serving/export_base.py | 2 +- official/vision/beta/serving/export_base_v2.py | 2 +- official/vision/beta/serving/export_base_v2_test.py | 2 +- official/vision/beta/serving/export_module_factory.py | 2 +- .../vision/beta/serving/export_module_factory_test.py | 2 +- official/vision/beta/serving/export_saved_model.py | 2 +- official/vision/beta/serving/export_saved_model_lib.py | 2 +- .../vision/beta/serving/export_saved_model_lib_test.py | 2 +- official/vision/beta/serving/export_saved_model_lib_v2.py | 2 +- official/vision/beta/serving/export_tfhub.py | 2 +- official/vision/beta/serving/export_tflite.py | 2 +- official/vision/beta/serving/export_tflite_lib.py | 2 +- official/vision/beta/serving/export_tflite_lib_test.py | 2 +- official/vision/beta/serving/export_utils.py | 2 +- official/vision/beta/serving/image_classification.py | 2 +- official/vision/beta/serving/image_classification_test.py | 2 +- official/vision/beta/serving/semantic_segmentation.py | 2 +- .../vision/beta/serving/semantic_segmentation_test.py | 2 +- official/vision/beta/serving/video_classification.py | 2 +- official/vision/beta/serving/video_classification_test.py | 2 +- official/vision/beta/tasks/__init__.py | 2 +- official/vision/beta/tasks/image_classification.py | 2 +- official/vision/beta/tasks/maskrcnn.py | 2 +- official/vision/beta/tasks/retinanet.py | 2 +- official/vision/beta/tasks/semantic_segmentation.py | 2 +- official/vision/beta/tasks/video_classification.py | 2 +- official/vision/beta/train.py | 2 +- official/vision/beta/train_spatial_partitioning.py | 2 +- official/vision/detection/__init__.py | 2 +- official/vision/image_classification/__init__.py | 2 +- official/vision/utils/__init__.py | 2 +- official/vision/utils/object_detection/__init__.py | 2 +- official/vision/utils/object_detection/argmax_matcher.py | 2 +- .../balanced_positive_negative_sampler.py | 2 +- official/vision/utils/object_detection/box_coder.py | 2 +- official/vision/utils/object_detection/box_list.py | 2 +- official/vision/utils/object_detection/box_list_ops.py | 2 +- .../utils/object_detection/faster_rcnn_box_coder.py | 2 +- official/vision/utils/object_detection/matcher.py | 2 +- .../vision/utils/object_detection/minibatch_sampler.py | 2 +- official/vision/utils/object_detection/ops.py | 2 +- official/vision/utils/object_detection/preprocessor.py | 2 +- .../object_detection/region_similarity_calculator.py | 2 +- official/vision/utils/object_detection/shape_utils.py | 2 +- official/vision/utils/object_detection/target_assigner.py | 2 +- .../vision/utils/object_detection/visualization_utils.py | 2 +- orbit/__init__.py | 2 +- orbit/actions/__init__.py | 2 +- orbit/actions/conditional_action.py | 2 +- orbit/actions/conditional_action_test.py | 2 +- orbit/actions/export_saved_model.py | 2 +- orbit/actions/export_saved_model_test.py | 2 +- orbit/actions/new_best_metric.py | 2 +- orbit/actions/new_best_metric_test.py | 2 +- orbit/controller.py | 2 +- orbit/controller_test.py | 2 +- orbit/examples/__init__.py | 2 +- orbit/examples/single_task/__init__.py | 2 +- orbit/examples/single_task/single_task_evaluator.py | 2 +- orbit/examples/single_task/single_task_evaluator_test.py | 2 +- orbit/examples/single_task/single_task_trainer.py | 2 +- orbit/examples/single_task/single_task_trainer_test.py | 2 +- orbit/runner.py | 2 +- orbit/standard_runner.py | 2 +- orbit/standard_runner_test.py | 2 +- orbit/utils/__init__.py | 2 +- orbit/utils/common.py | 2 +- orbit/utils/common_test.py | 2 +- orbit/utils/epoch_helper.py | 2 +- orbit/utils/loop_fns.py | 2 +- orbit/utils/summary_manager.py | 2 +- orbit/utils/tpu_summaries.py | 2 +- orbit/utils/tpu_summaries_test.py | 2 +- tensorflow_models/__init__.py | 2 +- tensorflow_models/nlp/__init__.py | 2 +- tensorflow_models/tensorflow_models_test.py | 2 +- tensorflow_models/vision/__init__.py | 2 +- 1096 files changed, 1099 insertions(+), 1099 deletions(-) diff --git a/official/__init__.py b/official/__init__.py index e419af524..310bfb28f 100644 --- a/official/__init__.py +++ b/official/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/common/__init__.py b/official/common/__init__.py index a25710c22..ba97902e7 100644 --- a/official/common/__init__.py +++ b/official/common/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/common/dataset_fn.py b/official/common/dataset_fn.py index 4ac16a31b..e27f2d9a6 100644 --- a/official/common/dataset_fn.py +++ b/official/common/dataset_fn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/common/distribute_utils.py b/official/common/distribute_utils.py index c48d68d6d..480bbf8c7 100644 --- a/official/common/distribute_utils.py +++ b/official/common/distribute_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/common/distribute_utils_test.py b/official/common/distribute_utils_test.py index 8e49d3666..f06ee3ba6 100644 --- a/official/common/distribute_utils_test.py +++ b/official/common/distribute_utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/common/flags.py b/official/common/flags.py index 01ddf57af..245769d8f 100644 --- a/official/common/flags.py +++ b/official/common/flags.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/common/registry_imports.py b/official/common/registry_imports.py index 06f3384db..c1aede6db 100644 --- a/official/common/registry_imports.py +++ b/official/common/registry_imports.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/common/streamz_counters.py b/official/common/streamz_counters.py index ab3df36ce..5def620ec 100644 --- a/official/common/streamz_counters.py +++ b/official/common/streamz_counters.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/__init__.py b/official/core/__init__.py index e419af524..310bfb28f 100644 --- a/official/core/__init__.py +++ b/official/core/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/actions.py b/official/core/actions.py index 20453a829..c2f6329ee 100644 --- a/official/core/actions.py +++ b/official/core/actions.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/actions_test.py b/official/core/actions_test.py index 017fa606d..a42360b66 100644 --- a/official/core/actions_test.py +++ b/official/core/actions_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/base_task.py b/official/core/base_task.py index db29395d6..f49032d80 100644 --- a/official/core/base_task.py +++ b/official/core/base_task.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/base_trainer.py b/official/core/base_trainer.py index a45ea9b99..25a18b9ac 100644 --- a/official/core/base_trainer.py +++ b/official/core/base_trainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/base_trainer_test.py b/official/core/base_trainer_test.py index e50a5bcb7..562a8d554 100644 --- a/official/core/base_trainer_test.py +++ b/official/core/base_trainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/config_definitions.py b/official/core/config_definitions.py index 3bca789b5..7d05be96f 100644 --- a/official/core/config_definitions.py +++ b/official/core/config_definitions.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/exp_factory.py b/official/core/exp_factory.py index b10d49acb..fef744498 100644 --- a/official/core/exp_factory.py +++ b/official/core/exp_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/export_base.py b/official/core/export_base.py index a300a120d..7669f2e5c 100644 --- a/official/core/export_base.py +++ b/official/core/export_base.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/export_base_test.py b/official/core/export_base_test.py index c76dfa326..e08a4a420 100644 --- a/official/core/export_base_test.py +++ b/official/core/export_base_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/input_reader.py b/official/core/input_reader.py index 736172b6a..58dd56658 100644 --- a/official/core/input_reader.py +++ b/official/core/input_reader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/registry.py b/official/core/registry.py index f349710b5..0c3a9122a 100644 --- a/official/core/registry.py +++ b/official/core/registry.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/registry_test.py b/official/core/registry_test.py index 0d0639c6b..559b918e1 100644 --- a/official/core/registry_test.py +++ b/official/core/registry_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/task_factory.py b/official/core/task_factory.py index f5862462e..4dee1fe2e 100644 --- a/official/core/task_factory.py +++ b/official/core/task_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/test_utils.py b/official/core/test_utils.py index 015373699..7edeff7c6 100644 --- a/official/core/test_utils.py +++ b/official/core/test_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/train_lib.py b/official/core/train_lib.py index 5f548ea72..1c9dbcfbd 100644 --- a/official/core/train_lib.py +++ b/official/core/train_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/train_lib_test.py b/official/core/train_lib_test.py index 9c27054d5..61a4ccee1 100644 --- a/official/core/train_lib_test.py +++ b/official/core/train_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/train_utils.py b/official/core/train_utils.py index 7672661b5..4df411d4e 100644 --- a/official/core/train_utils.py +++ b/official/core/train_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/core/train_utils_test.py b/official/core/train_utils_test.py index 42344853d..dbc49d2b7 100644 --- a/official/core/train_utils_test.py +++ b/official/core/train_utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/__init__.py b/official/legacy/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/__init__.py +++ b/official/legacy/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/albert/__init__.py b/official/legacy/albert/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/albert/__init__.py +++ b/official/legacy/albert/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/albert/configs.py b/official/legacy/albert/configs.py index 6fd6fdff7..aab5654a0 100644 --- a/official/legacy/albert/configs.py +++ b/official/legacy/albert/configs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/__init__.py b/official/legacy/detection/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/detection/__init__.py +++ b/official/legacy/detection/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/configs/__init__.py b/official/legacy/detection/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/detection/configs/__init__.py +++ b/official/legacy/detection/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/configs/base_config.py b/official/legacy/detection/configs/base_config.py index 32b8bcc1b..e274d91ad 100644 --- a/official/legacy/detection/configs/base_config.py +++ b/official/legacy/detection/configs/base_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/configs/factory.py b/official/legacy/detection/configs/factory.py index 3de8fcd2b..d14f4b4e7 100644 --- a/official/legacy/detection/configs/factory.py +++ b/official/legacy/detection/configs/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/configs/maskrcnn_config.py b/official/legacy/detection/configs/maskrcnn_config.py index 71af35021..275cbf5e6 100644 --- a/official/legacy/detection/configs/maskrcnn_config.py +++ b/official/legacy/detection/configs/maskrcnn_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/configs/olnmask_config.py b/official/legacy/detection/configs/olnmask_config.py index a12ce5a7f..74e786c1f 100644 --- a/official/legacy/detection/configs/olnmask_config.py +++ b/official/legacy/detection/configs/olnmask_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/configs/retinanet_config.py b/official/legacy/detection/configs/retinanet_config.py index 73c288a64..d3bd1ef19 100644 --- a/official/legacy/detection/configs/retinanet_config.py +++ b/official/legacy/detection/configs/retinanet_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/configs/shapemask_config.py b/official/legacy/detection/configs/shapemask_config.py index 30bc9ae92..321a364f6 100644 --- a/official/legacy/detection/configs/shapemask_config.py +++ b/official/legacy/detection/configs/shapemask_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/__init__.py b/official/legacy/detection/dataloader/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/detection/dataloader/__init__.py +++ b/official/legacy/detection/dataloader/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/anchor.py b/official/legacy/detection/dataloader/anchor.py index 4853cb1b7..8282ded8a 100644 --- a/official/legacy/detection/dataloader/anchor.py +++ b/official/legacy/detection/dataloader/anchor.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/factory.py b/official/legacy/detection/dataloader/factory.py index 4623fd1ed..3bc8985eb 100644 --- a/official/legacy/detection/dataloader/factory.py +++ b/official/legacy/detection/dataloader/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/input_reader.py b/official/legacy/detection/dataloader/input_reader.py index 601db93d8..4ffa729ed 100644 --- a/official/legacy/detection/dataloader/input_reader.py +++ b/official/legacy/detection/dataloader/input_reader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/maskrcnn_parser.py b/official/legacy/detection/dataloader/maskrcnn_parser.py index c7c156d43..f69fa3260 100644 --- a/official/legacy/detection/dataloader/maskrcnn_parser.py +++ b/official/legacy/detection/dataloader/maskrcnn_parser.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/mode_keys.py b/official/legacy/detection/dataloader/mode_keys.py index d6fdd9008..93eb7d3ad 100644 --- a/official/legacy/detection/dataloader/mode_keys.py +++ b/official/legacy/detection/dataloader/mode_keys.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/olnmask_parser.py b/official/legacy/detection/dataloader/olnmask_parser.py index 674909531..b569d66be 100644 --- a/official/legacy/detection/dataloader/olnmask_parser.py +++ b/official/legacy/detection/dataloader/olnmask_parser.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/retinanet_parser.py b/official/legacy/detection/dataloader/retinanet_parser.py index 5de59ca2c..55058af79 100644 --- a/official/legacy/detection/dataloader/retinanet_parser.py +++ b/official/legacy/detection/dataloader/retinanet_parser.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/shapemask_parser.py b/official/legacy/detection/dataloader/shapemask_parser.py index f8a99d018..5feeb21d4 100644 --- a/official/legacy/detection/dataloader/shapemask_parser.py +++ b/official/legacy/detection/dataloader/shapemask_parser.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/dataloader/tf_example_decoder.py b/official/legacy/detection/dataloader/tf_example_decoder.py index e6472a36b..9e65509ce 100644 --- a/official/legacy/detection/dataloader/tf_example_decoder.py +++ b/official/legacy/detection/dataloader/tf_example_decoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/evaluation/__init__.py b/official/legacy/detection/evaluation/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/detection/evaluation/__init__.py +++ b/official/legacy/detection/evaluation/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/evaluation/coco_evaluator.py b/official/legacy/detection/evaluation/coco_evaluator.py index 4469af50c..222763b5e 100644 --- a/official/legacy/detection/evaluation/coco_evaluator.py +++ b/official/legacy/detection/evaluation/coco_evaluator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/evaluation/coco_utils.py b/official/legacy/detection/evaluation/coco_utils.py index 03e90c055..6c3692d01 100644 --- a/official/legacy/detection/evaluation/coco_utils.py +++ b/official/legacy/detection/evaluation/coco_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/evaluation/factory.py b/official/legacy/detection/evaluation/factory.py index 93f18f1e4..b47de01f9 100644 --- a/official/legacy/detection/evaluation/factory.py +++ b/official/legacy/detection/evaluation/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/executor/__init__.py b/official/legacy/detection/executor/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/detection/executor/__init__.py +++ b/official/legacy/detection/executor/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/executor/detection_executor.py b/official/legacy/detection/executor/detection_executor.py index 19dae201f..396de52cd 100644 --- a/official/legacy/detection/executor/detection_executor.py +++ b/official/legacy/detection/executor/detection_executor.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/executor/distributed_executor.py b/official/legacy/detection/executor/distributed_executor.py index 407948810..ad6f5a227 100644 --- a/official/legacy/detection/executor/distributed_executor.py +++ b/official/legacy/detection/executor/distributed_executor.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/main.py b/official/legacy/detection/main.py index 224f5440a..9071e7c99 100644 --- a/official/legacy/detection/main.py +++ b/official/legacy/detection/main.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/__init__.py b/official/legacy/detection/modeling/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/detection/modeling/__init__.py +++ b/official/legacy/detection/modeling/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/architecture/__init__.py b/official/legacy/detection/modeling/architecture/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/detection/modeling/architecture/__init__.py +++ b/official/legacy/detection/modeling/architecture/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/architecture/factory.py b/official/legacy/detection/modeling/architecture/factory.py index 94d48c694..4b755200e 100644 --- a/official/legacy/detection/modeling/architecture/factory.py +++ b/official/legacy/detection/modeling/architecture/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/architecture/fpn.py b/official/legacy/detection/modeling/architecture/fpn.py index 725e78ea7..6b9edf6df 100644 --- a/official/legacy/detection/modeling/architecture/fpn.py +++ b/official/legacy/detection/modeling/architecture/fpn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/architecture/heads.py b/official/legacy/detection/modeling/architecture/heads.py index d30c7ea8c..430cb01d7 100644 --- a/official/legacy/detection/modeling/architecture/heads.py +++ b/official/legacy/detection/modeling/architecture/heads.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/architecture/identity.py b/official/legacy/detection/modeling/architecture/identity.py index 778297f89..7d3280dbd 100644 --- a/official/legacy/detection/modeling/architecture/identity.py +++ b/official/legacy/detection/modeling/architecture/identity.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/architecture/nn_blocks.py b/official/legacy/detection/modeling/architecture/nn_blocks.py index 69a0d2826..ab61d3239 100644 --- a/official/legacy/detection/modeling/architecture/nn_blocks.py +++ b/official/legacy/detection/modeling/architecture/nn_blocks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/architecture/nn_ops.py b/official/legacy/detection/modeling/architecture/nn_ops.py index e4c389c67..70f47c9af 100644 --- a/official/legacy/detection/modeling/architecture/nn_ops.py +++ b/official/legacy/detection/modeling/architecture/nn_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/architecture/resnet.py b/official/legacy/detection/modeling/architecture/resnet.py index 370e86b50..0a8182bfe 100644 --- a/official/legacy/detection/modeling/architecture/resnet.py +++ b/official/legacy/detection/modeling/architecture/resnet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/architecture/spinenet.py b/official/legacy/detection/modeling/architecture/spinenet.py index 7975a0aeb..95072843f 100644 --- a/official/legacy/detection/modeling/architecture/spinenet.py +++ b/official/legacy/detection/modeling/architecture/spinenet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/base_model.py b/official/legacy/detection/modeling/base_model.py index e7f0c5485..aa84f4682 100644 --- a/official/legacy/detection/modeling/base_model.py +++ b/official/legacy/detection/modeling/base_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/checkpoint_utils.py b/official/legacy/detection/modeling/checkpoint_utils.py index 237cdf8f2..1765a059c 100644 --- a/official/legacy/detection/modeling/checkpoint_utils.py +++ b/official/legacy/detection/modeling/checkpoint_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/factory.py b/official/legacy/detection/modeling/factory.py index 028bdde4b..3d852b8d0 100644 --- a/official/legacy/detection/modeling/factory.py +++ b/official/legacy/detection/modeling/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/learning_rates.py b/official/legacy/detection/modeling/learning_rates.py index 85a06f5a0..f79db5882 100644 --- a/official/legacy/detection/modeling/learning_rates.py +++ b/official/legacy/detection/modeling/learning_rates.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/losses.py b/official/legacy/detection/modeling/losses.py index 02e2632ae..f34239933 100644 --- a/official/legacy/detection/modeling/losses.py +++ b/official/legacy/detection/modeling/losses.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/maskrcnn_model.py b/official/legacy/detection/modeling/maskrcnn_model.py index a381bd0ce..576457b61 100644 --- a/official/legacy/detection/modeling/maskrcnn_model.py +++ b/official/legacy/detection/modeling/maskrcnn_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/olnmask_model.py b/official/legacy/detection/modeling/olnmask_model.py index 8e8b080da..255ff86e4 100644 --- a/official/legacy/detection/modeling/olnmask_model.py +++ b/official/legacy/detection/modeling/olnmask_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/optimizers.py b/official/legacy/detection/modeling/optimizers.py index ce4344955..d8ff456aa 100644 --- a/official/legacy/detection/modeling/optimizers.py +++ b/official/legacy/detection/modeling/optimizers.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/retinanet_model.py b/official/legacy/detection/modeling/retinanet_model.py index 7433179f7..7e87717cc 100644 --- a/official/legacy/detection/modeling/retinanet_model.py +++ b/official/legacy/detection/modeling/retinanet_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/modeling/shapemask_model.py b/official/legacy/detection/modeling/shapemask_model.py index b8b7f3742..6d01e122b 100644 --- a/official/legacy/detection/modeling/shapemask_model.py +++ b/official/legacy/detection/modeling/shapemask_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/ops/__init__.py b/official/legacy/detection/ops/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/detection/ops/__init__.py +++ b/official/legacy/detection/ops/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/ops/nms.py b/official/legacy/detection/ops/nms.py index 0beb7e385..24fdcef87 100644 --- a/official/legacy/detection/ops/nms.py +++ b/official/legacy/detection/ops/nms.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/ops/postprocess_ops.py b/official/legacy/detection/ops/postprocess_ops.py index bd11fe964..8b4a8b6d9 100644 --- a/official/legacy/detection/ops/postprocess_ops.py +++ b/official/legacy/detection/ops/postprocess_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/ops/roi_ops.py b/official/legacy/detection/ops/roi_ops.py index 6abdeadc6..7aeb1a91b 100644 --- a/official/legacy/detection/ops/roi_ops.py +++ b/official/legacy/detection/ops/roi_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/ops/spatial_transform_ops.py b/official/legacy/detection/ops/spatial_transform_ops.py index 4b7d7ecde..db9cf98fb 100644 --- a/official/legacy/detection/ops/spatial_transform_ops.py +++ b/official/legacy/detection/ops/spatial_transform_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/ops/target_ops.py b/official/legacy/detection/ops/target_ops.py index db1ea313a..7b8e208b9 100644 --- a/official/legacy/detection/ops/target_ops.py +++ b/official/legacy/detection/ops/target_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/utils/__init__.py b/official/legacy/detection/utils/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/detection/utils/__init__.py +++ b/official/legacy/detection/utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/utils/box_utils.py b/official/legacy/detection/utils/box_utils.py index bc95fa8e3..f52b4d52c 100644 --- a/official/legacy/detection/utils/box_utils.py +++ b/official/legacy/detection/utils/box_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/utils/class_utils.py b/official/legacy/detection/utils/class_utils.py index cbf806f11..fe5525c69 100644 --- a/official/legacy/detection/utils/class_utils.py +++ b/official/legacy/detection/utils/class_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/utils/dataloader_utils.py b/official/legacy/detection/utils/dataloader_utils.py index 8cdbc54a0..a3a34eb65 100644 --- a/official/legacy/detection/utils/dataloader_utils.py +++ b/official/legacy/detection/utils/dataloader_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/utils/input_utils.py b/official/legacy/detection/utils/input_utils.py index e194d3ca7..12b7c0be1 100644 --- a/official/legacy/detection/utils/input_utils.py +++ b/official/legacy/detection/utils/input_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/detection/utils/mask_utils.py b/official/legacy/detection/utils/mask_utils.py index 926c829b8..deb86a516 100644 --- a/official/legacy/detection/utils/mask_utils.py +++ b/official/legacy/detection/utils/mask_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/__init__.py b/official/legacy/image_classification/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/image_classification/__init__.py +++ b/official/legacy/image_classification/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/augment.py b/official/legacy/image_classification/augment.py index f322d31da..add7ed631 100644 --- a/official/legacy/image_classification/augment.py +++ b/official/legacy/image_classification/augment.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/augment_test.py b/official/legacy/image_classification/augment_test.py index e5498a9c4..139e10195 100644 --- a/official/legacy/image_classification/augment_test.py +++ b/official/legacy/image_classification/augment_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/callbacks.py b/official/legacy/image_classification/callbacks.py index a4934ed88..a8c7d1bc4 100644 --- a/official/legacy/image_classification/callbacks.py +++ b/official/legacy/image_classification/callbacks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/classifier_trainer.py b/official/legacy/image_classification/classifier_trainer.py index 545db6155..3d916c86c 100644 --- a/official/legacy/image_classification/classifier_trainer.py +++ b/official/legacy/image_classification/classifier_trainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/classifier_trainer_test.py b/official/legacy/image_classification/classifier_trainer_test.py index e7ae9be57..9f09defe5 100644 --- a/official/legacy/image_classification/classifier_trainer_test.py +++ b/official/legacy/image_classification/classifier_trainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/classifier_trainer_util_test.py b/official/legacy/image_classification/classifier_trainer_util_test.py index 634548159..66d352254 100644 --- a/official/legacy/image_classification/classifier_trainer_util_test.py +++ b/official/legacy/image_classification/classifier_trainer_util_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/configs/__init__.py b/official/legacy/image_classification/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/image_classification/configs/__init__.py +++ b/official/legacy/image_classification/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/configs/base_configs.py b/official/legacy/image_classification/configs/base_configs.py index 22c9e0b3f..e8f8803df 100644 --- a/official/legacy/image_classification/configs/base_configs.py +++ b/official/legacy/image_classification/configs/base_configs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/configs/configs.py b/official/legacy/image_classification/configs/configs.py index 6f1651bd1..5722671f4 100644 --- a/official/legacy/image_classification/configs/configs.py +++ b/official/legacy/image_classification/configs/configs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/dataset_factory.py b/official/legacy/image_classification/dataset_factory.py index 28012996c..1bbce867b 100644 --- a/official/legacy/image_classification/dataset_factory.py +++ b/official/legacy/image_classification/dataset_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/efficientnet/__init__.py b/official/legacy/image_classification/efficientnet/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/image_classification/efficientnet/__init__.py +++ b/official/legacy/image_classification/efficientnet/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/efficientnet/common_modules.py b/official/legacy/image_classification/efficientnet/common_modules.py index 0a61aa9fb..28be69620 100644 --- a/official/legacy/image_classification/efficientnet/common_modules.py +++ b/official/legacy/image_classification/efficientnet/common_modules.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/efficientnet/efficientnet_config.py b/official/legacy/image_classification/efficientnet/efficientnet_config.py index b031e2aa2..0a77ea174 100644 --- a/official/legacy/image_classification/efficientnet/efficientnet_config.py +++ b/official/legacy/image_classification/efficientnet/efficientnet_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/efficientnet/efficientnet_model.py b/official/legacy/image_classification/efficientnet/efficientnet_model.py index aa8948207..b92885365 100644 --- a/official/legacy/image_classification/efficientnet/efficientnet_model.py +++ b/official/legacy/image_classification/efficientnet/efficientnet_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/efficientnet/tfhub_export.py b/official/legacy/image_classification/efficientnet/tfhub_export.py index 6afd6daf7..b82e587fd 100644 --- a/official/legacy/image_classification/efficientnet/tfhub_export.py +++ b/official/legacy/image_classification/efficientnet/tfhub_export.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/learning_rate.py b/official/legacy/image_classification/learning_rate.py index 72f7e9518..c58d94b87 100644 --- a/official/legacy/image_classification/learning_rate.py +++ b/official/legacy/image_classification/learning_rate.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/learning_rate_test.py b/official/legacy/image_classification/learning_rate_test.py index c3d757081..77dc65c57 100644 --- a/official/legacy/image_classification/learning_rate_test.py +++ b/official/legacy/image_classification/learning_rate_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/mnist_main.py b/official/legacy/image_classification/mnist_main.py index 9462c6ae1..cf6063144 100644 --- a/official/legacy/image_classification/mnist_main.py +++ b/official/legacy/image_classification/mnist_main.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/mnist_test.py b/official/legacy/image_classification/mnist_test.py index f79773a4c..384a6a9ab 100644 --- a/official/legacy/image_classification/mnist_test.py +++ b/official/legacy/image_classification/mnist_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/optimizer_factory.py b/official/legacy/image_classification/optimizer_factory.py index dfddb7952..42be84583 100644 --- a/official/legacy/image_classification/optimizer_factory.py +++ b/official/legacy/image_classification/optimizer_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/optimizer_factory_test.py b/official/legacy/image_classification/optimizer_factory_test.py index 059d1a267..e09745057 100644 --- a/official/legacy/image_classification/optimizer_factory_test.py +++ b/official/legacy/image_classification/optimizer_factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/preprocessing.py b/official/legacy/image_classification/preprocessing.py index 346c8fc8b..78b58243a 100644 --- a/official/legacy/image_classification/preprocessing.py +++ b/official/legacy/image_classification/preprocessing.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/resnet/__init__.py b/official/legacy/image_classification/resnet/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/image_classification/resnet/__init__.py +++ b/official/legacy/image_classification/resnet/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/resnet/common.py b/official/legacy/image_classification/resnet/common.py index 4d57fe8ca..59786136e 100644 --- a/official/legacy/image_classification/resnet/common.py +++ b/official/legacy/image_classification/resnet/common.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/resnet/imagenet_preprocessing.py b/official/legacy/image_classification/resnet/imagenet_preprocessing.py index 86ba3ed98..d60107035 100644 --- a/official/legacy/image_classification/resnet/imagenet_preprocessing.py +++ b/official/legacy/image_classification/resnet/imagenet_preprocessing.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/resnet/resnet_config.py b/official/legacy/image_classification/resnet/resnet_config.py index f06cfed82..3c1d5a033 100644 --- a/official/legacy/image_classification/resnet/resnet_config.py +++ b/official/legacy/image_classification/resnet/resnet_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/resnet/resnet_ctl_imagenet_main.py b/official/legacy/image_classification/resnet/resnet_ctl_imagenet_main.py index 910879b44..328d2890a 100644 --- a/official/legacy/image_classification/resnet/resnet_ctl_imagenet_main.py +++ b/official/legacy/image_classification/resnet/resnet_ctl_imagenet_main.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/resnet/resnet_model.py b/official/legacy/image_classification/resnet/resnet_model.py index bd5ec8eb7..545d06ecc 100644 --- a/official/legacy/image_classification/resnet/resnet_model.py +++ b/official/legacy/image_classification/resnet/resnet_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/resnet/resnet_runnable.py b/official/legacy/image_classification/resnet/resnet_runnable.py index 209117a1a..c8f9ade93 100644 --- a/official/legacy/image_classification/resnet/resnet_runnable.py +++ b/official/legacy/image_classification/resnet/resnet_runnable.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/resnet/tfhub_export.py b/official/legacy/image_classification/resnet/tfhub_export.py index a18360c9e..1d7d743dd 100644 --- a/official/legacy/image_classification/resnet/tfhub_export.py +++ b/official/legacy/image_classification/resnet/tfhub_export.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/test_utils.py b/official/legacy/image_classification/test_utils.py index 8d7180c9d..871ac7e30 100644 --- a/official/legacy/image_classification/test_utils.py +++ b/official/legacy/image_classification/test_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/vgg/__init__.py b/official/legacy/image_classification/vgg/__init__.py index a25710c22..ba97902e7 100644 --- a/official/legacy/image_classification/vgg/__init__.py +++ b/official/legacy/image_classification/vgg/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/vgg/vgg_config.py b/official/legacy/image_classification/vgg/vgg_config.py index a7ffa984a..5f9a391f4 100644 --- a/official/legacy/image_classification/vgg/vgg_config.py +++ b/official/legacy/image_classification/vgg/vgg_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/image_classification/vgg/vgg_model.py b/official/legacy/image_classification/vgg/vgg_model.py index e6d6a3ffd..b93e22555 100644 --- a/official/legacy/image_classification/vgg/vgg_model.py +++ b/official/legacy/image_classification/vgg/vgg_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/__init__.py b/official/legacy/transformer/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/transformer/__init__.py +++ b/official/legacy/transformer/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/attention_layer.py b/official/legacy/transformer/attention_layer.py index db6e95b1a..e759b462c 100644 --- a/official/legacy/transformer/attention_layer.py +++ b/official/legacy/transformer/attention_layer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/beam_search_v1.py b/official/legacy/transformer/beam_search_v1.py index 2c8537e63..533cc01b2 100644 --- a/official/legacy/transformer/beam_search_v1.py +++ b/official/legacy/transformer/beam_search_v1.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/compute_bleu.py b/official/legacy/transformer/compute_bleu.py index dbad8cbf0..c1b01e11a 100644 --- a/official/legacy/transformer/compute_bleu.py +++ b/official/legacy/transformer/compute_bleu.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/compute_bleu_test.py b/official/legacy/transformer/compute_bleu_test.py index aed006e34..24159248e 100644 --- a/official/legacy/transformer/compute_bleu_test.py +++ b/official/legacy/transformer/compute_bleu_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/data_download.py b/official/legacy/transformer/data_download.py index 1b9b8f784..ca3c65c3f 100644 --- a/official/legacy/transformer/data_download.py +++ b/official/legacy/transformer/data_download.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/data_pipeline.py b/official/legacy/transformer/data_pipeline.py index 1d9f24217..484c8e97a 100644 --- a/official/legacy/transformer/data_pipeline.py +++ b/official/legacy/transformer/data_pipeline.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/embedding_layer.py b/official/legacy/transformer/embedding_layer.py index 69f3861ce..398a950df 100644 --- a/official/legacy/transformer/embedding_layer.py +++ b/official/legacy/transformer/embedding_layer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/ffn_layer.py b/official/legacy/transformer/ffn_layer.py index 26f0a15f6..8e24a1e84 100644 --- a/official/legacy/transformer/ffn_layer.py +++ b/official/legacy/transformer/ffn_layer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/metrics.py b/official/legacy/transformer/metrics.py index 38330aa47..b469e6c6f 100644 --- a/official/legacy/transformer/metrics.py +++ b/official/legacy/transformer/metrics.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/misc.py b/official/legacy/transformer/misc.py index 255a6b336..ff8930a66 100644 --- a/official/legacy/transformer/misc.py +++ b/official/legacy/transformer/misc.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/model_params.py b/official/legacy/transformer/model_params.py index 0764d5e9a..70e464be2 100644 --- a/official/legacy/transformer/model_params.py +++ b/official/legacy/transformer/model_params.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/model_utils.py b/official/legacy/transformer/model_utils.py index 6e163b973..360952388 100644 --- a/official/legacy/transformer/model_utils.py +++ b/official/legacy/transformer/model_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/model_utils_test.py b/official/legacy/transformer/model_utils_test.py index e6223c62b..0758caa18 100644 --- a/official/legacy/transformer/model_utils_test.py +++ b/official/legacy/transformer/model_utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/optimizer.py b/official/legacy/transformer/optimizer.py index b27a6f07a..70e96ab6b 100644 --- a/official/legacy/transformer/optimizer.py +++ b/official/legacy/transformer/optimizer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/transformer.py b/official/legacy/transformer/transformer.py index da449a267..ed5d87490 100644 --- a/official/legacy/transformer/transformer.py +++ b/official/legacy/transformer/transformer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/transformer_forward_test.py b/official/legacy/transformer/transformer_forward_test.py index b3c2c54c0..5efdc4178 100644 --- a/official/legacy/transformer/transformer_forward_test.py +++ b/official/legacy/transformer/transformer_forward_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/transformer_layers_test.py b/official/legacy/transformer/transformer_layers_test.py index 16b7482d3..c20804439 100644 --- a/official/legacy/transformer/transformer_layers_test.py +++ b/official/legacy/transformer/transformer_layers_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/transformer_main.py b/official/legacy/transformer/transformer_main.py index 38fc3cff2..ec1e76340 100644 --- a/official/legacy/transformer/transformer_main.py +++ b/official/legacy/transformer/transformer_main.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/transformer_main_test.py b/official/legacy/transformer/transformer_main_test.py index ec1c5ac18..820778581 100644 --- a/official/legacy/transformer/transformer_main_test.py +++ b/official/legacy/transformer/transformer_main_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/transformer_test.py b/official/legacy/transformer/transformer_test.py index 7b3ecc5ab..a6cedb48e 100644 --- a/official/legacy/transformer/transformer_test.py +++ b/official/legacy/transformer/transformer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/translate.py b/official/legacy/transformer/translate.py index 5f88e015b..abbf82f5f 100644 --- a/official/legacy/transformer/translate.py +++ b/official/legacy/transformer/translate.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/utils/__init__.py b/official/legacy/transformer/utils/__init__.py index e419af524..310bfb28f 100644 --- a/official/legacy/transformer/utils/__init__.py +++ b/official/legacy/transformer/utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/utils/metrics.py b/official/legacy/transformer/utils/metrics.py index ec1cad0b4..23261ac47 100644 --- a/official/legacy/transformer/utils/metrics.py +++ b/official/legacy/transformer/utils/metrics.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/utils/tokenizer.py b/official/legacy/transformer/utils/tokenizer.py index 6a992a324..9533846d2 100644 --- a/official/legacy/transformer/utils/tokenizer.py +++ b/official/legacy/transformer/utils/tokenizer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/legacy/transformer/utils/tokenizer_test.py b/official/legacy/transformer/utils/tokenizer_test.py index e75cbd1e6..2b582b99c 100644 --- a/official/legacy/transformer/utils/tokenizer_test.py +++ b/official/legacy/transformer/utils/tokenizer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/__init__.py b/official/modeling/__init__.py index e419af524..310bfb28f 100644 --- a/official/modeling/__init__.py +++ b/official/modeling/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/activations/__init__.py b/official/modeling/activations/__init__.py index 086e1fb97..af39ee619 100644 --- a/official/modeling/activations/__init__.py +++ b/official/modeling/activations/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/activations/gelu.py b/official/modeling/activations/gelu.py index a73294aa5..1ca79ebb6 100644 --- a/official/modeling/activations/gelu.py +++ b/official/modeling/activations/gelu.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/activations/gelu_test.py b/official/modeling/activations/gelu_test.py index cfe1950d9..727a714e3 100644 --- a/official/modeling/activations/gelu_test.py +++ b/official/modeling/activations/gelu_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/activations/relu.py b/official/modeling/activations/relu.py index b3941b2f3..410be29d2 100644 --- a/official/modeling/activations/relu.py +++ b/official/modeling/activations/relu.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/activations/relu_test.py b/official/modeling/activations/relu_test.py index 215f189ea..45a8339e2 100644 --- a/official/modeling/activations/relu_test.py +++ b/official/modeling/activations/relu_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/activations/sigmoid.py b/official/modeling/activations/sigmoid.py index 277463040..a3fc77fa5 100644 --- a/official/modeling/activations/sigmoid.py +++ b/official/modeling/activations/sigmoid.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/activations/sigmoid_test.py b/official/modeling/activations/sigmoid_test.py index 6aad90ef3..e5a1a61f9 100644 --- a/official/modeling/activations/sigmoid_test.py +++ b/official/modeling/activations/sigmoid_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/activations/swish.py b/official/modeling/activations/swish.py index ea79985e3..3d9372370 100644 --- a/official/modeling/activations/swish.py +++ b/official/modeling/activations/swish.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/activations/swish_test.py b/official/modeling/activations/swish_test.py index 3cb9495d8..1eb5fa2a9 100644 --- a/official/modeling/activations/swish_test.py +++ b/official/modeling/activations/swish_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/fast_training/experimental/tf2_utils_2x_wide.py b/official/modeling/fast_training/experimental/tf2_utils_2x_wide.py index 16940cffa..af0760277 100644 --- a/official/modeling/fast_training/experimental/tf2_utils_2x_wide.py +++ b/official/modeling/fast_training/experimental/tf2_utils_2x_wide.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/fast_training/experimental/tf2_utils_2x_wide_test.py b/official/modeling/fast_training/experimental/tf2_utils_2x_wide_test.py index 25d6e7628..2b95110b6 100644 --- a/official/modeling/fast_training/experimental/tf2_utils_2x_wide_test.py +++ b/official/modeling/fast_training/experimental/tf2_utils_2x_wide_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/fast_training/progressive/policies.py b/official/modeling/fast_training/progressive/policies.py index b4f7c3f01..52c3e73b4 100644 --- a/official/modeling/fast_training/progressive/policies.py +++ b/official/modeling/fast_training/progressive/policies.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/fast_training/progressive/train.py b/official/modeling/fast_training/progressive/train.py index f547ac9a5..612a485c6 100644 --- a/official/modeling/fast_training/progressive/train.py +++ b/official/modeling/fast_training/progressive/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/fast_training/progressive/train_lib.py b/official/modeling/fast_training/progressive/train_lib.py index baa132e19..1fdb1d1c2 100644 --- a/official/modeling/fast_training/progressive/train_lib.py +++ b/official/modeling/fast_training/progressive/train_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/fast_training/progressive/train_lib_test.py b/official/modeling/fast_training/progressive/train_lib_test.py index f91faf902..fdc35b2e8 100644 --- a/official/modeling/fast_training/progressive/train_lib_test.py +++ b/official/modeling/fast_training/progressive/train_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/fast_training/progressive/trainer.py b/official/modeling/fast_training/progressive/trainer.py index 685ec3950..af24af527 100644 --- a/official/modeling/fast_training/progressive/trainer.py +++ b/official/modeling/fast_training/progressive/trainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/fast_training/progressive/trainer_test.py b/official/modeling/fast_training/progressive/trainer_test.py index a0c5d82a5..473035512 100644 --- a/official/modeling/fast_training/progressive/trainer_test.py +++ b/official/modeling/fast_training/progressive/trainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/fast_training/progressive/utils.py b/official/modeling/fast_training/progressive/utils.py index 192170cb8..73418d0ab 100644 --- a/official/modeling/fast_training/progressive/utils.py +++ b/official/modeling/fast_training/progressive/utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/grad_utils.py b/official/modeling/grad_utils.py index 1113d39d5..22479e6ff 100644 --- a/official/modeling/grad_utils.py +++ b/official/modeling/grad_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/grad_utils_test.py b/official/modeling/grad_utils_test.py index cc9c1912b..ded7794ab 100644 --- a/official/modeling/grad_utils_test.py +++ b/official/modeling/grad_utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/hyperparams/__init__.py b/official/modeling/hyperparams/__init__.py index bcbc0aedd..5503ad8e4 100644 --- a/official/modeling/hyperparams/__init__.py +++ b/official/modeling/hyperparams/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/hyperparams/base_config.py b/official/modeling/hyperparams/base_config.py index f0afca090..f68b16b36 100644 --- a/official/modeling/hyperparams/base_config.py +++ b/official/modeling/hyperparams/base_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/hyperparams/base_config_test.py b/official/modeling/hyperparams/base_config_test.py index 21d0aaa1c..b27352af8 100644 --- a/official/modeling/hyperparams/base_config_test.py +++ b/official/modeling/hyperparams/base_config_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/hyperparams/oneof.py b/official/modeling/hyperparams/oneof.py index 61591496e..298b94fda 100644 --- a/official/modeling/hyperparams/oneof.py +++ b/official/modeling/hyperparams/oneof.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/hyperparams/oneof_test.py b/official/modeling/hyperparams/oneof_test.py index 2cde73c15..2ac29869a 100644 --- a/official/modeling/hyperparams/oneof_test.py +++ b/official/modeling/hyperparams/oneof_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/hyperparams/params_dict.py b/official/modeling/hyperparams/params_dict.py index 76b0446f0..d08362704 100644 --- a/official/modeling/hyperparams/params_dict.py +++ b/official/modeling/hyperparams/params_dict.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/hyperparams/params_dict_test.py b/official/modeling/hyperparams/params_dict_test.py index 248a81652..145590a4c 100644 --- a/official/modeling/hyperparams/params_dict_test.py +++ b/official/modeling/hyperparams/params_dict_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/__init__.py b/official/modeling/multitask/__init__.py index e419af524..310bfb28f 100644 --- a/official/modeling/multitask/__init__.py +++ b/official/modeling/multitask/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/base_model.py b/official/modeling/multitask/base_model.py index 835d7e344..573bdc753 100644 --- a/official/modeling/multitask/base_model.py +++ b/official/modeling/multitask/base_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/base_trainer.py b/official/modeling/multitask/base_trainer.py index 45cdb6cdd..e3bf18718 100644 --- a/official/modeling/multitask/base_trainer.py +++ b/official/modeling/multitask/base_trainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/base_trainer_test.py b/official/modeling/multitask/base_trainer_test.py index 2427ff85f..2eb5acd25 100644 --- a/official/modeling/multitask/base_trainer_test.py +++ b/official/modeling/multitask/base_trainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/configs.py b/official/modeling/multitask/configs.py index 453db3475..e759f7ff1 100644 --- a/official/modeling/multitask/configs.py +++ b/official/modeling/multitask/configs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/evaluator.py b/official/modeling/multitask/evaluator.py index c896e2c88..9433a318a 100644 --- a/official/modeling/multitask/evaluator.py +++ b/official/modeling/multitask/evaluator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/evaluator_test.py b/official/modeling/multitask/evaluator_test.py index 4725e63e5..660adcfc3 100644 --- a/official/modeling/multitask/evaluator_test.py +++ b/official/modeling/multitask/evaluator_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/interleaving_trainer.py b/official/modeling/multitask/interleaving_trainer.py index 1bc943dfb..25fd20d1c 100644 --- a/official/modeling/multitask/interleaving_trainer.py +++ b/official/modeling/multitask/interleaving_trainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/interleaving_trainer_test.py b/official/modeling/multitask/interleaving_trainer_test.py index a2b1da1b6..6f871713c 100644 --- a/official/modeling/multitask/interleaving_trainer_test.py +++ b/official/modeling/multitask/interleaving_trainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/multitask.py b/official/modeling/multitask/multitask.py index 85a345382..3b1630057 100644 --- a/official/modeling/multitask/multitask.py +++ b/official/modeling/multitask/multitask.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/task_sampler.py b/official/modeling/multitask/task_sampler.py index 1c365a9df..5e062bd45 100644 --- a/official/modeling/multitask/task_sampler.py +++ b/official/modeling/multitask/task_sampler.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/task_sampler_test.py b/official/modeling/multitask/task_sampler_test.py index 5b4695049..8b3d95ff4 100644 --- a/official/modeling/multitask/task_sampler_test.py +++ b/official/modeling/multitask/task_sampler_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/test_utils.py b/official/modeling/multitask/test_utils.py index aa8312238..d9f32c28c 100644 --- a/official/modeling/multitask/test_utils.py +++ b/official/modeling/multitask/test_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/train_lib.py b/official/modeling/multitask/train_lib.py index 62b022030..4c1b3bdd0 100644 --- a/official/modeling/multitask/train_lib.py +++ b/official/modeling/multitask/train_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/multitask/train_lib_test.py b/official/modeling/multitask/train_lib_test.py index 6f90a47f3..4c5fad2eb 100644 --- a/official/modeling/multitask/train_lib_test.py +++ b/official/modeling/multitask/train_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/__init__.py b/official/modeling/optimization/__init__.py index ee2b99603..c02b2b9a9 100644 --- a/official/modeling/optimization/__init__.py +++ b/official/modeling/optimization/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/adafactor_optimizer.py b/official/modeling/optimization/adafactor_optimizer.py index cea09bda4..b7f1944e6 100644 --- a/official/modeling/optimization/adafactor_optimizer.py +++ b/official/modeling/optimization/adafactor_optimizer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/configs/__init__.py b/official/modeling/optimization/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/modeling/optimization/configs/__init__.py +++ b/official/modeling/optimization/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/configs/learning_rate_config.py b/official/modeling/optimization/configs/learning_rate_config.py index 3904b53da..5c711d556 100644 --- a/official/modeling/optimization/configs/learning_rate_config.py +++ b/official/modeling/optimization/configs/learning_rate_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/configs/optimization_config.py b/official/modeling/optimization/configs/optimization_config.py index 1bf87e420..70cde8e6e 100644 --- a/official/modeling/optimization/configs/optimization_config.py +++ b/official/modeling/optimization/configs/optimization_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/configs/optimization_config_test.py b/official/modeling/optimization/configs/optimization_config_test.py index 02b99f592..6fc11fea0 100644 --- a/official/modeling/optimization/configs/optimization_config_test.py +++ b/official/modeling/optimization/configs/optimization_config_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/configs/optimizer_config.py b/official/modeling/optimization/configs/optimizer_config.py index a4696d265..e656933cd 100644 --- a/official/modeling/optimization/configs/optimizer_config.py +++ b/official/modeling/optimization/configs/optimizer_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/ema_optimizer.py b/official/modeling/optimization/ema_optimizer.py index c4f44d712..f1094d120 100644 --- a/official/modeling/optimization/ema_optimizer.py +++ b/official/modeling/optimization/ema_optimizer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/lars_optimizer.py b/official/modeling/optimization/lars_optimizer.py index ac1504275..b2e14132c 100644 --- a/official/modeling/optimization/lars_optimizer.py +++ b/official/modeling/optimization/lars_optimizer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/lr_schedule.py b/official/modeling/optimization/lr_schedule.py index 5f62f10b1..6f8feb807 100644 --- a/official/modeling/optimization/lr_schedule.py +++ b/official/modeling/optimization/lr_schedule.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/lr_schedule_test.py b/official/modeling/optimization/lr_schedule_test.py index bafd8be1f..df74db692 100644 --- a/official/modeling/optimization/lr_schedule_test.py +++ b/official/modeling/optimization/lr_schedule_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/optimizer_factory.py b/official/modeling/optimization/optimizer_factory.py index 4f5b8929b..aac8ec9f9 100644 --- a/official/modeling/optimization/optimizer_factory.py +++ b/official/modeling/optimization/optimizer_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/optimizer_factory_test.py b/official/modeling/optimization/optimizer_factory_test.py index e0cc71448..925621964 100644 --- a/official/modeling/optimization/optimizer_factory_test.py +++ b/official/modeling/optimization/optimizer_factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/optimization/slide_optimizer.py b/official/modeling/optimization/slide_optimizer.py index c1975a311..8bbd46874 100644 --- a/official/modeling/optimization/slide_optimizer.py +++ b/official/modeling/optimization/slide_optimizer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/performance.py b/official/modeling/performance.py index c1b23714e..3c6f6d15a 100644 --- a/official/modeling/performance.py +++ b/official/modeling/performance.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/tf_utils.py b/official/modeling/tf_utils.py index f4e94c555..bff4d52c1 100644 --- a/official/modeling/tf_utils.py +++ b/official/modeling/tf_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/modeling/tf_utils_test.py b/official/modeling/tf_utils_test.py index d005e698a..0b6a1662c 100644 --- a/official/modeling/tf_utils_test.py +++ b/official/modeling/tf_utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/__init__.py b/official/nlp/__init__.py index e419af524..310bfb28f 100644 --- a/official/nlp/__init__.py +++ b/official/nlp/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/__init__.py b/official/nlp/bert/__init__.py index a25710c22..ba97902e7 100644 --- a/official/nlp/bert/__init__.py +++ b/official/nlp/bert/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/bert_models.py b/official/nlp/bert/bert_models.py index 30bb381df..5f3133305 100644 --- a/official/nlp/bert/bert_models.py +++ b/official/nlp/bert/bert_models.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/bert_models_test.py b/official/nlp/bert/bert_models_test.py index 8c4a52a20..efab98a64 100644 --- a/official/nlp/bert/bert_models_test.py +++ b/official/nlp/bert/bert_models_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/common_flags.py b/official/nlp/bert/common_flags.py index f622ab1e2..32ad7059f 100644 --- a/official/nlp/bert/common_flags.py +++ b/official/nlp/bert/common_flags.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/configs.py b/official/nlp/bert/configs.py index 950c32d0b..bbded1932 100644 --- a/official/nlp/bert/configs.py +++ b/official/nlp/bert/configs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/export_tfhub.py b/official/nlp/bert/export_tfhub.py index 833e7c105..d81e9d31c 100644 --- a/official/nlp/bert/export_tfhub.py +++ b/official/nlp/bert/export_tfhub.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/export_tfhub_test.py b/official/nlp/bert/export_tfhub_test.py index 77030dd3f..5b2e7aeb3 100644 --- a/official/nlp/bert/export_tfhub_test.py +++ b/official/nlp/bert/export_tfhub_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/input_pipeline.py b/official/nlp/bert/input_pipeline.py index 0c0f7615c..045f16ce7 100644 --- a/official/nlp/bert/input_pipeline.py +++ b/official/nlp/bert/input_pipeline.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/model_saving_utils.py b/official/nlp/bert/model_saving_utils.py index 1d6975087..f97c6e42d 100644 --- a/official/nlp/bert/model_saving_utils.py +++ b/official/nlp/bert/model_saving_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/model_training_utils.py b/official/nlp/bert/model_training_utils.py index 8cc11993b..f7c8e443b 100644 --- a/official/nlp/bert/model_training_utils.py +++ b/official/nlp/bert/model_training_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/model_training_utils_test.py b/official/nlp/bert/model_training_utils_test.py index 544b66834..c0178dd26 100644 --- a/official/nlp/bert/model_training_utils_test.py +++ b/official/nlp/bert/model_training_utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/run_classifier.py b/official/nlp/bert/run_classifier.py index b7ee5be8a..2805b308e 100644 --- a/official/nlp/bert/run_classifier.py +++ b/official/nlp/bert/run_classifier.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/run_pretraining.py b/official/nlp/bert/run_pretraining.py index 3390d335d..cbac304ae 100644 --- a/official/nlp/bert/run_pretraining.py +++ b/official/nlp/bert/run_pretraining.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/run_squad.py b/official/nlp/bert/run_squad.py index 8cafb9176..522097f9a 100644 --- a/official/nlp/bert/run_squad.py +++ b/official/nlp/bert/run_squad.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/run_squad_helper.py b/official/nlp/bert/run_squad_helper.py index d4cee884a..879979a6d 100644 --- a/official/nlp/bert/run_squad_helper.py +++ b/official/nlp/bert/run_squad_helper.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/serving.py b/official/nlp/bert/serving.py index 7e27869c7..efb8fe769 100644 --- a/official/nlp/bert/serving.py +++ b/official/nlp/bert/serving.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/squad_evaluate_v1_1.py b/official/nlp/bert/squad_evaluate_v1_1.py index a39f571c3..795fa471e 100644 --- a/official/nlp/bert/squad_evaluate_v1_1.py +++ b/official/nlp/bert/squad_evaluate_v1_1.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/squad_evaluate_v2_0.py b/official/nlp/bert/squad_evaluate_v2_0.py index 12c5a7e3d..ac02f72be 100644 --- a/official/nlp/bert/squad_evaluate_v2_0.py +++ b/official/nlp/bert/squad_evaluate_v2_0.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/tf1_checkpoint_converter_lib.py b/official/nlp/bert/tf1_checkpoint_converter_lib.py index 035a69438..b34bd0008 100644 --- a/official/nlp/bert/tf1_checkpoint_converter_lib.py +++ b/official/nlp/bert/tf1_checkpoint_converter_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/tf2_encoder_checkpoint_converter.py b/official/nlp/bert/tf2_encoder_checkpoint_converter.py index 9fced5dae..522587833 100644 --- a/official/nlp/bert/tf2_encoder_checkpoint_converter.py +++ b/official/nlp/bert/tf2_encoder_checkpoint_converter.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/tokenization.py b/official/nlp/bert/tokenization.py index ea1546e3c..65d2b7717 100644 --- a/official/nlp/bert/tokenization.py +++ b/official/nlp/bert/tokenization.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/bert/tokenization_test.py b/official/nlp/bert/tokenization_test.py index 07759de20..81ee371f5 100644 --- a/official/nlp/bert/tokenization_test.py +++ b/official/nlp/bert/tokenization_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/configs/__init__.py b/official/nlp/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/nlp/configs/__init__.py +++ b/official/nlp/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/configs/bert.py b/official/nlp/configs/bert.py index cf78de038..dc3b42d51 100644 --- a/official/nlp/configs/bert.py +++ b/official/nlp/configs/bert.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/configs/electra.py b/official/nlp/configs/electra.py index 5e6229766..0c55e50e5 100644 --- a/official/nlp/configs/electra.py +++ b/official/nlp/configs/electra.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/configs/encoders.py b/official/nlp/configs/encoders.py index 47c2075b6..0b182f18b 100644 --- a/official/nlp/configs/encoders.py +++ b/official/nlp/configs/encoders.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/configs/encoders_test.py b/official/nlp/configs/encoders_test.py index 62c0ca00f..6012c55fe 100644 --- a/official/nlp/configs/encoders_test.py +++ b/official/nlp/configs/encoders_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/configs/experiment_configs.py b/official/nlp/configs/experiment_configs.py index 2d8cb8ba3..a3febc0f2 100644 --- a/official/nlp/configs/experiment_configs.py +++ b/official/nlp/configs/experiment_configs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/configs/finetuning_experiments.py b/official/nlp/configs/finetuning_experiments.py index d87c9655e..23833d4cf 100644 --- a/official/nlp/configs/finetuning_experiments.py +++ b/official/nlp/configs/finetuning_experiments.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/configs/pretraining_experiments.py b/official/nlp/configs/pretraining_experiments.py index 024c6fcfb..1eedb8782 100644 --- a/official/nlp/configs/pretraining_experiments.py +++ b/official/nlp/configs/pretraining_experiments.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/configs/wmt_transformer_experiments.py b/official/nlp/configs/wmt_transformer_experiments.py index eb85b76c5..1b9382d96 100644 --- a/official/nlp/configs/wmt_transformer_experiments.py +++ b/official/nlp/configs/wmt_transformer_experiments.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/continuous_finetune_lib.py b/official/nlp/continuous_finetune_lib.py index 6fe851741..988b62c60 100644 --- a/official/nlp/continuous_finetune_lib.py +++ b/official/nlp/continuous_finetune_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/continuous_finetune_lib_test.py b/official/nlp/continuous_finetune_lib_test.py index 08ee381dc..6ed727d73 100644 --- a/official/nlp/continuous_finetune_lib_test.py +++ b/official/nlp/continuous_finetune_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/__init__.py b/official/nlp/data/__init__.py index e419af524..310bfb28f 100644 --- a/official/nlp/data/__init__.py +++ b/official/nlp/data/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/classifier_data_lib.py b/official/nlp/data/classifier_data_lib.py index 0ba9dcf9a..f4031962d 100644 --- a/official/nlp/data/classifier_data_lib.py +++ b/official/nlp/data/classifier_data_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/classifier_data_lib_test.py b/official/nlp/data/classifier_data_lib_test.py index c1db1a3d0..88f08063f 100644 --- a/official/nlp/data/classifier_data_lib_test.py +++ b/official/nlp/data/classifier_data_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/create_finetuning_data.py b/official/nlp/data/create_finetuning_data.py index 01f2deaec..88f9a5546 100644 --- a/official/nlp/data/create_finetuning_data.py +++ b/official/nlp/data/create_finetuning_data.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/create_pretraining_data.py b/official/nlp/data/create_pretraining_data.py index 93b7723d1..3c7603735 100644 --- a/official/nlp/data/create_pretraining_data.py +++ b/official/nlp/data/create_pretraining_data.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/create_pretraining_data_test.py b/official/nlp/data/create_pretraining_data_test.py index 79a38ba85..da50d5479 100644 --- a/official/nlp/data/create_pretraining_data_test.py +++ b/official/nlp/data/create_pretraining_data_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/create_xlnet_pretraining_data.py b/official/nlp/data/create_xlnet_pretraining_data.py index 363164fca..9b39e651a 100644 --- a/official/nlp/data/create_xlnet_pretraining_data.py +++ b/official/nlp/data/create_xlnet_pretraining_data.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/create_xlnet_pretraining_data_test.py b/official/nlp/data/create_xlnet_pretraining_data_test.py index 5630411a7..6a3b96833 100644 --- a/official/nlp/data/create_xlnet_pretraining_data_test.py +++ b/official/nlp/data/create_xlnet_pretraining_data_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/data_loader.py b/official/nlp/data/data_loader.py index 2b1812706..b962d5f97 100644 --- a/official/nlp/data/data_loader.py +++ b/official/nlp/data/data_loader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/data_loader_factory.py b/official/nlp/data/data_loader_factory.py index 9602ea295..f3a2decb8 100644 --- a/official/nlp/data/data_loader_factory.py +++ b/official/nlp/data/data_loader_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/data_loader_factory_test.py b/official/nlp/data/data_loader_factory_test.py index 8aa86757d..518717a3f 100644 --- a/official/nlp/data/data_loader_factory_test.py +++ b/official/nlp/data/data_loader_factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/dual_encoder_dataloader.py b/official/nlp/data/dual_encoder_dataloader.py index af9f1090f..5852455b0 100644 --- a/official/nlp/data/dual_encoder_dataloader.py +++ b/official/nlp/data/dual_encoder_dataloader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/dual_encoder_dataloader_test.py b/official/nlp/data/dual_encoder_dataloader_test.py index 358b0d963..bebdc1531 100644 --- a/official/nlp/data/dual_encoder_dataloader_test.py +++ b/official/nlp/data/dual_encoder_dataloader_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/pretrain_dataloader.py b/official/nlp/data/pretrain_dataloader.py index dbb7953c3..f2a33cd42 100644 --- a/official/nlp/data/pretrain_dataloader.py +++ b/official/nlp/data/pretrain_dataloader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/pretrain_dataloader_test.py b/official/nlp/data/pretrain_dataloader_test.py index 5f3807c90..ce7f216f9 100644 --- a/official/nlp/data/pretrain_dataloader_test.py +++ b/official/nlp/data/pretrain_dataloader_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/pretrain_dynamic_dataloader.py b/official/nlp/data/pretrain_dynamic_dataloader.py index c1de4ba54..051c6a0ef 100644 --- a/official/nlp/data/pretrain_dynamic_dataloader.py +++ b/official/nlp/data/pretrain_dynamic_dataloader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/pretrain_dynamic_dataloader_test.py b/official/nlp/data/pretrain_dynamic_dataloader_test.py index 188e6d495..3927b7993 100644 --- a/official/nlp/data/pretrain_dynamic_dataloader_test.py +++ b/official/nlp/data/pretrain_dynamic_dataloader_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/question_answering_dataloader.py b/official/nlp/data/question_answering_dataloader.py index 0f721ed77..171c0d3b2 100644 --- a/official/nlp/data/question_answering_dataloader.py +++ b/official/nlp/data/question_answering_dataloader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/question_answering_dataloader_test.py b/official/nlp/data/question_answering_dataloader_test.py index c853bc080..9767ef0a7 100644 --- a/official/nlp/data/question_answering_dataloader_test.py +++ b/official/nlp/data/question_answering_dataloader_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/sentence_prediction_dataloader.py b/official/nlp/data/sentence_prediction_dataloader.py index 3517edfb9..c601b9d72 100644 --- a/official/nlp/data/sentence_prediction_dataloader.py +++ b/official/nlp/data/sentence_prediction_dataloader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/sentence_prediction_dataloader_test.py b/official/nlp/data/sentence_prediction_dataloader_test.py index 876b9d421..d4f0d8559 100644 --- a/official/nlp/data/sentence_prediction_dataloader_test.py +++ b/official/nlp/data/sentence_prediction_dataloader_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/sentence_retrieval_lib.py b/official/nlp/data/sentence_retrieval_lib.py index 0bfd8e4de..4c2665748 100644 --- a/official/nlp/data/sentence_retrieval_lib.py +++ b/official/nlp/data/sentence_retrieval_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/squad_lib.py b/official/nlp/data/squad_lib.py index e96838664..04a31a2d2 100644 --- a/official/nlp/data/squad_lib.py +++ b/official/nlp/data/squad_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/squad_lib_sp.py b/official/nlp/data/squad_lib_sp.py index 021193d41..e656e5520 100644 --- a/official/nlp/data/squad_lib_sp.py +++ b/official/nlp/data/squad_lib_sp.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/tagging_data_lib.py b/official/nlp/data/tagging_data_lib.py index f6b9c1974..153d977fc 100644 --- a/official/nlp/data/tagging_data_lib.py +++ b/official/nlp/data/tagging_data_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/tagging_data_lib_test.py b/official/nlp/data/tagging_data_lib_test.py index afbfebdef..f27750cff 100644 --- a/official/nlp/data/tagging_data_lib_test.py +++ b/official/nlp/data/tagging_data_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/tagging_dataloader.py b/official/nlp/data/tagging_dataloader.py index daecb8e3d..f02d49ab9 100644 --- a/official/nlp/data/tagging_dataloader.py +++ b/official/nlp/data/tagging_dataloader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/tagging_dataloader_test.py b/official/nlp/data/tagging_dataloader_test.py index 2ff5fc7f2..3d2be5e97 100644 --- a/official/nlp/data/tagging_dataloader_test.py +++ b/official/nlp/data/tagging_dataloader_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/train_sentencepiece.py b/official/nlp/data/train_sentencepiece.py index 4d3b05c46..c019bc167 100644 --- a/official/nlp/data/train_sentencepiece.py +++ b/official/nlp/data/train_sentencepiece.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/wmt_dataloader.py b/official/nlp/data/wmt_dataloader.py index e0521ad47..e801e9d74 100644 --- a/official/nlp/data/wmt_dataloader.py +++ b/official/nlp/data/wmt_dataloader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/data/wmt_dataloader_test.py b/official/nlp/data/wmt_dataloader_test.py index a4454d96d..82e56f599 100644 --- a/official/nlp/data/wmt_dataloader_test.py +++ b/official/nlp/data/wmt_dataloader_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/finetuning/binary_helper.py b/official/nlp/finetuning/binary_helper.py index 7e0ffc610..10ad91e93 100644 --- a/official/nlp/finetuning/binary_helper.py +++ b/official/nlp/finetuning/binary_helper.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/finetuning/glue/flags.py b/official/nlp/finetuning/glue/flags.py index 0f684fc91..0ad161bc6 100644 --- a/official/nlp/finetuning/glue/flags.py +++ b/official/nlp/finetuning/glue/flags.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/finetuning/glue/run_glue.py b/official/nlp/finetuning/glue/run_glue.py index aa1b047f3..54d45150b 100644 --- a/official/nlp/finetuning/glue/run_glue.py +++ b/official/nlp/finetuning/glue/run_glue.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/finetuning/superglue/flags.py b/official/nlp/finetuning/superglue/flags.py index 7c2f0ba72..68457ea37 100644 --- a/official/nlp/finetuning/superglue/flags.py +++ b/official/nlp/finetuning/superglue/flags.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/finetuning/superglue/run_superglue.py b/official/nlp/finetuning/superglue/run_superglue.py index 01025a88f..773abbd03 100644 --- a/official/nlp/finetuning/superglue/run_superglue.py +++ b/official/nlp/finetuning/superglue/run_superglue.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/metrics/__init__.py b/official/nlp/metrics/__init__.py index e419af524..310bfb28f 100644 --- a/official/nlp/metrics/__init__.py +++ b/official/nlp/metrics/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/metrics/bleu.py b/official/nlp/metrics/bleu.py index 7a17db6d8..01c6ae5fa 100644 --- a/official/nlp/metrics/bleu.py +++ b/official/nlp/metrics/bleu.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/metrics/bleu_test.py b/official/nlp/metrics/bleu_test.py index e410ae805..9097ad8fd 100644 --- a/official/nlp/metrics/bleu_test.py +++ b/official/nlp/metrics/bleu_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/__init__.py b/official/nlp/modeling/__init__.py index 3beacedc9..6159d986d 100644 --- a/official/nlp/modeling/__init__.py +++ b/official/nlp/modeling/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/__init__.py b/official/nlp/modeling/layers/__init__.py index 13c09c77b..4da95e12a 100644 --- a/official/nlp/modeling/layers/__init__.py +++ b/official/nlp/modeling/layers/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/attention.py b/official/nlp/modeling/layers/attention.py index 9b13b8969..59359c61b 100644 --- a/official/nlp/modeling/layers/attention.py +++ b/official/nlp/modeling/layers/attention.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/attention_test.py b/official/nlp/modeling/layers/attention_test.py index e09f88980..1f3d73d16 100644 --- a/official/nlp/modeling/layers/attention_test.py +++ b/official/nlp/modeling/layers/attention_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/bigbird_attention.py b/official/nlp/modeling/layers/bigbird_attention.py index 4d3c66244..8f6f3d614 100644 --- a/official/nlp/modeling/layers/bigbird_attention.py +++ b/official/nlp/modeling/layers/bigbird_attention.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/bigbird_attention_test.py b/official/nlp/modeling/layers/bigbird_attention_test.py index adafa9316..3764ce49d 100644 --- a/official/nlp/modeling/layers/bigbird_attention_test.py +++ b/official/nlp/modeling/layers/bigbird_attention_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/block_diag_feedforward.py b/official/nlp/modeling/layers/block_diag_feedforward.py index 5c593a5ce..21fe144a1 100644 --- a/official/nlp/modeling/layers/block_diag_feedforward.py +++ b/official/nlp/modeling/layers/block_diag_feedforward.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/block_diag_feedforward_test.py b/official/nlp/modeling/layers/block_diag_feedforward_test.py index 59f400520..e9b5b4e5e 100644 --- a/official/nlp/modeling/layers/block_diag_feedforward_test.py +++ b/official/nlp/modeling/layers/block_diag_feedforward_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/cls_head.py b/official/nlp/modeling/layers/cls_head.py index 85720df56..82156e4d0 100644 --- a/official/nlp/modeling/layers/cls_head.py +++ b/official/nlp/modeling/layers/cls_head.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/cls_head_test.py b/official/nlp/modeling/layers/cls_head_test.py index 4c640baf4..8bcfb0bba 100644 --- a/official/nlp/modeling/layers/cls_head_test.py +++ b/official/nlp/modeling/layers/cls_head_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/gated_feedforward.py b/official/nlp/modeling/layers/gated_feedforward.py index 2de294065..54db81eab 100644 --- a/official/nlp/modeling/layers/gated_feedforward.py +++ b/official/nlp/modeling/layers/gated_feedforward.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/gated_feedforward_test.py b/official/nlp/modeling/layers/gated_feedforward_test.py index 46d4f4bb2..8f69cd4fa 100644 --- a/official/nlp/modeling/layers/gated_feedforward_test.py +++ b/official/nlp/modeling/layers/gated_feedforward_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/gaussian_process.py b/official/nlp/modeling/layers/gaussian_process.py index 3729d8ee6..3bbedfaa5 100644 --- a/official/nlp/modeling/layers/gaussian_process.py +++ b/official/nlp/modeling/layers/gaussian_process.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/gaussian_process_test.py b/official/nlp/modeling/layers/gaussian_process_test.py index 37958fa74..1b0f8af40 100644 --- a/official/nlp/modeling/layers/gaussian_process_test.py +++ b/official/nlp/modeling/layers/gaussian_process_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/kernel_attention.py b/official/nlp/modeling/layers/kernel_attention.py index 6f8d41ad4..af3fb719a 100644 --- a/official/nlp/modeling/layers/kernel_attention.py +++ b/official/nlp/modeling/layers/kernel_attention.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/kernel_attention_test.py b/official/nlp/modeling/layers/kernel_attention_test.py index 947704fb3..09b2c703b 100644 --- a/official/nlp/modeling/layers/kernel_attention_test.py +++ b/official/nlp/modeling/layers/kernel_attention_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/masked_lm.py b/official/nlp/modeling/layers/masked_lm.py index 9737b2287..885b0a7e3 100644 --- a/official/nlp/modeling/layers/masked_lm.py +++ b/official/nlp/modeling/layers/masked_lm.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/masked_lm_test.py b/official/nlp/modeling/layers/masked_lm_test.py index 53b3b4a22..0cd3ce072 100644 --- a/official/nlp/modeling/layers/masked_lm_test.py +++ b/official/nlp/modeling/layers/masked_lm_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/masked_softmax.py b/official/nlp/modeling/layers/masked_softmax.py index 06b1994c7..db0a0fcaa 100644 --- a/official/nlp/modeling/layers/masked_softmax.py +++ b/official/nlp/modeling/layers/masked_softmax.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/masked_softmax_test.py b/official/nlp/modeling/layers/masked_softmax_test.py index 802b68482..d6fe410b1 100644 --- a/official/nlp/modeling/layers/masked_softmax_test.py +++ b/official/nlp/modeling/layers/masked_softmax_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/mat_mul_with_margin.py b/official/nlp/modeling/layers/mat_mul_with_margin.py index 1fe3156ca..9bc8721d2 100644 --- a/official/nlp/modeling/layers/mat_mul_with_margin.py +++ b/official/nlp/modeling/layers/mat_mul_with_margin.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/mat_mul_with_margin_test.py b/official/nlp/modeling/layers/mat_mul_with_margin_test.py index 1ceea013c..4a02d5136 100644 --- a/official/nlp/modeling/layers/mat_mul_with_margin_test.py +++ b/official/nlp/modeling/layers/mat_mul_with_margin_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/mobile_bert_layers.py b/official/nlp/modeling/layers/mobile_bert_layers.py index cc1c5c585..ef66adb89 100644 --- a/official/nlp/modeling/layers/mobile_bert_layers.py +++ b/official/nlp/modeling/layers/mobile_bert_layers.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/mobile_bert_layers_test.py b/official/nlp/modeling/layers/mobile_bert_layers_test.py index 3edeec053..b5c3c5e3f 100644 --- a/official/nlp/modeling/layers/mobile_bert_layers_test.py +++ b/official/nlp/modeling/layers/mobile_bert_layers_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/multi_channel_attention.py b/official/nlp/modeling/layers/multi_channel_attention.py index dfdf7274c..f6ba0e007 100644 --- a/official/nlp/modeling/layers/multi_channel_attention.py +++ b/official/nlp/modeling/layers/multi_channel_attention.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/multi_channel_attention_test.py b/official/nlp/modeling/layers/multi_channel_attention_test.py index 2831fc29a..8c0220467 100644 --- a/official/nlp/modeling/layers/multi_channel_attention_test.py +++ b/official/nlp/modeling/layers/multi_channel_attention_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/on_device_embedding.py b/official/nlp/modeling/layers/on_device_embedding.py index 3d2faa45f..be000427f 100644 --- a/official/nlp/modeling/layers/on_device_embedding.py +++ b/official/nlp/modeling/layers/on_device_embedding.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/on_device_embedding_test.py b/official/nlp/modeling/layers/on_device_embedding_test.py index b724130a1..373cfdb6d 100644 --- a/official/nlp/modeling/layers/on_device_embedding_test.py +++ b/official/nlp/modeling/layers/on_device_embedding_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/position_embedding.py b/official/nlp/modeling/layers/position_embedding.py index 8e2744b79..86ee2fc6e 100644 --- a/official/nlp/modeling/layers/position_embedding.py +++ b/official/nlp/modeling/layers/position_embedding.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/position_embedding_test.py b/official/nlp/modeling/layers/position_embedding_test.py index 6593d428e..f9f170854 100644 --- a/official/nlp/modeling/layers/position_embedding_test.py +++ b/official/nlp/modeling/layers/position_embedding_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/relative_attention.py b/official/nlp/modeling/layers/relative_attention.py index be18c9d1e..7312cbf86 100644 --- a/official/nlp/modeling/layers/relative_attention.py +++ b/official/nlp/modeling/layers/relative_attention.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/relative_attention_test.py b/official/nlp/modeling/layers/relative_attention_test.py index b092bc674..d07093f72 100644 --- a/official/nlp/modeling/layers/relative_attention_test.py +++ b/official/nlp/modeling/layers/relative_attention_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/reuse_attention.py b/official/nlp/modeling/layers/reuse_attention.py index 6e36a7154..419cf1360 100644 --- a/official/nlp/modeling/layers/reuse_attention.py +++ b/official/nlp/modeling/layers/reuse_attention.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/reuse_attention_test.py b/official/nlp/modeling/layers/reuse_attention_test.py index 0da8cf5e3..fe9e71d2f 100644 --- a/official/nlp/modeling/layers/reuse_attention_test.py +++ b/official/nlp/modeling/layers/reuse_attention_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/reuse_transformer.py b/official/nlp/modeling/layers/reuse_transformer.py index 38736ea42..fba459573 100644 --- a/official/nlp/modeling/layers/reuse_transformer.py +++ b/official/nlp/modeling/layers/reuse_transformer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/reuse_transformer_test.py b/official/nlp/modeling/layers/reuse_transformer_test.py index 546e0813e..0376906e9 100644 --- a/official/nlp/modeling/layers/reuse_transformer_test.py +++ b/official/nlp/modeling/layers/reuse_transformer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/rezero_transformer.py b/official/nlp/modeling/layers/rezero_transformer.py index 6a9fb1a66..626753a86 100644 --- a/official/nlp/modeling/layers/rezero_transformer.py +++ b/official/nlp/modeling/layers/rezero_transformer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/rezero_transformer_test.py b/official/nlp/modeling/layers/rezero_transformer_test.py index 48d680f92..ed940626c 100644 --- a/official/nlp/modeling/layers/rezero_transformer_test.py +++ b/official/nlp/modeling/layers/rezero_transformer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/self_attention_mask.py b/official/nlp/modeling/layers/self_attention_mask.py index cd538bed0..ed9783ada 100644 --- a/official/nlp/modeling/layers/self_attention_mask.py +++ b/official/nlp/modeling/layers/self_attention_mask.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/spectral_normalization.py b/official/nlp/modeling/layers/spectral_normalization.py index 175150c8a..00f07ce4d 100644 --- a/official/nlp/modeling/layers/spectral_normalization.py +++ b/official/nlp/modeling/layers/spectral_normalization.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/spectral_normalization_test.py b/official/nlp/modeling/layers/spectral_normalization_test.py index e2162ac6c..2600acd89 100644 --- a/official/nlp/modeling/layers/spectral_normalization_test.py +++ b/official/nlp/modeling/layers/spectral_normalization_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/talking_heads_attention.py b/official/nlp/modeling/layers/talking_heads_attention.py index bddfacaa8..69605bc8f 100644 --- a/official/nlp/modeling/layers/talking_heads_attention.py +++ b/official/nlp/modeling/layers/talking_heads_attention.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/talking_heads_attention_test.py b/official/nlp/modeling/layers/talking_heads_attention_test.py index 579384bb7..6f14e2023 100644 --- a/official/nlp/modeling/layers/talking_heads_attention_test.py +++ b/official/nlp/modeling/layers/talking_heads_attention_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/text_layers.py b/official/nlp/modeling/layers/text_layers.py index 299901d2d..970b53776 100644 --- a/official/nlp/modeling/layers/text_layers.py +++ b/official/nlp/modeling/layers/text_layers.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/text_layers_test.py b/official/nlp/modeling/layers/text_layers_test.py index 0608863ca..62ec85345 100644 --- a/official/nlp/modeling/layers/text_layers_test.py +++ b/official/nlp/modeling/layers/text_layers_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/tn_expand_condense.py b/official/nlp/modeling/layers/tn_expand_condense.py index c4bd08c5d..33247d368 100644 --- a/official/nlp/modeling/layers/tn_expand_condense.py +++ b/official/nlp/modeling/layers/tn_expand_condense.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/tn_expand_condense_test.py b/official/nlp/modeling/layers/tn_expand_condense_test.py index ae39b8550..04f211d11 100644 --- a/official/nlp/modeling/layers/tn_expand_condense_test.py +++ b/official/nlp/modeling/layers/tn_expand_condense_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/tn_transformer_expand_condense.py b/official/nlp/modeling/layers/tn_transformer_expand_condense.py index c244fcb1c..d52525064 100644 --- a/official/nlp/modeling/layers/tn_transformer_expand_condense.py +++ b/official/nlp/modeling/layers/tn_transformer_expand_condense.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/tn_transformer_test.py b/official/nlp/modeling/layers/tn_transformer_test.py index a21193e7c..af52661a9 100644 --- a/official/nlp/modeling/layers/tn_transformer_test.py +++ b/official/nlp/modeling/layers/tn_transformer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/transformer.py b/official/nlp/modeling/layers/transformer.py index 8026aaaa3..8982a4d3e 100644 --- a/official/nlp/modeling/layers/transformer.py +++ b/official/nlp/modeling/layers/transformer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/transformer_encoder_block.py b/official/nlp/modeling/layers/transformer_encoder_block.py index 49e0e0cbe..8ccf045df 100644 --- a/official/nlp/modeling/layers/transformer_encoder_block.py +++ b/official/nlp/modeling/layers/transformer_encoder_block.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/transformer_encoder_block_test.py b/official/nlp/modeling/layers/transformer_encoder_block_test.py index bb9c4f1e3..c0750e4a3 100644 --- a/official/nlp/modeling/layers/transformer_encoder_block_test.py +++ b/official/nlp/modeling/layers/transformer_encoder_block_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/transformer_scaffold.py b/official/nlp/modeling/layers/transformer_scaffold.py index 4f6de71ce..c836624b8 100644 --- a/official/nlp/modeling/layers/transformer_scaffold.py +++ b/official/nlp/modeling/layers/transformer_scaffold.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/transformer_scaffold_test.py b/official/nlp/modeling/layers/transformer_scaffold_test.py index 5267a27ef..cf19331b3 100644 --- a/official/nlp/modeling/layers/transformer_scaffold_test.py +++ b/official/nlp/modeling/layers/transformer_scaffold_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/transformer_test.py b/official/nlp/modeling/layers/transformer_test.py index 0c6c472ec..8ee11b919 100644 --- a/official/nlp/modeling/layers/transformer_test.py +++ b/official/nlp/modeling/layers/transformer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/transformer_xl.py b/official/nlp/modeling/layers/transformer_xl.py index 748957398..25355d650 100644 --- a/official/nlp/modeling/layers/transformer_xl.py +++ b/official/nlp/modeling/layers/transformer_xl.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/transformer_xl_test.py b/official/nlp/modeling/layers/transformer_xl_test.py index 94945c962..375d96ec8 100644 --- a/official/nlp/modeling/layers/transformer_xl_test.py +++ b/official/nlp/modeling/layers/transformer_xl_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/layers/util.py b/official/nlp/modeling/layers/util.py index d9562e24d..a3a782071 100644 --- a/official/nlp/modeling/layers/util.py +++ b/official/nlp/modeling/layers/util.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/losses/__init__.py b/official/nlp/modeling/losses/__init__.py index cdd2c29f1..2cb70ee5e 100644 --- a/official/nlp/modeling/losses/__init__.py +++ b/official/nlp/modeling/losses/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/losses/weighted_sparse_categorical_crossentropy.py b/official/nlp/modeling/losses/weighted_sparse_categorical_crossentropy.py index d777800c6..81c9b38c5 100644 --- a/official/nlp/modeling/losses/weighted_sparse_categorical_crossentropy.py +++ b/official/nlp/modeling/losses/weighted_sparse_categorical_crossentropy.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/losses/weighted_sparse_categorical_crossentropy_test.py b/official/nlp/modeling/losses/weighted_sparse_categorical_crossentropy_test.py index f890d5b7e..3acab5339 100644 --- a/official/nlp/modeling/losses/weighted_sparse_categorical_crossentropy_test.py +++ b/official/nlp/modeling/losses/weighted_sparse_categorical_crossentropy_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/__init__.py b/official/nlp/modeling/models/__init__.py index 456d06629..afe28858b 100644 --- a/official/nlp/modeling/models/__init__.py +++ b/official/nlp/modeling/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/bert_classifier.py b/official/nlp/modeling/models/bert_classifier.py index 72a29b24a..105f00497 100644 --- a/official/nlp/modeling/models/bert_classifier.py +++ b/official/nlp/modeling/models/bert_classifier.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/bert_classifier_test.py b/official/nlp/modeling/models/bert_classifier_test.py index 52d315782..98c4d8287 100644 --- a/official/nlp/modeling/models/bert_classifier_test.py +++ b/official/nlp/modeling/models/bert_classifier_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/bert_pretrainer.py b/official/nlp/modeling/models/bert_pretrainer.py index dc75da76d..9fefce805 100644 --- a/official/nlp/modeling/models/bert_pretrainer.py +++ b/official/nlp/modeling/models/bert_pretrainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/bert_pretrainer_test.py b/official/nlp/modeling/models/bert_pretrainer_test.py index 152dce89d..869777372 100644 --- a/official/nlp/modeling/models/bert_pretrainer_test.py +++ b/official/nlp/modeling/models/bert_pretrainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/bert_span_labeler.py b/official/nlp/modeling/models/bert_span_labeler.py index a444ebbf9..5edc62967 100644 --- a/official/nlp/modeling/models/bert_span_labeler.py +++ b/official/nlp/modeling/models/bert_span_labeler.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/bert_span_labeler_test.py b/official/nlp/modeling/models/bert_span_labeler_test.py index 59d0e256c..9f9da14c3 100644 --- a/official/nlp/modeling/models/bert_span_labeler_test.py +++ b/official/nlp/modeling/models/bert_span_labeler_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/bert_token_classifier.py b/official/nlp/modeling/models/bert_token_classifier.py index 340d92fd6..6375aa4b6 100644 --- a/official/nlp/modeling/models/bert_token_classifier.py +++ b/official/nlp/modeling/models/bert_token_classifier.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/bert_token_classifier_test.py b/official/nlp/modeling/models/bert_token_classifier_test.py index 8af089763..83765f5fe 100644 --- a/official/nlp/modeling/models/bert_token_classifier_test.py +++ b/official/nlp/modeling/models/bert_token_classifier_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/dual_encoder.py b/official/nlp/modeling/models/dual_encoder.py index 7fa496e89..b5b948c11 100644 --- a/official/nlp/modeling/models/dual_encoder.py +++ b/official/nlp/modeling/models/dual_encoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/dual_encoder_test.py b/official/nlp/modeling/models/dual_encoder_test.py index 30d3d4793..699277966 100644 --- a/official/nlp/modeling/models/dual_encoder_test.py +++ b/official/nlp/modeling/models/dual_encoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/electra_pretrainer.py b/official/nlp/modeling/models/electra_pretrainer.py index dcbbc5521..96ab689e5 100644 --- a/official/nlp/modeling/models/electra_pretrainer.py +++ b/official/nlp/modeling/models/electra_pretrainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/electra_pretrainer_test.py b/official/nlp/modeling/models/electra_pretrainer_test.py index d5d44fa49..238649349 100644 --- a/official/nlp/modeling/models/electra_pretrainer_test.py +++ b/official/nlp/modeling/models/electra_pretrainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/seq2seq_transformer.py b/official/nlp/modeling/models/seq2seq_transformer.py index 3ec765f7a..d33e69025 100644 --- a/official/nlp/modeling/models/seq2seq_transformer.py +++ b/official/nlp/modeling/models/seq2seq_transformer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/seq2seq_transformer_test.py b/official/nlp/modeling/models/seq2seq_transformer_test.py index 85e7672fc..f45f5f3ce 100644 --- a/official/nlp/modeling/models/seq2seq_transformer_test.py +++ b/official/nlp/modeling/models/seq2seq_transformer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/t5.py b/official/nlp/modeling/models/t5.py index 61f909710..303a2c6d6 100644 --- a/official/nlp/modeling/models/t5.py +++ b/official/nlp/modeling/models/t5.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/t5_test.py b/official/nlp/modeling/models/t5_test.py index 86acae973..50af85f30 100644 --- a/official/nlp/modeling/models/t5_test.py +++ b/official/nlp/modeling/models/t5_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/xlnet.py b/official/nlp/modeling/models/xlnet.py index c359c20e9..eea637e03 100644 --- a/official/nlp/modeling/models/xlnet.py +++ b/official/nlp/modeling/models/xlnet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/models/xlnet_test.py b/official/nlp/modeling/models/xlnet_test.py index 74480a48d..e22883508 100644 --- a/official/nlp/modeling/models/xlnet_test.py +++ b/official/nlp/modeling/models/xlnet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/__init__.py b/official/nlp/modeling/networks/__init__.py index 137bc3ac4..b9e766e2c 100644 --- a/official/nlp/modeling/networks/__init__.py +++ b/official/nlp/modeling/networks/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/albert_encoder.py b/official/nlp/modeling/networks/albert_encoder.py index f7453787b..bdca75751 100644 --- a/official/nlp/modeling/networks/albert_encoder.py +++ b/official/nlp/modeling/networks/albert_encoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/albert_encoder_test.py b/official/nlp/modeling/networks/albert_encoder_test.py index f3cb60c36..f7116afc9 100644 --- a/official/nlp/modeling/networks/albert_encoder_test.py +++ b/official/nlp/modeling/networks/albert_encoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/bert_dense_encoder_test.py b/official/nlp/modeling/networks/bert_dense_encoder_test.py index 5f14aac69..3f884e9a3 100644 --- a/official/nlp/modeling/networks/bert_dense_encoder_test.py +++ b/official/nlp/modeling/networks/bert_dense_encoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/bert_encoder.py b/official/nlp/modeling/networks/bert_encoder.py index a98918bf8..ed2f3dd6c 100644 --- a/official/nlp/modeling/networks/bert_encoder.py +++ b/official/nlp/modeling/networks/bert_encoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/bert_encoder_test.py b/official/nlp/modeling/networks/bert_encoder_test.py index 9b3b08267..acf773af7 100644 --- a/official/nlp/modeling/networks/bert_encoder_test.py +++ b/official/nlp/modeling/networks/bert_encoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/classification.py b/official/nlp/modeling/networks/classification.py index b91810796..67fa0dd26 100644 --- a/official/nlp/modeling/networks/classification.py +++ b/official/nlp/modeling/networks/classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/classification_test.py b/official/nlp/modeling/networks/classification_test.py index ba0360855..3f0551813 100644 --- a/official/nlp/modeling/networks/classification_test.py +++ b/official/nlp/modeling/networks/classification_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/encoder_scaffold.py b/official/nlp/modeling/networks/encoder_scaffold.py index b71a74b70..4f546f932 100644 --- a/official/nlp/modeling/networks/encoder_scaffold.py +++ b/official/nlp/modeling/networks/encoder_scaffold.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/encoder_scaffold_test.py b/official/nlp/modeling/networks/encoder_scaffold_test.py index 433343ae8..bc0b02e3c 100644 --- a/official/nlp/modeling/networks/encoder_scaffold_test.py +++ b/official/nlp/modeling/networks/encoder_scaffold_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/funnel_transformer.py b/official/nlp/modeling/networks/funnel_transformer.py index fd3d10c11..8e1c2c0a2 100644 --- a/official/nlp/modeling/networks/funnel_transformer.py +++ b/official/nlp/modeling/networks/funnel_transformer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/funnel_transformer_test.py b/official/nlp/modeling/networks/funnel_transformer_test.py index 26a519d43..c883424d4 100644 --- a/official/nlp/modeling/networks/funnel_transformer_test.py +++ b/official/nlp/modeling/networks/funnel_transformer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/mobile_bert_encoder.py b/official/nlp/modeling/networks/mobile_bert_encoder.py index 8f3dcd9f2..710691a70 100644 --- a/official/nlp/modeling/networks/mobile_bert_encoder.py +++ b/official/nlp/modeling/networks/mobile_bert_encoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/mobile_bert_encoder_test.py b/official/nlp/modeling/networks/mobile_bert_encoder_test.py index 2360e7202..1b119005b 100644 --- a/official/nlp/modeling/networks/mobile_bert_encoder_test.py +++ b/official/nlp/modeling/networks/mobile_bert_encoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/packed_sequence_embedding.py b/official/nlp/modeling/networks/packed_sequence_embedding.py index 353c5e88e..18ff59f4f 100644 --- a/official/nlp/modeling/networks/packed_sequence_embedding.py +++ b/official/nlp/modeling/networks/packed_sequence_embedding.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/packed_sequence_embedding_test.py b/official/nlp/modeling/networks/packed_sequence_embedding_test.py index bfab20ba3..64080f3c8 100644 --- a/official/nlp/modeling/networks/packed_sequence_embedding_test.py +++ b/official/nlp/modeling/networks/packed_sequence_embedding_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/span_labeling.py b/official/nlp/modeling/networks/span_labeling.py index efbf69d19..6dc73d3ab 100644 --- a/official/nlp/modeling/networks/span_labeling.py +++ b/official/nlp/modeling/networks/span_labeling.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/span_labeling_test.py b/official/nlp/modeling/networks/span_labeling_test.py index 45084520e..a51a0a7c6 100644 --- a/official/nlp/modeling/networks/span_labeling_test.py +++ b/official/nlp/modeling/networks/span_labeling_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/xlnet_base.py b/official/nlp/modeling/networks/xlnet_base.py index ce32d3dfd..fbb276a70 100644 --- a/official/nlp/modeling/networks/xlnet_base.py +++ b/official/nlp/modeling/networks/xlnet_base.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/networks/xlnet_base_test.py b/official/nlp/modeling/networks/xlnet_base_test.py index 81db32487..c2abda387 100644 --- a/official/nlp/modeling/networks/xlnet_base_test.py +++ b/official/nlp/modeling/networks/xlnet_base_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/ops/__init__.py b/official/nlp/modeling/ops/__init__.py index e21f33273..3e1c9d52d 100644 --- a/official/nlp/modeling/ops/__init__.py +++ b/official/nlp/modeling/ops/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/ops/beam_search.py b/official/nlp/modeling/ops/beam_search.py index eddb31212..fc406819f 100644 --- a/official/nlp/modeling/ops/beam_search.py +++ b/official/nlp/modeling/ops/beam_search.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/ops/beam_search_test.py b/official/nlp/modeling/ops/beam_search_test.py index 6b46868c3..6a541a128 100644 --- a/official/nlp/modeling/ops/beam_search_test.py +++ b/official/nlp/modeling/ops/beam_search_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/ops/decoding_module.py b/official/nlp/modeling/ops/decoding_module.py index bfd928f13..40a02bb4b 100644 --- a/official/nlp/modeling/ops/decoding_module.py +++ b/official/nlp/modeling/ops/decoding_module.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/ops/decoding_module_test.py b/official/nlp/modeling/ops/decoding_module_test.py index da444ed53..f29b5d672 100644 --- a/official/nlp/modeling/ops/decoding_module_test.py +++ b/official/nlp/modeling/ops/decoding_module_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/ops/sampling_module.py b/official/nlp/modeling/ops/sampling_module.py index dc396b7b1..4278ef2c0 100644 --- a/official/nlp/modeling/ops/sampling_module.py +++ b/official/nlp/modeling/ops/sampling_module.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/ops/segment_extractor.py b/official/nlp/modeling/ops/segment_extractor.py index e01649e4a..8016b65cd 100644 --- a/official/nlp/modeling/ops/segment_extractor.py +++ b/official/nlp/modeling/ops/segment_extractor.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/modeling/ops/segment_extractor_test.py b/official/nlp/modeling/ops/segment_extractor_test.py index 6b4094b87..3fb6f5667 100644 --- a/official/nlp/modeling/ops/segment_extractor_test.py +++ b/official/nlp/modeling/ops/segment_extractor_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/optimization.py b/official/nlp/optimization.py index 4040b73e9..48d55aaa0 100644 --- a/official/nlp/optimization.py +++ b/official/nlp/optimization.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/serving/export_savedmodel.py b/official/nlp/serving/export_savedmodel.py index 6a1052a80..81300efba 100644 --- a/official/nlp/serving/export_savedmodel.py +++ b/official/nlp/serving/export_savedmodel.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/serving/export_savedmodel_test.py b/official/nlp/serving/export_savedmodel_test.py index 2891a9499..1f1a82a90 100644 --- a/official/nlp/serving/export_savedmodel_test.py +++ b/official/nlp/serving/export_savedmodel_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/serving/export_savedmodel_util.py b/official/nlp/serving/export_savedmodel_util.py index b4363f434..8fe163c72 100644 --- a/official/nlp/serving/export_savedmodel_util.py +++ b/official/nlp/serving/export_savedmodel_util.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/serving/serving_modules.py b/official/nlp/serving/serving_modules.py index 661f8586e..85e678f20 100644 --- a/official/nlp/serving/serving_modules.py +++ b/official/nlp/serving/serving_modules.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/serving/serving_modules_test.py b/official/nlp/serving/serving_modules_test.py index 94a5a9655..54fa8d5ee 100644 --- a/official/nlp/serving/serving_modules_test.py +++ b/official/nlp/serving/serving_modules_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/__init__.py b/official/nlp/tasks/__init__.py index e506913b0..cec41dff1 100644 --- a/official/nlp/tasks/__init__.py +++ b/official/nlp/tasks/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/dual_encoder.py b/official/nlp/tasks/dual_encoder.py index 24c750d9e..e7c283184 100644 --- a/official/nlp/tasks/dual_encoder.py +++ b/official/nlp/tasks/dual_encoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/dual_encoder_test.py b/official/nlp/tasks/dual_encoder_test.py index 96763871f..1ba7da18e 100644 --- a/official/nlp/tasks/dual_encoder_test.py +++ b/official/nlp/tasks/dual_encoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/electra_task.py b/official/nlp/tasks/electra_task.py index 6853a2cc2..9473c0d4e 100644 --- a/official/nlp/tasks/electra_task.py +++ b/official/nlp/tasks/electra_task.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/electra_task_test.py b/official/nlp/tasks/electra_task_test.py index 4f775d269..4018c9220 100644 --- a/official/nlp/tasks/electra_task_test.py +++ b/official/nlp/tasks/electra_task_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/masked_lm.py b/official/nlp/tasks/masked_lm.py index 8e5802ada..f784b1416 100644 --- a/official/nlp/tasks/masked_lm.py +++ b/official/nlp/tasks/masked_lm.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/masked_lm_test.py b/official/nlp/tasks/masked_lm_test.py index 14774e985..221fa6c09 100644 --- a/official/nlp/tasks/masked_lm_test.py +++ b/official/nlp/tasks/masked_lm_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/question_answering.py b/official/nlp/tasks/question_answering.py index aee3fab88..817c9da66 100644 --- a/official/nlp/tasks/question_answering.py +++ b/official/nlp/tasks/question_answering.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/question_answering_test.py b/official/nlp/tasks/question_answering_test.py index aa79e3ae8..cc50592a8 100644 --- a/official/nlp/tasks/question_answering_test.py +++ b/official/nlp/tasks/question_answering_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/sentence_prediction.py b/official/nlp/tasks/sentence_prediction.py index abc038a00..86d07c233 100644 --- a/official/nlp/tasks/sentence_prediction.py +++ b/official/nlp/tasks/sentence_prediction.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/sentence_prediction_test.py b/official/nlp/tasks/sentence_prediction_test.py index 94d056fee..3155c4e1b 100644 --- a/official/nlp/tasks/sentence_prediction_test.py +++ b/official/nlp/tasks/sentence_prediction_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/tagging.py b/official/nlp/tasks/tagging.py index bf6a3b7b1..5f2a3f64f 100644 --- a/official/nlp/tasks/tagging.py +++ b/official/nlp/tasks/tagging.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/tagging_test.py b/official/nlp/tasks/tagging_test.py index 98ac97627..e888abb56 100644 --- a/official/nlp/tasks/tagging_test.py +++ b/official/nlp/tasks/tagging_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/translation.py b/official/nlp/tasks/translation.py index 736d68e3e..bb9591d46 100644 --- a/official/nlp/tasks/translation.py +++ b/official/nlp/tasks/translation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/translation_test.py b/official/nlp/tasks/translation_test.py index a7f9d1c09..30cd8b7f3 100644 --- a/official/nlp/tasks/translation_test.py +++ b/official/nlp/tasks/translation_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tasks/utils.py b/official/nlp/tasks/utils.py index 35be4e3d4..44295e659 100644 --- a/official/nlp/tasks/utils.py +++ b/official/nlp/tasks/utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tools/__init__.py b/official/nlp/tools/__init__.py index a25710c22..ba97902e7 100644 --- a/official/nlp/tools/__init__.py +++ b/official/nlp/tools/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tools/export_tfhub.py b/official/nlp/tools/export_tfhub.py index 0effd5686..d5824f070 100644 --- a/official/nlp/tools/export_tfhub.py +++ b/official/nlp/tools/export_tfhub.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tools/export_tfhub_lib.py b/official/nlp/tools/export_tfhub_lib.py index 7062e4166..30f02f121 100644 --- a/official/nlp/tools/export_tfhub_lib.py +++ b/official/nlp/tools/export_tfhub_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tools/export_tfhub_lib_test.py b/official/nlp/tools/export_tfhub_lib_test.py index d2fade8e9..68f959ee9 100644 --- a/official/nlp/tools/export_tfhub_lib_test.py +++ b/official/nlp/tools/export_tfhub_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/tools/tf2_albert_encoder_checkpoint_converter.py b/official/nlp/tools/tf2_albert_encoder_checkpoint_converter.py index e3b599818..979669192 100644 --- a/official/nlp/tools/tf2_albert_encoder_checkpoint_converter.py +++ b/official/nlp/tools/tf2_albert_encoder_checkpoint_converter.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/train.py b/official/nlp/train.py index 6d022fdb6..feef3d54e 100644 --- a/official/nlp/train.py +++ b/official/nlp/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/__init__.py b/official/nlp/xlnet/__init__.py index a25710c22..ba97902e7 100644 --- a/official/nlp/xlnet/__init__.py +++ b/official/nlp/xlnet/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/classifier_utils.py b/official/nlp/xlnet/classifier_utils.py index cb8acee08..3822db254 100644 --- a/official/nlp/xlnet/classifier_utils.py +++ b/official/nlp/xlnet/classifier_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/common_flags.py b/official/nlp/xlnet/common_flags.py index 549e7b036..b1ee5c3e8 100644 --- a/official/nlp/xlnet/common_flags.py +++ b/official/nlp/xlnet/common_flags.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/data_utils.py b/official/nlp/xlnet/data_utils.py index 58ffdbffc..0048832d6 100644 --- a/official/nlp/xlnet/data_utils.py +++ b/official/nlp/xlnet/data_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/optimization.py b/official/nlp/xlnet/optimization.py index d6954ab9f..28be940e1 100644 --- a/official/nlp/xlnet/optimization.py +++ b/official/nlp/xlnet/optimization.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/preprocess_classification_data.py b/official/nlp/xlnet/preprocess_classification_data.py index e8d42fa4e..6ab171611 100644 --- a/official/nlp/xlnet/preprocess_classification_data.py +++ b/official/nlp/xlnet/preprocess_classification_data.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/preprocess_pretrain_data.py b/official/nlp/xlnet/preprocess_pretrain_data.py index 3facc98f5..f1efe7589 100644 --- a/official/nlp/xlnet/preprocess_pretrain_data.py +++ b/official/nlp/xlnet/preprocess_pretrain_data.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/preprocess_squad_data.py b/official/nlp/xlnet/preprocess_squad_data.py index e1d495650..405356ada 100644 --- a/official/nlp/xlnet/preprocess_squad_data.py +++ b/official/nlp/xlnet/preprocess_squad_data.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/preprocess_utils.py b/official/nlp/xlnet/preprocess_utils.py index 5c714a0c1..19cae9174 100644 --- a/official/nlp/xlnet/preprocess_utils.py +++ b/official/nlp/xlnet/preprocess_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/run_classifier.py b/official/nlp/xlnet/run_classifier.py index f2681e0ce..c3b181fe9 100644 --- a/official/nlp/xlnet/run_classifier.py +++ b/official/nlp/xlnet/run_classifier.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/run_pretrain.py b/official/nlp/xlnet/run_pretrain.py index 80ab0bd4d..bb233988d 100644 --- a/official/nlp/xlnet/run_pretrain.py +++ b/official/nlp/xlnet/run_pretrain.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/run_squad.py b/official/nlp/xlnet/run_squad.py index a6126295e..4054d7744 100644 --- a/official/nlp/xlnet/run_squad.py +++ b/official/nlp/xlnet/run_squad.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/squad_utils.py b/official/nlp/xlnet/squad_utils.py index 44a7b7dee..84ed3ecdd 100644 --- a/official/nlp/xlnet/squad_utils.py +++ b/official/nlp/xlnet/squad_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/training_utils.py b/official/nlp/xlnet/training_utils.py index 45afaa76d..c487d74f4 100644 --- a/official/nlp/xlnet/training_utils.py +++ b/official/nlp/xlnet/training_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/xlnet_config.py b/official/nlp/xlnet/xlnet_config.py index c0f51955b..d8ee7e6a0 100644 --- a/official/nlp/xlnet/xlnet_config.py +++ b/official/nlp/xlnet/xlnet_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/nlp/xlnet/xlnet_modeling.py b/official/nlp/xlnet/xlnet_modeling.py index b48aff4e7..dfd536c87 100644 --- a/official/nlp/xlnet/xlnet_modeling.py +++ b/official/nlp/xlnet/xlnet_modeling.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/pip_package/setup.py b/official/pip_package/setup.py index 56087d7c1..0e26cf343 100644 --- a/official/pip_package/setup.py +++ b/official/pip_package/setup.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/__init__.py b/official/projects/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/__init__.py +++ b/official/projects/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/assemblenet/configs/assemblenet.py b/official/projects/assemblenet/configs/assemblenet.py index e021f3a4b..42dde0291 100644 --- a/official/projects/assemblenet/configs/assemblenet.py +++ b/official/projects/assemblenet/configs/assemblenet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/assemblenet/configs/assemblenet_test.py b/official/projects/assemblenet/configs/assemblenet_test.py index 26fc08edc..13d0adfce 100644 --- a/official/projects/assemblenet/configs/assemblenet_test.py +++ b/official/projects/assemblenet/configs/assemblenet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/assemblenet/modeling/assemblenet.py b/official/projects/assemblenet/modeling/assemblenet.py index f84f38a85..f88b4135e 100644 --- a/official/projects/assemblenet/modeling/assemblenet.py +++ b/official/projects/assemblenet/modeling/assemblenet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/assemblenet/modeling/assemblenet_plus.py b/official/projects/assemblenet/modeling/assemblenet_plus.py index 85d762901..89ee2cb33 100644 --- a/official/projects/assemblenet/modeling/assemblenet_plus.py +++ b/official/projects/assemblenet/modeling/assemblenet_plus.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/assemblenet/modeling/assemblenet_plus_test.py b/official/projects/assemblenet/modeling/assemblenet_plus_test.py index 5eb6ae810..a2799c0b0 100644 --- a/official/projects/assemblenet/modeling/assemblenet_plus_test.py +++ b/official/projects/assemblenet/modeling/assemblenet_plus_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/assemblenet/modeling/rep_flow_2d_layer.py b/official/projects/assemblenet/modeling/rep_flow_2d_layer.py index d29968a66..439ba804f 100644 --- a/official/projects/assemblenet/modeling/rep_flow_2d_layer.py +++ b/official/projects/assemblenet/modeling/rep_flow_2d_layer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/assemblenet/train.py b/official/projects/assemblenet/train.py index 3107f807d..df7ae4136 100644 --- a/official/projects/assemblenet/train.py +++ b/official/projects/assemblenet/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/assemblenet/train_test.py b/official/projects/assemblenet/train_test.py index c07fa1c63..e01a473bc 100644 --- a/official/projects/assemblenet/train_test.py +++ b/official/projects/assemblenet/train_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/configs/basnet.py b/official/projects/basnet/configs/basnet.py index 6a79e370f..6981e2864 100644 --- a/official/projects/basnet/configs/basnet.py +++ b/official/projects/basnet/configs/basnet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/configs/basnet_test.py b/official/projects/basnet/configs/basnet_test.py index 2d0c40ef0..3e474ab09 100644 --- a/official/projects/basnet/configs/basnet_test.py +++ b/official/projects/basnet/configs/basnet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/evaluation/metrics.py b/official/projects/basnet/evaluation/metrics.py index 0126bbc35..88fb59072 100644 --- a/official/projects/basnet/evaluation/metrics.py +++ b/official/projects/basnet/evaluation/metrics.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/evaluation/metrics_test.py b/official/projects/basnet/evaluation/metrics_test.py index 26cb7d835..e37b0185f 100644 --- a/official/projects/basnet/evaluation/metrics_test.py +++ b/official/projects/basnet/evaluation/metrics_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/losses/basnet_losses.py b/official/projects/basnet/losses/basnet_losses.py index ece1f8646..023d3c635 100644 --- a/official/projects/basnet/losses/basnet_losses.py +++ b/official/projects/basnet/losses/basnet_losses.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/modeling/basnet_model.py b/official/projects/basnet/modeling/basnet_model.py index cdcc978a8..09970af6a 100644 --- a/official/projects/basnet/modeling/basnet_model.py +++ b/official/projects/basnet/modeling/basnet_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/modeling/basnet_model_test.py b/official/projects/basnet/modeling/basnet_model_test.py index 8f919d7fa..8f59904e5 100644 --- a/official/projects/basnet/modeling/basnet_model_test.py +++ b/official/projects/basnet/modeling/basnet_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/modeling/nn_blocks.py b/official/projects/basnet/modeling/nn_blocks.py index c0815ab70..1254c9c78 100644 --- a/official/projects/basnet/modeling/nn_blocks.py +++ b/official/projects/basnet/modeling/nn_blocks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/modeling/refunet.py b/official/projects/basnet/modeling/refunet.py index 0a730f4c7..a052adc9e 100644 --- a/official/projects/basnet/modeling/refunet.py +++ b/official/projects/basnet/modeling/refunet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/serving/basnet.py b/official/projects/basnet/serving/basnet.py index 84c0617c1..1734ac927 100644 --- a/official/projects/basnet/serving/basnet.py +++ b/official/projects/basnet/serving/basnet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/serving/export_saved_model.py b/official/projects/basnet/serving/export_saved_model.py index a08a1bf5a..d1b7b370b 100644 --- a/official/projects/basnet/serving/export_saved_model.py +++ b/official/projects/basnet/serving/export_saved_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/tasks/basnet.py b/official/projects/basnet/tasks/basnet.py index 99e97586a..5cb71d883 100644 --- a/official/projects/basnet/tasks/basnet.py +++ b/official/projects/basnet/tasks/basnet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/basnet/train.py b/official/projects/basnet/train.py index c65604f5d..490c35668 100644 --- a/official/projects/basnet/train.py +++ b/official/projects/basnet/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/bigbird/__init__.py b/official/projects/bigbird/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/bigbird/__init__.py +++ b/official/projects/bigbird/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/bigbird/encoder.py b/official/projects/bigbird/encoder.py index ad0c938b6..991a7de12 100644 --- a/official/projects/bigbird/encoder.py +++ b/official/projects/bigbird/encoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/bigbird/encoder_test.py b/official/projects/bigbird/encoder_test.py index 61bdeb1bb..9b6833720 100644 --- a/official/projects/bigbird/encoder_test.py +++ b/official/projects/bigbird/encoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/bigbird/experiment_configs.py b/official/projects/bigbird/experiment_configs.py index 35de84210..0ad3e4e58 100644 --- a/official/projects/bigbird/experiment_configs.py +++ b/official/projects/bigbird/experiment_configs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/bigbird/recompute_grad.py b/official/projects/bigbird/recompute_grad.py index d570ba848..be9424d60 100644 --- a/official/projects/bigbird/recompute_grad.py +++ b/official/projects/bigbird/recompute_grad.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/bigbird/recomputing_dropout.py b/official/projects/bigbird/recomputing_dropout.py index 98b8ee701..fb3e565b9 100644 --- a/official/projects/bigbird/recomputing_dropout.py +++ b/official/projects/bigbird/recomputing_dropout.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/bigbird/stateless_dropout.py b/official/projects/bigbird/stateless_dropout.py index d61b313b5..49941253c 100644 --- a/official/projects/bigbird/stateless_dropout.py +++ b/official/projects/bigbird/stateless_dropout.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/__init__.py b/official/projects/edgetpu/nlp/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/nlp/__init__.py +++ b/official/projects/edgetpu/nlp/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/configs/__init__.py b/official/projects/edgetpu/nlp/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/nlp/configs/__init__.py +++ b/official/projects/edgetpu/nlp/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/configs/params.py b/official/projects/edgetpu/nlp/configs/params.py index fc8a5f4e9..39a83ba26 100644 --- a/official/projects/edgetpu/nlp/configs/params.py +++ b/official/projects/edgetpu/nlp/configs/params.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/mobilebert_edgetpu_trainer.py b/official/projects/edgetpu/nlp/mobilebert_edgetpu_trainer.py index 8e57ef9b1..2adeb246b 100644 --- a/official/projects/edgetpu/nlp/mobilebert_edgetpu_trainer.py +++ b/official/projects/edgetpu/nlp/mobilebert_edgetpu_trainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/mobilebert_edgetpu_trainer_test.py b/official/projects/edgetpu/nlp/mobilebert_edgetpu_trainer_test.py index 82afbca22..b411c4946 100644 --- a/official/projects/edgetpu/nlp/mobilebert_edgetpu_trainer_test.py +++ b/official/projects/edgetpu/nlp/mobilebert_edgetpu_trainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/modeling/__init__.py b/official/projects/edgetpu/nlp/modeling/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/nlp/modeling/__init__.py +++ b/official/projects/edgetpu/nlp/modeling/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/modeling/edgetpu_layers.py b/official/projects/edgetpu/nlp/modeling/edgetpu_layers.py index fd1ea5cc7..95c08ec73 100644 --- a/official/projects/edgetpu/nlp/modeling/edgetpu_layers.py +++ b/official/projects/edgetpu/nlp/modeling/edgetpu_layers.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/modeling/edgetpu_layers_test.py b/official/projects/edgetpu/nlp/modeling/edgetpu_layers_test.py index 477eea258..1ed5570d2 100644 --- a/official/projects/edgetpu/nlp/modeling/edgetpu_layers_test.py +++ b/official/projects/edgetpu/nlp/modeling/edgetpu_layers_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/modeling/encoder.py b/official/projects/edgetpu/nlp/modeling/encoder.py index 0693a0ac1..a3790da7f 100644 --- a/official/projects/edgetpu/nlp/modeling/encoder.py +++ b/official/projects/edgetpu/nlp/modeling/encoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/modeling/model_builder.py b/official/projects/edgetpu/nlp/modeling/model_builder.py index b78916dd2..09ab3a3de 100644 --- a/official/projects/edgetpu/nlp/modeling/model_builder.py +++ b/official/projects/edgetpu/nlp/modeling/model_builder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/modeling/model_builder_test.py b/official/projects/edgetpu/nlp/modeling/model_builder_test.py index 96461fb31..159dd2d7b 100644 --- a/official/projects/edgetpu/nlp/modeling/model_builder_test.py +++ b/official/projects/edgetpu/nlp/modeling/model_builder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/modeling/pretrainer.py b/official/projects/edgetpu/nlp/modeling/pretrainer.py index 8a81021c0..8607f3e81 100644 --- a/official/projects/edgetpu/nlp/modeling/pretrainer.py +++ b/official/projects/edgetpu/nlp/modeling/pretrainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/modeling/pretrainer_test.py b/official/projects/edgetpu/nlp/modeling/pretrainer_test.py index 67741cbf6..e896d0da1 100644 --- a/official/projects/edgetpu/nlp/modeling/pretrainer_test.py +++ b/official/projects/edgetpu/nlp/modeling/pretrainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/run_mobilebert_edgetpu_train.py b/official/projects/edgetpu/nlp/run_mobilebert_edgetpu_train.py index 2a9e671f9..812a0d051 100644 --- a/official/projects/edgetpu/nlp/run_mobilebert_edgetpu_train.py +++ b/official/projects/edgetpu/nlp/run_mobilebert_edgetpu_train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/serving/__init__.py b/official/projects/edgetpu/nlp/serving/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/nlp/serving/__init__.py +++ b/official/projects/edgetpu/nlp/serving/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/serving/export_tflite_squad.py b/official/projects/edgetpu/nlp/serving/export_tflite_squad.py index acd391986..ea82850be 100644 --- a/official/projects/edgetpu/nlp/serving/export_tflite_squad.py +++ b/official/projects/edgetpu/nlp/serving/export_tflite_squad.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/serving/export_tflite_squad_test.py b/official/projects/edgetpu/nlp/serving/export_tflite_squad_test.py index 300c66b35..10c1b0d51 100644 --- a/official/projects/edgetpu/nlp/serving/export_tflite_squad_test.py +++ b/official/projects/edgetpu/nlp/serving/export_tflite_squad_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/utils/__init__.py b/official/projects/edgetpu/nlp/utils/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/nlp/utils/__init__.py +++ b/official/projects/edgetpu/nlp/utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/utils/utils.py b/official/projects/edgetpu/nlp/utils/utils.py index 956045026..ea0594a16 100644 --- a/official/projects/edgetpu/nlp/utils/utils.py +++ b/official/projects/edgetpu/nlp/utils/utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/nlp/utils/utils_test.py b/official/projects/edgetpu/nlp/utils/utils_test.py index 37cb0efbd..82131baab 100644 --- a/official/projects/edgetpu/nlp/utils/utils_test.py +++ b/official/projects/edgetpu/nlp/utils/utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/README.md b/official/projects/edgetpu/vision/README.md index d1a4d3fd7..bac9b71b4 100644 --- a/official/projects/edgetpu/vision/README.md +++ b/official/projects/edgetpu/vision/README.md @@ -78,10 +78,10 @@ models for 224x224 input resolution: Model (Checkpoint) | Accuracy (int8) | Pixel 6 Edge TPU Latency (ms) | tflite ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------: | :---------------------------: | :----: [MobileNetEdgeTPUv2-Tiny](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet-edgetpu-v2-tiny.tar.gz) | 74.66% | 0.78 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet_edgetpu_v2_tiny.tflite) -[MobileNetEdgeTPUv2-XS](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet-edgetpu-v2-xs.tar.gz) | 75.79% | 0.82 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet_edgetpu_v2_xs.tflite) -[MobileNetEdgeTPUv2-S](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet-edgetpu-v2-s.tar.gz) | 77.36% | 1.03 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet_edgetpu_v2_s.tflite) -[MobileNetEdgeTPUv2-M](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet-edgetpu-v2-m.tar.gz) | 78.43% | 1.35 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet_edgetpu_v2_m.tflite) -[MobileNetEdgeTPUv2-L](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet-edgetpu-v2-l.tar.gz) | 79.00% | 1.64 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet_edgetpu_v2_l.tflite) +[MobileNetEdgeTPUv2-XS](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/xs/mobilenet-edgetpu-v2-xs.tar.gz) | 75.79% | 0.82 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet_edgetpu_v2_xs.tflite) +[MobileNetEdgeTPUv2-S](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/s/mobilenet-edgetpu-v2-s.tar.gz) | 77.36% | 1.03 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet_edgetpu_v2_s.tflite) +[MobileNetEdgeTPUv2-M](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/m/mobilenet-edgetpu-v2-m.tar.gz) | 78.43% | 1.35 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet_edgetpu_v2_m.tflite) +[MobileNetEdgeTPUv2-L](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/l/mobilenet-edgetpu-v2-l.tar.gz) | 79.00% | 1.64 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v2/tiny/mobilenet_edgetpu_v2_l.tflite) [MobileNetEdgeTPU dm1.0](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v1/dm1p0/mobilenet-edgetpu-dm1p0.tar.gz) | 75.6% | 0.92 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v1/dm1p0/mobilenet_edgetpu.tflite) [MobileNetEdgeTPU dm1.25](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v1/dm1p25/mobilenet-edgetpu-dm1p25.tar.gz) | 77.06% | 1.20 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v1/dm1p25/mobilenet_edgetpu_dm1p25.tflite) [MobileNetEdgeTPU dm1.5](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v1/dm1p5/mobilenet-edgetpu-dm1p5.tar.gz) | 75.9% | 1.42 | [link](https://storage.cloud.google.com/tf_model_garden/models/edgetpu/checkpoint_and_tflite/vision/mobilenet-edgetpu-v1/dm1p5/mobilenet_edgetpu_dm1p5.tflite) diff --git a/official/projects/edgetpu/vision/__init__.py b/official/projects/edgetpu/vision/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/vision/__init__.py +++ b/official/projects/edgetpu/vision/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/configs/__init__.py b/official/projects/edgetpu/vision/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/vision/configs/__init__.py +++ b/official/projects/edgetpu/vision/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/configs/mobilenet_edgetpu_config.py b/official/projects/edgetpu/vision/configs/mobilenet_edgetpu_config.py index 5ce1c3eb4..c1411c334 100644 --- a/official/projects/edgetpu/vision/configs/mobilenet_edgetpu_config.py +++ b/official/projects/edgetpu/vision/configs/mobilenet_edgetpu_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/configs/semantic_segmentation_config.py b/official/projects/edgetpu/vision/configs/semantic_segmentation_config.py index dbb5e4150..4e08511e7 100644 --- a/official/projects/edgetpu/vision/configs/semantic_segmentation_config.py +++ b/official/projects/edgetpu/vision/configs/semantic_segmentation_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/configs/semantic_segmentation_searched_config.py b/official/projects/edgetpu/vision/configs/semantic_segmentation_searched_config.py index 44a5a4c04..b98c8b600 100644 --- a/official/projects/edgetpu/vision/configs/semantic_segmentation_searched_config.py +++ b/official/projects/edgetpu/vision/configs/semantic_segmentation_searched_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/dataloaders/__init__.py b/official/projects/edgetpu/vision/dataloaders/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/vision/dataloaders/__init__.py +++ b/official/projects/edgetpu/vision/dataloaders/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/dataloaders/classification_input.py b/official/projects/edgetpu/vision/dataloaders/classification_input.py index 175d1900d..76e78df6f 100644 --- a/official/projects/edgetpu/vision/dataloaders/classification_input.py +++ b/official/projects/edgetpu/vision/dataloaders/classification_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/dataloaders/classification_input_test.py b/official/projects/edgetpu/vision/dataloaders/classification_input_test.py index 437f10b8d..e04c4135d 100644 --- a/official/projects/edgetpu/vision/dataloaders/classification_input_test.py +++ b/official/projects/edgetpu/vision/dataloaders/classification_input_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/__init__.py b/official/projects/edgetpu/vision/modeling/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/vision/modeling/__init__.py +++ b/official/projects/edgetpu/vision/modeling/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/backbones/__init__.py b/official/projects/edgetpu/vision/modeling/backbones/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/vision/modeling/backbones/__init__.py +++ b/official/projects/edgetpu/vision/modeling/backbones/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu.py b/official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu.py index 0a2aafe3d..59257ca30 100644 --- a/official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu.py +++ b/official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu_test.py b/official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu_test.py index dea28630e..eaf160553 100644 --- a/official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu_test.py +++ b/official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/common_modules.py b/official/projects/edgetpu/vision/modeling/common_modules.py index 878a5702f..284a2e8e4 100644 --- a/official/projects/edgetpu/vision/modeling/common_modules.py +++ b/official/projects/edgetpu/vision/modeling/common_modules.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/custom_layers.py b/official/projects/edgetpu/vision/modeling/custom_layers.py index 7097fde2e..8a78f6b64 100644 --- a/official/projects/edgetpu/vision/modeling/custom_layers.py +++ b/official/projects/edgetpu/vision/modeling/custom_layers.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/custom_layers_test.py b/official/projects/edgetpu/vision/modeling/custom_layers_test.py index ef39c563d..c07ce224e 100644 --- a/official/projects/edgetpu/vision/modeling/custom_layers_test.py +++ b/official/projects/edgetpu/vision/modeling/custom_layers_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/heads/__init__.py b/official/projects/edgetpu/vision/modeling/heads/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/vision/modeling/heads/__init__.py +++ b/official/projects/edgetpu/vision/modeling/heads/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/heads/bifpn_head.py b/official/projects/edgetpu/vision/modeling/heads/bifpn_head.py index ea6ba275b..6fcd3d480 100644 --- a/official/projects/edgetpu/vision/modeling/heads/bifpn_head.py +++ b/official/projects/edgetpu/vision/modeling/heads/bifpn_head.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model.py b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model.py index c3b4a18cb..fa3f36cc5 100644 --- a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model.py +++ b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model_blocks.py b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model_blocks.py index 7441db5b7..29d93d3d9 100644 --- a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model_blocks.py +++ b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model_blocks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model_test.py b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model_test.py index 775e56620..a4ca070a9 100644 --- a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model_test.py +++ b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v1_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model.py b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model.py index 4cb34b94a..9321cb47e 100644 --- a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model.py +++ b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_blocks.py b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_blocks.py index c5aa89d0e..50a3bb1bf 100644 --- a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_blocks.py +++ b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_blocks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_test.py b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_test.py index 004ffeb79..7044d7d93 100644 --- a/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_test.py +++ b/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/serving/__init__.py b/official/projects/edgetpu/vision/serving/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/vision/serving/__init__.py +++ b/official/projects/edgetpu/vision/serving/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/serving/export_tflite.py b/official/projects/edgetpu/vision/serving/export_tflite.py index 3014329e3..725edd793 100644 --- a/official/projects/edgetpu/vision/serving/export_tflite.py +++ b/official/projects/edgetpu/vision/serving/export_tflite.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/serving/export_tflite_test.py b/official/projects/edgetpu/vision/serving/export_tflite_test.py index 179212c5b..6a0ae9062 100644 --- a/official/projects/edgetpu/vision/serving/export_tflite_test.py +++ b/official/projects/edgetpu/vision/serving/export_tflite_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/serving/export_util.py b/official/projects/edgetpu/vision/serving/export_util.py index a98b14982..dead79bf6 100644 --- a/official/projects/edgetpu/vision/serving/export_util.py +++ b/official/projects/edgetpu/vision/serving/export_util.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator.py b/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator.py index b28adec43..c4afb000b 100644 --- a/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator.py +++ b/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator_run.py b/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator_run.py index 5a8981da0..f74f90ac2 100644 --- a/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator_run.py +++ b/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator_run.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator_test.py b/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator_test.py index f53106900..3fcaffa45 100644 --- a/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator_test.py +++ b/official/projects/edgetpu/vision/serving/tflite_imagenet_evaluator_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/tasks/__init__.py b/official/projects/edgetpu/vision/tasks/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/edgetpu/vision/tasks/__init__.py +++ b/official/projects/edgetpu/vision/tasks/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/tasks/image_classification.py b/official/projects/edgetpu/vision/tasks/image_classification.py index cdb651a61..2293703c3 100644 --- a/official/projects/edgetpu/vision/tasks/image_classification.py +++ b/official/projects/edgetpu/vision/tasks/image_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/tasks/image_classification_test.py b/official/projects/edgetpu/vision/tasks/image_classification_test.py index 8916fc92c..b3844418c 100644 --- a/official/projects/edgetpu/vision/tasks/image_classification_test.py +++ b/official/projects/edgetpu/vision/tasks/image_classification_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/tasks/semantic_segmentation.py b/official/projects/edgetpu/vision/tasks/semantic_segmentation.py index 28477f1bd..755faa12c 100644 --- a/official/projects/edgetpu/vision/tasks/semantic_segmentation.py +++ b/official/projects/edgetpu/vision/tasks/semantic_segmentation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/tasks/semantic_segmentation_test.py b/official/projects/edgetpu/vision/tasks/semantic_segmentation_test.py index c3c637c02..0c6eeb72b 100644 --- a/official/projects/edgetpu/vision/tasks/semantic_segmentation_test.py +++ b/official/projects/edgetpu/vision/tasks/semantic_segmentation_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/edgetpu/vision/train.py b/official/projects/edgetpu/vision/train.py index 3b4a432e0..e4d987283 100644 --- a/official/projects/edgetpu/vision/train.py +++ b/official/projects/edgetpu/vision/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/mobilebert/__init__.py b/official/projects/mobilebert/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/mobilebert/__init__.py +++ b/official/projects/mobilebert/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/mobilebert/distillation.py b/official/projects/mobilebert/distillation.py index 731e32f93..87a621b0e 100644 --- a/official/projects/mobilebert/distillation.py +++ b/official/projects/mobilebert/distillation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/mobilebert/distillation_test.py b/official/projects/mobilebert/distillation_test.py index 6b80ebaa3..68ce71abb 100644 --- a/official/projects/mobilebert/distillation_test.py +++ b/official/projects/mobilebert/distillation_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/mobilebert/export_tfhub.py b/official/projects/mobilebert/export_tfhub.py index 4f065a2a9..184de577b 100644 --- a/official/projects/mobilebert/export_tfhub.py +++ b/official/projects/mobilebert/export_tfhub.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/mobilebert/model_utils.py b/official/projects/mobilebert/model_utils.py index 0cd644851..70be52a4f 100644 --- a/official/projects/mobilebert/model_utils.py +++ b/official/projects/mobilebert/model_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/mobilebert/run_distillation.py b/official/projects/mobilebert/run_distillation.py index 9fb7a9e67..30aefcf8d 100644 --- a/official/projects/mobilebert/run_distillation.py +++ b/official/projects/mobilebert/run_distillation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/mobilebert/tf2_model_checkpoint_converter.py b/official/projects/mobilebert/tf2_model_checkpoint_converter.py index d3333ee31..eae8e8b2d 100644 --- a/official/projects/mobilebert/tf2_model_checkpoint_converter.py +++ b/official/projects/mobilebert/tf2_model_checkpoint_converter.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/mobilebert/utils.py b/official/projects/mobilebert/utils.py index d5c3e4067..f9e2a924c 100644 --- a/official/projects/mobilebert/utils.py +++ b/official/projects/mobilebert/utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/__init__.py b/official/projects/movinet/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/movinet/__init__.py +++ b/official/projects/movinet/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/configs/__init__.py b/official/projects/movinet/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/movinet/configs/__init__.py +++ b/official/projects/movinet/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/configs/movinet.py b/official/projects/movinet/configs/movinet.py index 22516d5d8..ee4dd9c04 100644 --- a/official/projects/movinet/configs/movinet.py +++ b/official/projects/movinet/configs/movinet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/configs/movinet_test.py b/official/projects/movinet/configs/movinet_test.py index e79417d36..d2eb350c1 100644 --- a/official/projects/movinet/configs/movinet_test.py +++ b/official/projects/movinet/configs/movinet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/export_saved_model.py b/official/projects/movinet/export_saved_model.py index 97830f119..2f91d3dd4 100644 --- a/official/projects/movinet/export_saved_model.py +++ b/official/projects/movinet/export_saved_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/export_saved_model_test.py b/official/projects/movinet/export_saved_model_test.py index 6bafeee0d..52ac270d8 100644 --- a/official/projects/movinet/export_saved_model_test.py +++ b/official/projects/movinet/export_saved_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/modeling/__init__.py b/official/projects/movinet/modeling/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/movinet/modeling/__init__.py +++ b/official/projects/movinet/modeling/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/modeling/movinet.py b/official/projects/movinet/modeling/movinet.py index f6227d211..2110f9d2f 100644 --- a/official/projects/movinet/modeling/movinet.py +++ b/official/projects/movinet/modeling/movinet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/modeling/movinet_layers.py b/official/projects/movinet/modeling/movinet_layers.py index 38179e7b3..fcdfb1f45 100644 --- a/official/projects/movinet/modeling/movinet_layers.py +++ b/official/projects/movinet/modeling/movinet_layers.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/modeling/movinet_layers_test.py b/official/projects/movinet/modeling/movinet_layers_test.py index 27c392182..cf661d8aa 100644 --- a/official/projects/movinet/modeling/movinet_layers_test.py +++ b/official/projects/movinet/modeling/movinet_layers_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/modeling/movinet_model.py b/official/projects/movinet/modeling/movinet_model.py index 5b26b797e..0a40b0aad 100644 --- a/official/projects/movinet/modeling/movinet_model.py +++ b/official/projects/movinet/modeling/movinet_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/modeling/movinet_model_test.py b/official/projects/movinet/modeling/movinet_model_test.py index 908832cd4..352d78f8b 100644 --- a/official/projects/movinet/modeling/movinet_model_test.py +++ b/official/projects/movinet/modeling/movinet_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/modeling/movinet_test.py b/official/projects/movinet/modeling/movinet_test.py index e1daf98ae..55003ab98 100644 --- a/official/projects/movinet/modeling/movinet_test.py +++ b/official/projects/movinet/modeling/movinet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/tools/convert_3d_2plus1d.py b/official/projects/movinet/tools/convert_3d_2plus1d.py index 15e756378..0349c6075 100644 --- a/official/projects/movinet/tools/convert_3d_2plus1d.py +++ b/official/projects/movinet/tools/convert_3d_2plus1d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/tools/convert_3d_2plus1d_test.py b/official/projects/movinet/tools/convert_3d_2plus1d_test.py index 31d9a2622..d2899c9b9 100644 --- a/official/projects/movinet/tools/convert_3d_2plus1d_test.py +++ b/official/projects/movinet/tools/convert_3d_2plus1d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/train.py b/official/projects/movinet/train.py index 687b26b97..24c592d40 100644 --- a/official/projects/movinet/train.py +++ b/official/projects/movinet/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/movinet/train_test.py b/official/projects/movinet/train_test.py index a4cce5eaa..f338c9c97 100644 --- a/official/projects/movinet/train_test.py +++ b/official/projects/movinet/train_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/__init__.py b/official/projects/nhnet/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/nhnet/__init__.py +++ b/official/projects/nhnet/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/configs.py b/official/projects/nhnet/configs.py index 0f58dce8a..fa0a787f9 100644 --- a/official/projects/nhnet/configs.py +++ b/official/projects/nhnet/configs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/configs_test.py b/official/projects/nhnet/configs_test.py index 6ed2b24ad..54678ddec 100644 --- a/official/projects/nhnet/configs_test.py +++ b/official/projects/nhnet/configs_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/decoder.py b/official/projects/nhnet/decoder.py index c937feac1..dc1d8e3fd 100644 --- a/official/projects/nhnet/decoder.py +++ b/official/projects/nhnet/decoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/decoder_test.py b/official/projects/nhnet/decoder_test.py index 4d70bbadf..1c0feb81a 100644 --- a/official/projects/nhnet/decoder_test.py +++ b/official/projects/nhnet/decoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/evaluation.py b/official/projects/nhnet/evaluation.py index 8435d2c0a..c762aeb54 100644 --- a/official/projects/nhnet/evaluation.py +++ b/official/projects/nhnet/evaluation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/input_pipeline.py b/official/projects/nhnet/input_pipeline.py index d61ea688e..3bfe2bc51 100644 --- a/official/projects/nhnet/input_pipeline.py +++ b/official/projects/nhnet/input_pipeline.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/models.py b/official/projects/nhnet/models.py index 96f2ab30c..6832a9640 100644 --- a/official/projects/nhnet/models.py +++ b/official/projects/nhnet/models.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/models_test.py b/official/projects/nhnet/models_test.py index ac4783722..3f487d089 100644 --- a/official/projects/nhnet/models_test.py +++ b/official/projects/nhnet/models_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/optimizer.py b/official/projects/nhnet/optimizer.py index 03375c3b2..85a9a7944 100644 --- a/official/projects/nhnet/optimizer.py +++ b/official/projects/nhnet/optimizer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/raw_data_process.py b/official/projects/nhnet/raw_data_process.py index c845b08c2..3f5d15eab 100644 --- a/official/projects/nhnet/raw_data_process.py +++ b/official/projects/nhnet/raw_data_process.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/raw_data_processor.py b/official/projects/nhnet/raw_data_processor.py index 73a00ba15..3e64cb758 100644 --- a/official/projects/nhnet/raw_data_processor.py +++ b/official/projects/nhnet/raw_data_processor.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/trainer.py b/official/projects/nhnet/trainer.py index 183f05ef0..cbd56141a 100644 --- a/official/projects/nhnet/trainer.py +++ b/official/projects/nhnet/trainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/trainer_test.py b/official/projects/nhnet/trainer_test.py index 6adddbbdb..886c8b4cf 100644 --- a/official/projects/nhnet/trainer_test.py +++ b/official/projects/nhnet/trainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/nhnet/utils.py b/official/projects/nhnet/utils.py index f23b2bef2..ab0be1618 100644 --- a/official/projects/nhnet/utils.py +++ b/official/projects/nhnet/utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/__init__.py b/official/projects/roformer/__init__.py index a25710c22..ba97902e7 100644 --- a/official/projects/roformer/__init__.py +++ b/official/projects/roformer/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/roformer.py b/official/projects/roformer/roformer.py index d0f4da23c..0474de3da 100644 --- a/official/projects/roformer/roformer.py +++ b/official/projects/roformer/roformer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/roformer_attention.py b/official/projects/roformer/roformer_attention.py index 2eec24db5..14dbb18c4 100644 --- a/official/projects/roformer/roformer_attention.py +++ b/official/projects/roformer/roformer_attention.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/roformer_attention_test.py b/official/projects/roformer/roformer_attention_test.py index 92d6b9001..d131e876a 100644 --- a/official/projects/roformer/roformer_attention_test.py +++ b/official/projects/roformer/roformer_attention_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/roformer_encoder.py b/official/projects/roformer/roformer_encoder.py index a81aa17aa..3a84f3c3d 100644 --- a/official/projects/roformer/roformer_encoder.py +++ b/official/projects/roformer/roformer_encoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/roformer_encoder_block.py b/official/projects/roformer/roformer_encoder_block.py index 20826c41e..e7d894ee2 100644 --- a/official/projects/roformer/roformer_encoder_block.py +++ b/official/projects/roformer/roformer_encoder_block.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/roformer_encoder_block_test.py b/official/projects/roformer/roformer_encoder_block_test.py index f4833f96a..99dd2b00c 100644 --- a/official/projects/roformer/roformer_encoder_block_test.py +++ b/official/projects/roformer/roformer_encoder_block_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/roformer_encoder_test.py b/official/projects/roformer/roformer_encoder_test.py index 7c4d4f5d6..7fc77f3cf 100644 --- a/official/projects/roformer/roformer_encoder_test.py +++ b/official/projects/roformer/roformer_encoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/roformer_experiments.py b/official/projects/roformer/roformer_experiments.py index a16c26be4..cb095847d 100644 --- a/official/projects/roformer/roformer_experiments.py +++ b/official/projects/roformer/roformer_experiments.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/roformer/train.py b/official/projects/roformer/train.py index 7bd5dde0b..6ea0aec4b 100644 --- a/official/projects/roformer/train.py +++ b/official/projects/roformer/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/teams/__init__.py b/official/projects/teams/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/teams/__init__.py +++ b/official/projects/teams/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/teams/teams.py b/official/projects/teams/teams.py index e5aed0a7a..d2833cfe5 100644 --- a/official/projects/teams/teams.py +++ b/official/projects/teams/teams.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/teams/teams_experiments.py b/official/projects/teams/teams_experiments.py index 9590d4cb2..4a9f8f7d6 100644 --- a/official/projects/teams/teams_experiments.py +++ b/official/projects/teams/teams_experiments.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/teams/teams_experiments_test.py b/official/projects/teams/teams_experiments_test.py index b4b4448c4..811dc1ac4 100644 --- a/official/projects/teams/teams_experiments_test.py +++ b/official/projects/teams/teams_experiments_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/teams/teams_pretrainer.py b/official/projects/teams/teams_pretrainer.py index 727c0184f..8b61be079 100644 --- a/official/projects/teams/teams_pretrainer.py +++ b/official/projects/teams/teams_pretrainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/teams/teams_pretrainer_test.py b/official/projects/teams/teams_pretrainer_test.py index ef2876f96..9a1fc2029 100644 --- a/official/projects/teams/teams_pretrainer_test.py +++ b/official/projects/teams/teams_pretrainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/teams/teams_task.py b/official/projects/teams/teams_task.py index fd406470d..c8da8c827 100644 --- a/official/projects/teams/teams_task.py +++ b/official/projects/teams/teams_task.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/teams/teams_task_test.py b/official/projects/teams/teams_task_test.py index f817b5a4c..df3c93a0f 100644 --- a/official/projects/teams/teams_task_test.py +++ b/official/projects/teams/teams_task_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/text_classification_example/classification_data_loader.py b/official/projects/text_classification_example/classification_data_loader.py index fea67e026..fa142bc03 100644 --- a/official/projects/text_classification_example/classification_data_loader.py +++ b/official/projects/text_classification_example/classification_data_loader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/text_classification_example/classification_example.py b/official/projects/text_classification_example/classification_example.py index da0eccb75..b8600a4e0 100644 --- a/official/projects/text_classification_example/classification_example.py +++ b/official/projects/text_classification_example/classification_example.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/text_classification_example/classification_example_test.py b/official/projects/text_classification_example/classification_example_test.py index d26ece724..4de434f53 100644 --- a/official/projects/text_classification_example/classification_example_test.py +++ b/official/projects/text_classification_example/classification_example_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/text_classification_example/train.py b/official/projects/text_classification_example/train.py index bfa28b5c6..c2e8e1655 100644 --- a/official/projects/text_classification_example/train.py +++ b/official/projects/text_classification_example/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/__init__.py b/official/projects/triviaqa/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/triviaqa/__init__.py +++ b/official/projects/triviaqa/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/dataset.py b/official/projects/triviaqa/dataset.py index b97319e12..706bbb677 100644 --- a/official/projects/triviaqa/dataset.py +++ b/official/projects/triviaqa/dataset.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/download_and_prepare.py b/official/projects/triviaqa/download_and_prepare.py index 9829f9ae5..1a3140c3d 100644 --- a/official/projects/triviaqa/download_and_prepare.py +++ b/official/projects/triviaqa/download_and_prepare.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/evaluate.py b/official/projects/triviaqa/evaluate.py index 0fd93ac80..6d19c58e6 100644 --- a/official/projects/triviaqa/evaluate.py +++ b/official/projects/triviaqa/evaluate.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/evaluation.py b/official/projects/triviaqa/evaluation.py index fb987f4cc..80218cab9 100644 --- a/official/projects/triviaqa/evaluation.py +++ b/official/projects/triviaqa/evaluation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/inputs.py b/official/projects/triviaqa/inputs.py index 5577311bc..426a11541 100644 --- a/official/projects/triviaqa/inputs.py +++ b/official/projects/triviaqa/inputs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/modeling.py b/official/projects/triviaqa/modeling.py index 9a2c71135..4df0f1b2b 100644 --- a/official/projects/triviaqa/modeling.py +++ b/official/projects/triviaqa/modeling.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/predict.py b/official/projects/triviaqa/predict.py index e9cce3b45..16ccdb83f 100644 --- a/official/projects/triviaqa/predict.py +++ b/official/projects/triviaqa/predict.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/prediction.py b/official/projects/triviaqa/prediction.py index f9ebd729f..f2c96954f 100644 --- a/official/projects/triviaqa/prediction.py +++ b/official/projects/triviaqa/prediction.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/preprocess.py b/official/projects/triviaqa/preprocess.py index 83f1671f5..fb16ef8a0 100644 --- a/official/projects/triviaqa/preprocess.py +++ b/official/projects/triviaqa/preprocess.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/sentencepiece_pb2.py b/official/projects/triviaqa/sentencepiece_pb2.py index 518e90779..080682d35 100755 --- a/official/projects/triviaqa/sentencepiece_pb2.py +++ b/official/projects/triviaqa/sentencepiece_pb2.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/triviaqa/train.py b/official/projects/triviaqa/train.py index 3649831b3..ff84f8dc2 100644 --- a/official/projects/triviaqa/train.py +++ b/official/projects/triviaqa/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/configs/backbones.py b/official/projects/volumetric_models/configs/backbones.py index 7fb357d68..23a226b76 100644 --- a/official/projects/volumetric_models/configs/backbones.py +++ b/official/projects/volumetric_models/configs/backbones.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/configs/decoders.py b/official/projects/volumetric_models/configs/decoders.py index b5d0adea7..30208a374 100644 --- a/official/projects/volumetric_models/configs/decoders.py +++ b/official/projects/volumetric_models/configs/decoders.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/configs/semantic_segmentation_3d.py b/official/projects/volumetric_models/configs/semantic_segmentation_3d.py index 713f9ea35..ebde9ad20 100644 --- a/official/projects/volumetric_models/configs/semantic_segmentation_3d.py +++ b/official/projects/volumetric_models/configs/semantic_segmentation_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/configs/semantic_segmentation_3d_test.py b/official/projects/volumetric_models/configs/semantic_segmentation_3d_test.py index fd56c2a67..62b5699bd 100644 --- a/official/projects/volumetric_models/configs/semantic_segmentation_3d_test.py +++ b/official/projects/volumetric_models/configs/semantic_segmentation_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/dataloaders/segmentation_input_3d.py b/official/projects/volumetric_models/dataloaders/segmentation_input_3d.py index 381159684..edfde55e5 100644 --- a/official/projects/volumetric_models/dataloaders/segmentation_input_3d.py +++ b/official/projects/volumetric_models/dataloaders/segmentation_input_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/dataloaders/segmentation_input_3d_test.py b/official/projects/volumetric_models/dataloaders/segmentation_input_3d_test.py index 931867f44..2f08ec3f8 100644 --- a/official/projects/volumetric_models/dataloaders/segmentation_input_3d_test.py +++ b/official/projects/volumetric_models/dataloaders/segmentation_input_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/evaluation/segmentation_metrics.py b/official/projects/volumetric_models/evaluation/segmentation_metrics.py index 9d53c7de8..fc265720f 100644 --- a/official/projects/volumetric_models/evaluation/segmentation_metrics.py +++ b/official/projects/volumetric_models/evaluation/segmentation_metrics.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/evaluation/segmentation_metrics_test.py b/official/projects/volumetric_models/evaluation/segmentation_metrics_test.py index cf93b7556..1eac72001 100644 --- a/official/projects/volumetric_models/evaluation/segmentation_metrics_test.py +++ b/official/projects/volumetric_models/evaluation/segmentation_metrics_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/losses/segmentation_losses.py b/official/projects/volumetric_models/losses/segmentation_losses.py index fad3d695b..6d422a924 100644 --- a/official/projects/volumetric_models/losses/segmentation_losses.py +++ b/official/projects/volumetric_models/losses/segmentation_losses.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/losses/segmentation_losses_test.py b/official/projects/volumetric_models/losses/segmentation_losses_test.py index ef047f064..f2f444c2b 100644 --- a/official/projects/volumetric_models/losses/segmentation_losses_test.py +++ b/official/projects/volumetric_models/losses/segmentation_losses_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/backbones/__init__.py b/official/projects/volumetric_models/modeling/backbones/__init__.py index 08bfc2170..d0c66d813 100644 --- a/official/projects/volumetric_models/modeling/backbones/__init__.py +++ b/official/projects/volumetric_models/modeling/backbones/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/backbones/unet_3d.py b/official/projects/volumetric_models/modeling/backbones/unet_3d.py index d5539c9df..c8335b44f 100644 --- a/official/projects/volumetric_models/modeling/backbones/unet_3d.py +++ b/official/projects/volumetric_models/modeling/backbones/unet_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/backbones/unet_3d_test.py b/official/projects/volumetric_models/modeling/backbones/unet_3d_test.py index e42b3d1cb..8d6638679 100644 --- a/official/projects/volumetric_models/modeling/backbones/unet_3d_test.py +++ b/official/projects/volumetric_models/modeling/backbones/unet_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/decoders/__init__.py b/official/projects/volumetric_models/modeling/decoders/__init__.py index ef86bd520..c0df406a9 100644 --- a/official/projects/volumetric_models/modeling/decoders/__init__.py +++ b/official/projects/volumetric_models/modeling/decoders/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/decoders/factory.py b/official/projects/volumetric_models/modeling/decoders/factory.py index 759779caa..0e1d17c42 100644 --- a/official/projects/volumetric_models/modeling/decoders/factory.py +++ b/official/projects/volumetric_models/modeling/decoders/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/decoders/factory_test.py b/official/projects/volumetric_models/modeling/decoders/factory_test.py index 50fbd1b2b..bcd4df694 100644 --- a/official/projects/volumetric_models/modeling/decoders/factory_test.py +++ b/official/projects/volumetric_models/modeling/decoders/factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/decoders/unet_3d_decoder.py b/official/projects/volumetric_models/modeling/decoders/unet_3d_decoder.py index a83724fe5..534c43f90 100644 --- a/official/projects/volumetric_models/modeling/decoders/unet_3d_decoder.py +++ b/official/projects/volumetric_models/modeling/decoders/unet_3d_decoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/decoders/unet_3d_decoder_test.py b/official/projects/volumetric_models/modeling/decoders/unet_3d_decoder_test.py index 39dea0887..11b69ef73 100644 --- a/official/projects/volumetric_models/modeling/decoders/unet_3d_decoder_test.py +++ b/official/projects/volumetric_models/modeling/decoders/unet_3d_decoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/factory.py b/official/projects/volumetric_models/modeling/factory.py index caff2e09f..865f20edf 100644 --- a/official/projects/volumetric_models/modeling/factory.py +++ b/official/projects/volumetric_models/modeling/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/factory_test.py b/official/projects/volumetric_models/modeling/factory_test.py index 86000af99..2de27eeb8 100644 --- a/official/projects/volumetric_models/modeling/factory_test.py +++ b/official/projects/volumetric_models/modeling/factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/heads/segmentation_heads_3d.py b/official/projects/volumetric_models/modeling/heads/segmentation_heads_3d.py index 3154a271a..f1fc7ef0a 100644 --- a/official/projects/volumetric_models/modeling/heads/segmentation_heads_3d.py +++ b/official/projects/volumetric_models/modeling/heads/segmentation_heads_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/heads/segmentation_heads_3d_test.py b/official/projects/volumetric_models/modeling/heads/segmentation_heads_3d_test.py index 4dc35fdeb..55338a251 100644 --- a/official/projects/volumetric_models/modeling/heads/segmentation_heads_3d_test.py +++ b/official/projects/volumetric_models/modeling/heads/segmentation_heads_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/nn_blocks_3d.py b/official/projects/volumetric_models/modeling/nn_blocks_3d.py index b2f6dbd79..7a340c632 100644 --- a/official/projects/volumetric_models/modeling/nn_blocks_3d.py +++ b/official/projects/volumetric_models/modeling/nn_blocks_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/nn_blocks_3d_test.py b/official/projects/volumetric_models/modeling/nn_blocks_3d_test.py index 759757cec..fb6c3565e 100644 --- a/official/projects/volumetric_models/modeling/nn_blocks_3d_test.py +++ b/official/projects/volumetric_models/modeling/nn_blocks_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/modeling/segmentation_model_test.py b/official/projects/volumetric_models/modeling/segmentation_model_test.py index 3bfc94882..c5f7496d6 100644 --- a/official/projects/volumetric_models/modeling/segmentation_model_test.py +++ b/official/projects/volumetric_models/modeling/segmentation_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/registry_imports.py b/official/projects/volumetric_models/registry_imports.py index 06a551227..a8ff8f99f 100644 --- a/official/projects/volumetric_models/registry_imports.py +++ b/official/projects/volumetric_models/registry_imports.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/serving/export_saved_model.py b/official/projects/volumetric_models/serving/export_saved_model.py index 1a0100385..cb56987be 100644 --- a/official/projects/volumetric_models/serving/export_saved_model.py +++ b/official/projects/volumetric_models/serving/export_saved_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/serving/semantic_segmentation_3d.py b/official/projects/volumetric_models/serving/semantic_segmentation_3d.py index 4d6097095..2abd423c0 100644 --- a/official/projects/volumetric_models/serving/semantic_segmentation_3d.py +++ b/official/projects/volumetric_models/serving/semantic_segmentation_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/serving/semantic_segmentation_3d_test.py b/official/projects/volumetric_models/serving/semantic_segmentation_3d_test.py index 11097bf21..4001b829d 100644 --- a/official/projects/volumetric_models/serving/semantic_segmentation_3d_test.py +++ b/official/projects/volumetric_models/serving/semantic_segmentation_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/tasks/semantic_segmentation_3d.py b/official/projects/volumetric_models/tasks/semantic_segmentation_3d.py index a6222ab0d..07e76836b 100644 --- a/official/projects/volumetric_models/tasks/semantic_segmentation_3d.py +++ b/official/projects/volumetric_models/tasks/semantic_segmentation_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/tasks/semantic_segmentation_3d_test.py b/official/projects/volumetric_models/tasks/semantic_segmentation_3d_test.py index a7fec218d..fb8996f9d 100644 --- a/official/projects/volumetric_models/tasks/semantic_segmentation_3d_test.py +++ b/official/projects/volumetric_models/tasks/semantic_segmentation_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/train.py b/official/projects/volumetric_models/train.py index b84569e1b..057ff7ef6 100644 --- a/official/projects/volumetric_models/train.py +++ b/official/projects/volumetric_models/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/volumetric_models/train_test.py b/official/projects/volumetric_models/train_test.py index 47a32ec54..0d090d488 100644 --- a/official/projects/volumetric_models/train_test.py +++ b/official/projects/volumetric_models/train_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/__init__.py b/official/projects/yt8m/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/yt8m/__init__.py +++ b/official/projects/yt8m/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/configs/__init__.py b/official/projects/yt8m/configs/__init__.py index 2785613f2..d34bc0957 100644 --- a/official/projects/yt8m/configs/__init__.py +++ b/official/projects/yt8m/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/configs/yt8m.py b/official/projects/yt8m/configs/yt8m.py index e367779d1..5dd08ffd8 100644 --- a/official/projects/yt8m/configs/yt8m.py +++ b/official/projects/yt8m/configs/yt8m.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/dataloaders/utils.py b/official/projects/yt8m/dataloaders/utils.py index eda1a4ab2..9a5534e36 100644 --- a/official/projects/yt8m/dataloaders/utils.py +++ b/official/projects/yt8m/dataloaders/utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/dataloaders/yt8m_input.py b/official/projects/yt8m/dataloaders/yt8m_input.py index 0ea305d42..06a09bd89 100644 --- a/official/projects/yt8m/dataloaders/yt8m_input.py +++ b/official/projects/yt8m/dataloaders/yt8m_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/eval_utils/average_precision_calculator.py b/official/projects/yt8m/eval_utils/average_precision_calculator.py index 9bf112379..16cb71a81 100644 --- a/official/projects/yt8m/eval_utils/average_precision_calculator.py +++ b/official/projects/yt8m/eval_utils/average_precision_calculator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/eval_utils/eval_util.py b/official/projects/yt8m/eval_utils/eval_util.py index 617aeda2c..d61d9cdfc 100644 --- a/official/projects/yt8m/eval_utils/eval_util.py +++ b/official/projects/yt8m/eval_utils/eval_util.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/eval_utils/mean_average_precision_calculator.py b/official/projects/yt8m/eval_utils/mean_average_precision_calculator.py index 600452219..a5ed00000 100644 --- a/official/projects/yt8m/eval_utils/mean_average_precision_calculator.py +++ b/official/projects/yt8m/eval_utils/mean_average_precision_calculator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/modeling/__init__.py b/official/projects/yt8m/modeling/__init__.py index e419af524..310bfb28f 100644 --- a/official/projects/yt8m/modeling/__init__.py +++ b/official/projects/yt8m/modeling/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/modeling/yt8m_agg_models.py b/official/projects/yt8m/modeling/yt8m_agg_models.py index 0e46fc5fd..67638db3a 100644 --- a/official/projects/yt8m/modeling/yt8m_agg_models.py +++ b/official/projects/yt8m/modeling/yt8m_agg_models.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/modeling/yt8m_model.py b/official/projects/yt8m/modeling/yt8m_model.py index 2259c9ece..80a7bf109 100644 --- a/official/projects/yt8m/modeling/yt8m_model.py +++ b/official/projects/yt8m/modeling/yt8m_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/modeling/yt8m_model_test.py b/official/projects/yt8m/modeling/yt8m_model_test.py index 3c957618b..50883fa5a 100644 --- a/official/projects/yt8m/modeling/yt8m_model_test.py +++ b/official/projects/yt8m/modeling/yt8m_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/modeling/yt8m_model_utils.py b/official/projects/yt8m/modeling/yt8m_model_utils.py index c8497e9c1..d56fe44ba 100644 --- a/official/projects/yt8m/modeling/yt8m_model_utils.py +++ b/official/projects/yt8m/modeling/yt8m_model_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/tasks/__init__.py b/official/projects/yt8m/tasks/__init__.py index fe6bc09d2..85df31a45 100644 --- a/official/projects/yt8m/tasks/__init__.py +++ b/official/projects/yt8m/tasks/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/tasks/yt8m_task.py b/official/projects/yt8m/tasks/yt8m_task.py index 1c7ee0053..ee26017d6 100644 --- a/official/projects/yt8m/tasks/yt8m_task.py +++ b/official/projects/yt8m/tasks/yt8m_task.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/train.py b/official/projects/yt8m/train.py index e3b1abe03..bd7050098 100644 --- a/official/projects/yt8m/train.py +++ b/official/projects/yt8m/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/projects/yt8m/train_test.py b/official/projects/yt8m/train_test.py index 2699d36a3..c6ad2b2e7 100644 --- a/official/projects/yt8m/train_test.py +++ b/official/projects/yt8m/train_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/__init__.py b/official/recommendation/__init__.py index e419af524..310bfb28f 100644 --- a/official/recommendation/__init__.py +++ b/official/recommendation/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/constants.py b/official/recommendation/constants.py index a7aae736c..bfbcf52cc 100644 --- a/official/recommendation/constants.py +++ b/official/recommendation/constants.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/create_ncf_data.py b/official/recommendation/create_ncf_data.py index bc411cbd8..013d04997 100644 --- a/official/recommendation/create_ncf_data.py +++ b/official/recommendation/create_ncf_data.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/data_pipeline.py b/official/recommendation/data_pipeline.py index dae2d44a1..78f2a892f 100644 --- a/official/recommendation/data_pipeline.py +++ b/official/recommendation/data_pipeline.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/data_preprocessing.py b/official/recommendation/data_preprocessing.py index d14bf6ae2..394935acf 100644 --- a/official/recommendation/data_preprocessing.py +++ b/official/recommendation/data_preprocessing.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/data_test.py b/official/recommendation/data_test.py index 31e0ae4d2..841be8e58 100644 --- a/official/recommendation/data_test.py +++ b/official/recommendation/data_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/movielens.py b/official/recommendation/movielens.py index f50820e1f..10b3a1a9d 100644 --- a/official/recommendation/movielens.py +++ b/official/recommendation/movielens.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ncf_common.py b/official/recommendation/ncf_common.py index 43d6a88f1..f1677bf15 100644 --- a/official/recommendation/ncf_common.py +++ b/official/recommendation/ncf_common.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ncf_input_pipeline.py b/official/recommendation/ncf_input_pipeline.py index 93f950bce..194a83866 100644 --- a/official/recommendation/ncf_input_pipeline.py +++ b/official/recommendation/ncf_input_pipeline.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ncf_keras_main.py b/official/recommendation/ncf_keras_main.py index 2590df4ce..268ce0934 100644 --- a/official/recommendation/ncf_keras_main.py +++ b/official/recommendation/ncf_keras_main.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ncf_test.py b/official/recommendation/ncf_test.py index b37d0c1dc..2f6f0865c 100644 --- a/official/recommendation/ncf_test.py +++ b/official/recommendation/ncf_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/neumf_model.py b/official/recommendation/neumf_model.py index 93da37fb1..f0691fd86 100644 --- a/official/recommendation/neumf_model.py +++ b/official/recommendation/neumf_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/popen_helper.py b/official/recommendation/popen_helper.py index c13c795e7..4004c207f 100644 --- a/official/recommendation/popen_helper.py +++ b/official/recommendation/popen_helper.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/__init__.py b/official/recommendation/ranking/__init__.py index e419af524..310bfb28f 100644 --- a/official/recommendation/ranking/__init__.py +++ b/official/recommendation/ranking/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/common.py b/official/recommendation/ranking/common.py index 43b290a3a..f7bdf49ea 100644 --- a/official/recommendation/ranking/common.py +++ b/official/recommendation/ranking/common.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/configs/__init__.py b/official/recommendation/ranking/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/recommendation/ranking/configs/__init__.py +++ b/official/recommendation/ranking/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/configs/config.py b/official/recommendation/ranking/configs/config.py index 02b89a319..d7fa5807d 100644 --- a/official/recommendation/ranking/configs/config.py +++ b/official/recommendation/ranking/configs/config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/configs/config_test.py b/official/recommendation/ranking/configs/config_test.py index df65051dc..890a1943b 100644 --- a/official/recommendation/ranking/configs/config_test.py +++ b/official/recommendation/ranking/configs/config_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/data/__init__.py b/official/recommendation/ranking/data/__init__.py index e419af524..310bfb28f 100644 --- a/official/recommendation/ranking/data/__init__.py +++ b/official/recommendation/ranking/data/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/data/data_pipeline.py b/official/recommendation/ranking/data/data_pipeline.py index f6ba33d72..8a8a4a1b6 100644 --- a/official/recommendation/ranking/data/data_pipeline.py +++ b/official/recommendation/ranking/data/data_pipeline.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/data/data_pipeline_test.py b/official/recommendation/ranking/data/data_pipeline_test.py index 015d49e55..d33f1564d 100644 --- a/official/recommendation/ranking/data/data_pipeline_test.py +++ b/official/recommendation/ranking/data/data_pipeline_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/preprocessing/criteo_preprocess.py b/official/recommendation/ranking/preprocessing/criteo_preprocess.py index ccaec5dd9..7f0f5ae5e 100644 --- a/official/recommendation/ranking/preprocessing/criteo_preprocess.py +++ b/official/recommendation/ranking/preprocessing/criteo_preprocess.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/preprocessing/setup.py b/official/recommendation/ranking/preprocessing/setup.py index 36fc5dd49..37184cddd 100644 --- a/official/recommendation/ranking/preprocessing/setup.py +++ b/official/recommendation/ranking/preprocessing/setup.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/preprocessing/shard_rebalancer.py b/official/recommendation/ranking/preprocessing/shard_rebalancer.py index 8f19ae74a..514650259 100644 --- a/official/recommendation/ranking/preprocessing/shard_rebalancer.py +++ b/official/recommendation/ranking/preprocessing/shard_rebalancer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/task.py b/official/recommendation/ranking/task.py index 42152647d..105aa0c3d 100644 --- a/official/recommendation/ranking/task.py +++ b/official/recommendation/ranking/task.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/task_test.py b/official/recommendation/ranking/task_test.py index 1ef4fe673..426f468d2 100644 --- a/official/recommendation/ranking/task_test.py +++ b/official/recommendation/ranking/task_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/train.py b/official/recommendation/ranking/train.py index 595a01a57..5ae322a71 100644 --- a/official/recommendation/ranking/train.py +++ b/official/recommendation/ranking/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/ranking/train_test.py b/official/recommendation/ranking/train_test.py index 1e0c1dad7..14bacda1d 100644 --- a/official/recommendation/ranking/train_test.py +++ b/official/recommendation/ranking/train_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/recommendation/stat_utils.py b/official/recommendation/stat_utils.py index 3f8c8050d..a565ce9df 100644 --- a/official/recommendation/stat_utils.py +++ b/official/recommendation/stat_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/__init__.py b/official/utils/__init__.py index e419af524..310bfb28f 100644 --- a/official/utils/__init__.py +++ b/official/utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/docs/build_api_docs_lib.py b/official/utils/docs/build_api_docs_lib.py index 0bff8b011..098598a44 100644 --- a/official/utils/docs/build_api_docs_lib.py +++ b/official/utils/docs/build_api_docs_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/docs/build_nlp_api_docs.py b/official/utils/docs/build_nlp_api_docs.py index 45af252c3..8f4124ed5 100644 --- a/official/utils/docs/build_nlp_api_docs.py +++ b/official/utils/docs/build_nlp_api_docs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/docs/build_vision_api_docs.py b/official/utils/docs/build_vision_api_docs.py index 514da657c..3c7459ef5 100644 --- a/official/utils/docs/build_vision_api_docs.py +++ b/official/utils/docs/build_vision_api_docs.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/__init__.py b/official/utils/flags/__init__.py index e419af524..310bfb28f 100644 --- a/official/utils/flags/__init__.py +++ b/official/utils/flags/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/_base.py b/official/utils/flags/_base.py index b8e1dc09a..8e8f5b4d3 100644 --- a/official/utils/flags/_base.py +++ b/official/utils/flags/_base.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/_benchmark.py b/official/utils/flags/_benchmark.py index abbe0a0b1..97adf5632 100644 --- a/official/utils/flags/_benchmark.py +++ b/official/utils/flags/_benchmark.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/_conventions.py b/official/utils/flags/_conventions.py index a42ff42a2..fa3d186d5 100644 --- a/official/utils/flags/_conventions.py +++ b/official/utils/flags/_conventions.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/_device.py b/official/utils/flags/_device.py index 9d76f4871..09e004b72 100644 --- a/official/utils/flags/_device.py +++ b/official/utils/flags/_device.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/_distribution.py b/official/utils/flags/_distribution.py index 848e550cf..76ec5bb28 100644 --- a/official/utils/flags/_distribution.py +++ b/official/utils/flags/_distribution.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/_misc.py b/official/utils/flags/_misc.py index 744e3628b..fc25d7bbf 100644 --- a/official/utils/flags/_misc.py +++ b/official/utils/flags/_misc.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/_performance.py b/official/utils/flags/_performance.py index 5c05577be..6ccfd4a9f 100644 --- a/official/utils/flags/_performance.py +++ b/official/utils/flags/_performance.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/core.py b/official/utils/flags/core.py index d864b957b..36a244da2 100644 --- a/official/utils/flags/core.py +++ b/official/utils/flags/core.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/flags/flags_test.py b/official/utils/flags/flags_test.py index 11bc2ab4c..f8c639c39 100644 --- a/official/utils/flags/flags_test.py +++ b/official/utils/flags/flags_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/hyperparams_flags.py b/official/utils/hyperparams_flags.py index e47bd8f06..d3428e0f9 100644 --- a/official/utils/hyperparams_flags.py +++ b/official/utils/hyperparams_flags.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/misc/__init__.py b/official/utils/misc/__init__.py index e419af524..310bfb28f 100644 --- a/official/utils/misc/__init__.py +++ b/official/utils/misc/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/misc/keras_utils.py b/official/utils/misc/keras_utils.py index a5b20c8a3..c3e8d12b0 100644 --- a/official/utils/misc/keras_utils.py +++ b/official/utils/misc/keras_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/misc/model_helpers.py b/official/utils/misc/model_helpers.py index 4c310588b..f5065ceae 100644 --- a/official/utils/misc/model_helpers.py +++ b/official/utils/misc/model_helpers.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/misc/model_helpers_test.py b/official/utils/misc/model_helpers_test.py index dd01c3431..6d5a3e84e 100644 --- a/official/utils/misc/model_helpers_test.py +++ b/official/utils/misc/model_helpers_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/testing/__init__.py b/official/utils/testing/__init__.py index e419af524..310bfb28f 100644 --- a/official/utils/testing/__init__.py +++ b/official/utils/testing/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/testing/integration.py b/official/utils/testing/integration.py index 763de50be..84af32a01 100644 --- a/official/utils/testing/integration.py +++ b/official/utils/testing/integration.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/utils/testing/mock_task.py b/official/utils/testing/mock_task.py index b99b96d69..dd7e493e1 100644 --- a/official/utils/testing/mock_task.py +++ b/official/utils/testing/mock_task.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/__init__.py b/official/vision/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/__init__.py +++ b/official/vision/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/__init__.py b/official/vision/beta/__init__.py index 91f075534..16339134f 100644 --- a/official/vision/beta/__init__.py +++ b/official/vision/beta/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/__init__.py b/official/vision/beta/configs/__init__.py index 925339330..0a55922c7 100644 --- a/official/vision/beta/configs/__init__.py +++ b/official/vision/beta/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/backbones.py b/official/vision/beta/configs/backbones.py index b4eb0c522..a782ec707 100644 --- a/official/vision/beta/configs/backbones.py +++ b/official/vision/beta/configs/backbones.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/backbones_3d.py b/official/vision/beta/configs/backbones_3d.py index d23df73ed..3f6a0020a 100644 --- a/official/vision/beta/configs/backbones_3d.py +++ b/official/vision/beta/configs/backbones_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/common.py b/official/vision/beta/configs/common.py index 1013bea8d..550969e9c 100644 --- a/official/vision/beta/configs/common.py +++ b/official/vision/beta/configs/common.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/decoders.py b/official/vision/beta/configs/decoders.py index 131be3778..23733a277 100644 --- a/official/vision/beta/configs/decoders.py +++ b/official/vision/beta/configs/decoders.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/image_classification.py b/official/vision/beta/configs/image_classification.py index be12bff02..20ea0c887 100644 --- a/official/vision/beta/configs/image_classification.py +++ b/official/vision/beta/configs/image_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/image_classification_test.py b/official/vision/beta/configs/image_classification_test.py index 81109dc4e..0be7e66b6 100644 --- a/official/vision/beta/configs/image_classification_test.py +++ b/official/vision/beta/configs/image_classification_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/maskrcnn.py b/official/vision/beta/configs/maskrcnn.py index 3cb491d01..944ad1c4e 100644 --- a/official/vision/beta/configs/maskrcnn.py +++ b/official/vision/beta/configs/maskrcnn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/maskrcnn_test.py b/official/vision/beta/configs/maskrcnn_test.py index 28eab0164..2b57a05c9 100644 --- a/official/vision/beta/configs/maskrcnn_test.py +++ b/official/vision/beta/configs/maskrcnn_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/retinanet.py b/official/vision/beta/configs/retinanet.py index 5c1dee4f2..0f60eb838 100644 --- a/official/vision/beta/configs/retinanet.py +++ b/official/vision/beta/configs/retinanet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/retinanet_test.py b/official/vision/beta/configs/retinanet_test.py index bc860088a..4586bf75f 100644 --- a/official/vision/beta/configs/retinanet_test.py +++ b/official/vision/beta/configs/retinanet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/semantic_segmentation.py b/official/vision/beta/configs/semantic_segmentation.py index 0543fcc13..75b9d1fe2 100644 --- a/official/vision/beta/configs/semantic_segmentation.py +++ b/official/vision/beta/configs/semantic_segmentation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/semantic_segmentation_test.py b/official/vision/beta/configs/semantic_segmentation_test.py index 9652582ce..1c71a4936 100644 --- a/official/vision/beta/configs/semantic_segmentation_test.py +++ b/official/vision/beta/configs/semantic_segmentation_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/video_classification.py b/official/vision/beta/configs/video_classification.py index e196d4d60..b84aa808c 100644 --- a/official/vision/beta/configs/video_classification.py +++ b/official/vision/beta/configs/video_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/configs/video_classification_test.py b/official/vision/beta/configs/video_classification_test.py index f2ce21189..1fda7bd2e 100644 --- a/official/vision/beta/configs/video_classification_test.py +++ b/official/vision/beta/configs/video_classification_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/data/__init__.py b/official/vision/beta/data/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/data/__init__.py +++ b/official/vision/beta/data/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/data/create_coco_tf_record.py b/official/vision/beta/data/create_coco_tf_record.py index 9cf30d221..531500db2 100644 --- a/official/vision/beta/data/create_coco_tf_record.py +++ b/official/vision/beta/data/create_coco_tf_record.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/data/process_coco_few_shot_json_files.py b/official/vision/beta/data/process_coco_few_shot_json_files.py index 7f02c2701..7a918c511 100644 --- a/official/vision/beta/data/process_coco_few_shot_json_files.py +++ b/official/vision/beta/data/process_coco_few_shot_json_files.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/data/tfrecord_lib.py b/official/vision/beta/data/tfrecord_lib.py index df3645f99..c91b2edad 100644 --- a/official/vision/beta/data/tfrecord_lib.py +++ b/official/vision/beta/data/tfrecord_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/data/tfrecord_lib_test.py b/official/vision/beta/data/tfrecord_lib_test.py index b348d6243..f6be438cf 100644 --- a/official/vision/beta/data/tfrecord_lib_test.py +++ b/official/vision/beta/data/tfrecord_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/__init__.py b/official/vision/beta/dataloaders/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/dataloaders/__init__.py +++ b/official/vision/beta/dataloaders/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/classification_input.py b/official/vision/beta/dataloaders/classification_input.py index c0dc6fdb8..7bfae3ef5 100644 --- a/official/vision/beta/dataloaders/classification_input.py +++ b/official/vision/beta/dataloaders/classification_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/decoder.py b/official/vision/beta/dataloaders/decoder.py index a5f691b95..821083f0f 100644 --- a/official/vision/beta/dataloaders/decoder.py +++ b/official/vision/beta/dataloaders/decoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/input_reader.py b/official/vision/beta/dataloaders/input_reader.py index 99698cb5c..a7cd220f1 100644 --- a/official/vision/beta/dataloaders/input_reader.py +++ b/official/vision/beta/dataloaders/input_reader.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/input_reader_factory.py b/official/vision/beta/dataloaders/input_reader_factory.py index ffe8ae778..c73ce2c65 100644 --- a/official/vision/beta/dataloaders/input_reader_factory.py +++ b/official/vision/beta/dataloaders/input_reader_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/maskrcnn_input.py b/official/vision/beta/dataloaders/maskrcnn_input.py index cdaa9e9c8..62e4ed357 100644 --- a/official/vision/beta/dataloaders/maskrcnn_input.py +++ b/official/vision/beta/dataloaders/maskrcnn_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/parser.py b/official/vision/beta/dataloaders/parser.py index 104b52b8c..2a415cb01 100644 --- a/official/vision/beta/dataloaders/parser.py +++ b/official/vision/beta/dataloaders/parser.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/retinanet_input.py b/official/vision/beta/dataloaders/retinanet_input.py index 4f734ac7e..91c0cd3f6 100644 --- a/official/vision/beta/dataloaders/retinanet_input.py +++ b/official/vision/beta/dataloaders/retinanet_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/segmentation_input.py b/official/vision/beta/dataloaders/segmentation_input.py index 440f555ad..101b37ece 100644 --- a/official/vision/beta/dataloaders/segmentation_input.py +++ b/official/vision/beta/dataloaders/segmentation_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tf_example_decoder.py b/official/vision/beta/dataloaders/tf_example_decoder.py index e636f5615..4888ab634 100644 --- a/official/vision/beta/dataloaders/tf_example_decoder.py +++ b/official/vision/beta/dataloaders/tf_example_decoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tf_example_decoder_test.py b/official/vision/beta/dataloaders/tf_example_decoder_test.py index 4a8ec93ca..187285f1b 100644 --- a/official/vision/beta/dataloaders/tf_example_decoder_test.py +++ b/official/vision/beta/dataloaders/tf_example_decoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tf_example_label_map_decoder.py b/official/vision/beta/dataloaders/tf_example_label_map_decoder.py index 14ebd2f83..c6da29ded 100644 --- a/official/vision/beta/dataloaders/tf_example_label_map_decoder.py +++ b/official/vision/beta/dataloaders/tf_example_label_map_decoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tf_example_label_map_decoder_test.py b/official/vision/beta/dataloaders/tf_example_label_map_decoder_test.py index 425ad9f77..54d7810f6 100644 --- a/official/vision/beta/dataloaders/tf_example_label_map_decoder_test.py +++ b/official/vision/beta/dataloaders/tf_example_label_map_decoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tfds_classification_decoders.py b/official/vision/beta/dataloaders/tfds_classification_decoders.py index 36f6e28f7..cfb315590 100644 --- a/official/vision/beta/dataloaders/tfds_classification_decoders.py +++ b/official/vision/beta/dataloaders/tfds_classification_decoders.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tfds_detection_decoders.py b/official/vision/beta/dataloaders/tfds_detection_decoders.py index fef7d2f24..0ecf88ba9 100644 --- a/official/vision/beta/dataloaders/tfds_detection_decoders.py +++ b/official/vision/beta/dataloaders/tfds_detection_decoders.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tfds_factory.py b/official/vision/beta/dataloaders/tfds_factory.py index 67190df8f..bedaff491 100644 --- a/official/vision/beta/dataloaders/tfds_factory.py +++ b/official/vision/beta/dataloaders/tfds_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tfds_factory_test.py b/official/vision/beta/dataloaders/tfds_factory_test.py index 5c22f46c0..7629b9423 100644 --- a/official/vision/beta/dataloaders/tfds_factory_test.py +++ b/official/vision/beta/dataloaders/tfds_factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tfds_segmentation_decoders.py b/official/vision/beta/dataloaders/tfds_segmentation_decoders.py index 4b6985fcd..8d29b836a 100644 --- a/official/vision/beta/dataloaders/tfds_segmentation_decoders.py +++ b/official/vision/beta/dataloaders/tfds_segmentation_decoders.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/tfexample_utils.py b/official/vision/beta/dataloaders/tfexample_utils.py index ddb78eb7d..a66619bb6 100644 --- a/official/vision/beta/dataloaders/tfexample_utils.py +++ b/official/vision/beta/dataloaders/tfexample_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/utils.py b/official/vision/beta/dataloaders/utils.py index 3cc4e084c..a812c9645 100644 --- a/official/vision/beta/dataloaders/utils.py +++ b/official/vision/beta/dataloaders/utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/utils_test.py b/official/vision/beta/dataloaders/utils_test.py index 7c728bbd2..b3359f381 100644 --- a/official/vision/beta/dataloaders/utils_test.py +++ b/official/vision/beta/dataloaders/utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/video_input.py b/official/vision/beta/dataloaders/video_input.py index 5d42c03e9..42102b37f 100644 --- a/official/vision/beta/dataloaders/video_input.py +++ b/official/vision/beta/dataloaders/video_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/dataloaders/video_input_test.py b/official/vision/beta/dataloaders/video_input_test.py index 4ba495ddf..b5e0a2a85 100644 --- a/official/vision/beta/dataloaders/video_input_test.py +++ b/official/vision/beta/dataloaders/video_input_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/__init__.py b/official/vision/beta/evaluation/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/evaluation/__init__.py +++ b/official/vision/beta/evaluation/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/coco_evaluator.py b/official/vision/beta/evaluation/coco_evaluator.py index 03793bdcd..de5691dad 100644 --- a/official/vision/beta/evaluation/coco_evaluator.py +++ b/official/vision/beta/evaluation/coco_evaluator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/coco_utils.py b/official/vision/beta/evaluation/coco_utils.py index d1e9c1f6d..e968fa943 100644 --- a/official/vision/beta/evaluation/coco_utils.py +++ b/official/vision/beta/evaluation/coco_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/coco_utils_test.py b/official/vision/beta/evaluation/coco_utils_test.py index 6134031fa..9179c7dda 100644 --- a/official/vision/beta/evaluation/coco_utils_test.py +++ b/official/vision/beta/evaluation/coco_utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/iou.py b/official/vision/beta/evaluation/iou.py index b1d94e7ea..1dabd4af3 100644 --- a/official/vision/beta/evaluation/iou.py +++ b/official/vision/beta/evaluation/iou.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/iou_test.py b/official/vision/beta/evaluation/iou_test.py index 64def8685..e9cd2b39e 100644 --- a/official/vision/beta/evaluation/iou_test.py +++ b/official/vision/beta/evaluation/iou_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/panoptic_quality.py b/official/vision/beta/evaluation/panoptic_quality.py index aba0a2330..0546fb959 100644 --- a/official/vision/beta/evaluation/panoptic_quality.py +++ b/official/vision/beta/evaluation/panoptic_quality.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/panoptic_quality_evaluator.py b/official/vision/beta/evaluation/panoptic_quality_evaluator.py index 6425c6883..c9775680c 100644 --- a/official/vision/beta/evaluation/panoptic_quality_evaluator.py +++ b/official/vision/beta/evaluation/panoptic_quality_evaluator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/panoptic_quality_evaluator_test.py b/official/vision/beta/evaluation/panoptic_quality_evaluator_test.py index 9490da65f..e162058ae 100644 --- a/official/vision/beta/evaluation/panoptic_quality_evaluator_test.py +++ b/official/vision/beta/evaluation/panoptic_quality_evaluator_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/panoptic_quality_test.py b/official/vision/beta/evaluation/panoptic_quality_test.py index 078ec5f1a..60cf27c22 100644 --- a/official/vision/beta/evaluation/panoptic_quality_test.py +++ b/official/vision/beta/evaluation/panoptic_quality_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/segmentation_metrics.py b/official/vision/beta/evaluation/segmentation_metrics.py index ae1131dd2..6d6bd8d64 100644 --- a/official/vision/beta/evaluation/segmentation_metrics.py +++ b/official/vision/beta/evaluation/segmentation_metrics.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/segmentation_metrics_test.py b/official/vision/beta/evaluation/segmentation_metrics_test.py index 76f63e40a..27b0c3b8e 100644 --- a/official/vision/beta/evaluation/segmentation_metrics_test.py +++ b/official/vision/beta/evaluation/segmentation_metrics_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/evaluation/wod_detection_evaluator.py b/official/vision/beta/evaluation/wod_detection_evaluator.py index f4dd7024e..d33aa52ca 100644 --- a/official/vision/beta/evaluation/wod_detection_evaluator.py +++ b/official/vision/beta/evaluation/wod_detection_evaluator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/losses/__init__.py b/official/vision/beta/losses/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/losses/__init__.py +++ b/official/vision/beta/losses/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/losses/focal_loss.py b/official/vision/beta/losses/focal_loss.py index 7241d9ae2..4a4ce70b3 100644 --- a/official/vision/beta/losses/focal_loss.py +++ b/official/vision/beta/losses/focal_loss.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/losses/loss_utils.py b/official/vision/beta/losses/loss_utils.py index 70bc1ce5c..1c59d0c89 100644 --- a/official/vision/beta/losses/loss_utils.py +++ b/official/vision/beta/losses/loss_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/losses/maskrcnn_losses.py b/official/vision/beta/losses/maskrcnn_losses.py index 48fd01819..99e0ac95b 100644 --- a/official/vision/beta/losses/maskrcnn_losses.py +++ b/official/vision/beta/losses/maskrcnn_losses.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/losses/retinanet_losses.py b/official/vision/beta/losses/retinanet_losses.py index 8baf2525e..91aaecf08 100644 --- a/official/vision/beta/losses/retinanet_losses.py +++ b/official/vision/beta/losses/retinanet_losses.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/losses/segmentation_losses.py b/official/vision/beta/losses/segmentation_losses.py index 215fa183e..e336cbb27 100644 --- a/official/vision/beta/losses/segmentation_losses.py +++ b/official/vision/beta/losses/segmentation_losses.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/__init__.py b/official/vision/beta/modeling/__init__.py index 321582995..444b1a1e9 100644 --- a/official/vision/beta/modeling/__init__.py +++ b/official/vision/beta/modeling/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/__init__.py b/official/vision/beta/modeling/backbones/__init__.py index 26c02f62d..ca6ca1bca 100644 --- a/official/vision/beta/modeling/backbones/__init__.py +++ b/official/vision/beta/modeling/backbones/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/efficientnet.py b/official/vision/beta/modeling/backbones/efficientnet.py index 068b749ce..1a90858fa 100644 --- a/official/vision/beta/modeling/backbones/efficientnet.py +++ b/official/vision/beta/modeling/backbones/efficientnet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/efficientnet_test.py b/official/vision/beta/modeling/backbones/efficientnet_test.py index 00e35001e..9bddf8889 100644 --- a/official/vision/beta/modeling/backbones/efficientnet_test.py +++ b/official/vision/beta/modeling/backbones/efficientnet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/factory.py b/official/vision/beta/modeling/backbones/factory.py index 324301266..1f695413f 100644 --- a/official/vision/beta/modeling/backbones/factory.py +++ b/official/vision/beta/modeling/backbones/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/factory_test.py b/official/vision/beta/modeling/backbones/factory_test.py index 81a7455d3..c011f49a6 100644 --- a/official/vision/beta/modeling/backbones/factory_test.py +++ b/official/vision/beta/modeling/backbones/factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/mobiledet.py b/official/vision/beta/modeling/backbones/mobiledet.py index 0e4db7570..21b2634d5 100644 --- a/official/vision/beta/modeling/backbones/mobiledet.py +++ b/official/vision/beta/modeling/backbones/mobiledet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/mobiledet_test.py b/official/vision/beta/modeling/backbones/mobiledet_test.py index 0d0126c2b..9624b3219 100644 --- a/official/vision/beta/modeling/backbones/mobiledet_test.py +++ b/official/vision/beta/modeling/backbones/mobiledet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/mobilenet.py b/official/vision/beta/modeling/backbones/mobilenet.py index 42d846641..8d599ec7a 100644 --- a/official/vision/beta/modeling/backbones/mobilenet.py +++ b/official/vision/beta/modeling/backbones/mobilenet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/mobilenet_test.py b/official/vision/beta/modeling/backbones/mobilenet_test.py index 7266383ff..271e2060e 100644 --- a/official/vision/beta/modeling/backbones/mobilenet_test.py +++ b/official/vision/beta/modeling/backbones/mobilenet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/resnet.py b/official/vision/beta/modeling/backbones/resnet.py index 4c77ec8d9..66c9e7d0f 100644 --- a/official/vision/beta/modeling/backbones/resnet.py +++ b/official/vision/beta/modeling/backbones/resnet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/resnet_3d.py b/official/vision/beta/modeling/backbones/resnet_3d.py index f1876df24..b0fa4b206 100644 --- a/official/vision/beta/modeling/backbones/resnet_3d.py +++ b/official/vision/beta/modeling/backbones/resnet_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/resnet_3d_test.py b/official/vision/beta/modeling/backbones/resnet_3d_test.py index ea40c8f4f..3b109edbb 100644 --- a/official/vision/beta/modeling/backbones/resnet_3d_test.py +++ b/official/vision/beta/modeling/backbones/resnet_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/resnet_deeplab.py b/official/vision/beta/modeling/backbones/resnet_deeplab.py index 611689fd3..7707b17c5 100644 --- a/official/vision/beta/modeling/backbones/resnet_deeplab.py +++ b/official/vision/beta/modeling/backbones/resnet_deeplab.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/resnet_deeplab_test.py b/official/vision/beta/modeling/backbones/resnet_deeplab_test.py index 53169a1fe..2c8ce7d64 100644 --- a/official/vision/beta/modeling/backbones/resnet_deeplab_test.py +++ b/official/vision/beta/modeling/backbones/resnet_deeplab_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/resnet_test.py b/official/vision/beta/modeling/backbones/resnet_test.py index aa6d5b679..534963eb5 100644 --- a/official/vision/beta/modeling/backbones/resnet_test.py +++ b/official/vision/beta/modeling/backbones/resnet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/revnet.py b/official/vision/beta/modeling/backbones/revnet.py index 550ed5a34..aff33c32c 100644 --- a/official/vision/beta/modeling/backbones/revnet.py +++ b/official/vision/beta/modeling/backbones/revnet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/revnet_test.py b/official/vision/beta/modeling/backbones/revnet_test.py index dd797f0ff..c436b6848 100644 --- a/official/vision/beta/modeling/backbones/revnet_test.py +++ b/official/vision/beta/modeling/backbones/revnet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/spinenet.py b/official/vision/beta/modeling/backbones/spinenet.py index ac458dae7..b65294973 100644 --- a/official/vision/beta/modeling/backbones/spinenet.py +++ b/official/vision/beta/modeling/backbones/spinenet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/spinenet_mobile.py b/official/vision/beta/modeling/backbones/spinenet_mobile.py index 1edf5c7d9..63a7861ae 100644 --- a/official/vision/beta/modeling/backbones/spinenet_mobile.py +++ b/official/vision/beta/modeling/backbones/spinenet_mobile.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/spinenet_mobile_test.py b/official/vision/beta/modeling/backbones/spinenet_mobile_test.py index 56fab19bc..4f956610a 100644 --- a/official/vision/beta/modeling/backbones/spinenet_mobile_test.py +++ b/official/vision/beta/modeling/backbones/spinenet_mobile_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/backbones/spinenet_test.py b/official/vision/beta/modeling/backbones/spinenet_test.py index e3a036a6e..39cda10d2 100644 --- a/official/vision/beta/modeling/backbones/spinenet_test.py +++ b/official/vision/beta/modeling/backbones/spinenet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/classification_model.py b/official/vision/beta/modeling/classification_model.py index cde7ebcca..ae85e4a16 100644 --- a/official/vision/beta/modeling/classification_model.py +++ b/official/vision/beta/modeling/classification_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/classification_model_test.py b/official/vision/beta/modeling/classification_model_test.py index 5af56e794..32e0aac6e 100644 --- a/official/vision/beta/modeling/classification_model_test.py +++ b/official/vision/beta/modeling/classification_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/decoders/__init__.py b/official/vision/beta/modeling/decoders/__init__.py index 1678aacb4..e594b5dde 100644 --- a/official/vision/beta/modeling/decoders/__init__.py +++ b/official/vision/beta/modeling/decoders/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/decoders/aspp.py b/official/vision/beta/modeling/decoders/aspp.py index 4a9081843..ac705a798 100644 --- a/official/vision/beta/modeling/decoders/aspp.py +++ b/official/vision/beta/modeling/decoders/aspp.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/decoders/aspp_test.py b/official/vision/beta/modeling/decoders/aspp_test.py index c04b2feb4..1b7638d8d 100644 --- a/official/vision/beta/modeling/decoders/aspp_test.py +++ b/official/vision/beta/modeling/decoders/aspp_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/decoders/factory.py b/official/vision/beta/modeling/decoders/factory.py index a5de4107a..d1f732b9b 100644 --- a/official/vision/beta/modeling/decoders/factory.py +++ b/official/vision/beta/modeling/decoders/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/decoders/factory_test.py b/official/vision/beta/modeling/decoders/factory_test.py index ea97e59e8..844a5b020 100644 --- a/official/vision/beta/modeling/decoders/factory_test.py +++ b/official/vision/beta/modeling/decoders/factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/decoders/fpn.py b/official/vision/beta/modeling/decoders/fpn.py index f96dec04e..9fd03d951 100644 --- a/official/vision/beta/modeling/decoders/fpn.py +++ b/official/vision/beta/modeling/decoders/fpn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/decoders/fpn_test.py b/official/vision/beta/modeling/decoders/fpn_test.py index 1aef30011..434dd93a9 100644 --- a/official/vision/beta/modeling/decoders/fpn_test.py +++ b/official/vision/beta/modeling/decoders/fpn_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/decoders/nasfpn.py b/official/vision/beta/modeling/decoders/nasfpn.py index b09e074c8..6761f20c6 100644 --- a/official/vision/beta/modeling/decoders/nasfpn.py +++ b/official/vision/beta/modeling/decoders/nasfpn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/decoders/nasfpn_test.py b/official/vision/beta/modeling/decoders/nasfpn_test.py index c81012815..c27b4a2e7 100644 --- a/official/vision/beta/modeling/decoders/nasfpn_test.py +++ b/official/vision/beta/modeling/decoders/nasfpn_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/factory.py b/official/vision/beta/modeling/factory.py index c91a1abce..637e05865 100644 --- a/official/vision/beta/modeling/factory.py +++ b/official/vision/beta/modeling/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/factory_3d.py b/official/vision/beta/modeling/factory_3d.py index 01d8052ea..b68bdd6c0 100644 --- a/official/vision/beta/modeling/factory_3d.py +++ b/official/vision/beta/modeling/factory_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/factory_test.py b/official/vision/beta/modeling/factory_test.py index 79127f1b5..ce0ab9958 100644 --- a/official/vision/beta/modeling/factory_test.py +++ b/official/vision/beta/modeling/factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/heads/__init__.py b/official/vision/beta/modeling/heads/__init__.py index 881fc1120..0157c05c9 100644 --- a/official/vision/beta/modeling/heads/__init__.py +++ b/official/vision/beta/modeling/heads/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/heads/dense_prediction_heads.py b/official/vision/beta/modeling/heads/dense_prediction_heads.py index 60e19c92f..7402b50d1 100644 --- a/official/vision/beta/modeling/heads/dense_prediction_heads.py +++ b/official/vision/beta/modeling/heads/dense_prediction_heads.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/heads/dense_prediction_heads_test.py b/official/vision/beta/modeling/heads/dense_prediction_heads_test.py index ee940c550..9387ccdd2 100644 --- a/official/vision/beta/modeling/heads/dense_prediction_heads_test.py +++ b/official/vision/beta/modeling/heads/dense_prediction_heads_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/heads/instance_heads.py b/official/vision/beta/modeling/heads/instance_heads.py index fd492dd22..ae44c969d 100644 --- a/official/vision/beta/modeling/heads/instance_heads.py +++ b/official/vision/beta/modeling/heads/instance_heads.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/heads/instance_heads_test.py b/official/vision/beta/modeling/heads/instance_heads_test.py index 2f87705ec..bcce06c07 100644 --- a/official/vision/beta/modeling/heads/instance_heads_test.py +++ b/official/vision/beta/modeling/heads/instance_heads_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/heads/segmentation_heads.py b/official/vision/beta/modeling/heads/segmentation_heads.py index 89f6d606b..c6bffac18 100644 --- a/official/vision/beta/modeling/heads/segmentation_heads.py +++ b/official/vision/beta/modeling/heads/segmentation_heads.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/heads/segmentation_heads_test.py b/official/vision/beta/modeling/heads/segmentation_heads_test.py index 2ec7ded68..df7933dd1 100644 --- a/official/vision/beta/modeling/heads/segmentation_heads_test.py +++ b/official/vision/beta/modeling/heads/segmentation_heads_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/__init__.py b/official/vision/beta/modeling/layers/__init__.py index 4e74bf608..9c7feba28 100644 --- a/official/vision/beta/modeling/layers/__init__.py +++ b/official/vision/beta/modeling/layers/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/box_sampler.py b/official/vision/beta/modeling/layers/box_sampler.py index 3dfefbc68..eab15d415 100644 --- a/official/vision/beta/modeling/layers/box_sampler.py +++ b/official/vision/beta/modeling/layers/box_sampler.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/deeplab.py b/official/vision/beta/modeling/layers/deeplab.py index 78468c49e..d48724f02 100644 --- a/official/vision/beta/modeling/layers/deeplab.py +++ b/official/vision/beta/modeling/layers/deeplab.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/deeplab_test.py b/official/vision/beta/modeling/layers/deeplab_test.py index 2dbe15a19..dcb7b1b0c 100644 --- a/official/vision/beta/modeling/layers/deeplab_test.py +++ b/official/vision/beta/modeling/layers/deeplab_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/detection_generator.py b/official/vision/beta/modeling/layers/detection_generator.py index 0460706c9..b2c144e78 100644 --- a/official/vision/beta/modeling/layers/detection_generator.py +++ b/official/vision/beta/modeling/layers/detection_generator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/detection_generator_test.py b/official/vision/beta/modeling/layers/detection_generator_test.py index 7660cb537..1b72f969a 100644 --- a/official/vision/beta/modeling/layers/detection_generator_test.py +++ b/official/vision/beta/modeling/layers/detection_generator_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/mask_sampler.py b/official/vision/beta/modeling/layers/mask_sampler.py index 73d3caa32..844ee1eeb 100644 --- a/official/vision/beta/modeling/layers/mask_sampler.py +++ b/official/vision/beta/modeling/layers/mask_sampler.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/nn_blocks.py b/official/vision/beta/modeling/layers/nn_blocks.py index 2d3301124..2b60aa574 100644 --- a/official/vision/beta/modeling/layers/nn_blocks.py +++ b/official/vision/beta/modeling/layers/nn_blocks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/nn_blocks_3d.py b/official/vision/beta/modeling/layers/nn_blocks_3d.py index cf377530a..ba6034e91 100644 --- a/official/vision/beta/modeling/layers/nn_blocks_3d.py +++ b/official/vision/beta/modeling/layers/nn_blocks_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/nn_blocks_3d_test.py b/official/vision/beta/modeling/layers/nn_blocks_3d_test.py index 189c0e7cb..143beb712 100644 --- a/official/vision/beta/modeling/layers/nn_blocks_3d_test.py +++ b/official/vision/beta/modeling/layers/nn_blocks_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/nn_blocks_test.py b/official/vision/beta/modeling/layers/nn_blocks_test.py index 0467b102f..e1ad22ad0 100644 --- a/official/vision/beta/modeling/layers/nn_blocks_test.py +++ b/official/vision/beta/modeling/layers/nn_blocks_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/nn_layers.py b/official/vision/beta/modeling/layers/nn_layers.py index 756c0e0cb..51f1db691 100644 --- a/official/vision/beta/modeling/layers/nn_layers.py +++ b/official/vision/beta/modeling/layers/nn_layers.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/nn_layers_test.py b/official/vision/beta/modeling/layers/nn_layers_test.py index 6cc484ce5..4a4ae6cf0 100644 --- a/official/vision/beta/modeling/layers/nn_layers_test.py +++ b/official/vision/beta/modeling/layers/nn_layers_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/roi_aligner.py b/official/vision/beta/modeling/layers/roi_aligner.py index 6f9f55b60..040ed2b96 100644 --- a/official/vision/beta/modeling/layers/roi_aligner.py +++ b/official/vision/beta/modeling/layers/roi_aligner.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/roi_aligner_test.py b/official/vision/beta/modeling/layers/roi_aligner_test.py index ce6b124fe..35f499a11 100644 --- a/official/vision/beta/modeling/layers/roi_aligner_test.py +++ b/official/vision/beta/modeling/layers/roi_aligner_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/roi_generator.py b/official/vision/beta/modeling/layers/roi_generator.py index b569a3ba3..6d83750e7 100644 --- a/official/vision/beta/modeling/layers/roi_generator.py +++ b/official/vision/beta/modeling/layers/roi_generator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/layers/roi_sampler.py b/official/vision/beta/modeling/layers/roi_sampler.py index 3625d2944..742506e43 100644 --- a/official/vision/beta/modeling/layers/roi_sampler.py +++ b/official/vision/beta/modeling/layers/roi_sampler.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/maskrcnn_model.py b/official/vision/beta/modeling/maskrcnn_model.py index 722a50b40..bbb43dd44 100644 --- a/official/vision/beta/modeling/maskrcnn_model.py +++ b/official/vision/beta/modeling/maskrcnn_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/maskrcnn_model_test.py b/official/vision/beta/modeling/maskrcnn_model_test.py index 7c42bc5db..a5b9cece7 100644 --- a/official/vision/beta/modeling/maskrcnn_model_test.py +++ b/official/vision/beta/modeling/maskrcnn_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/retinanet_model.py b/official/vision/beta/modeling/retinanet_model.py index 5d6f82390..48edee766 100644 --- a/official/vision/beta/modeling/retinanet_model.py +++ b/official/vision/beta/modeling/retinanet_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/retinanet_model_test.py b/official/vision/beta/modeling/retinanet_model_test.py index 17191e557..d4f3b70db 100644 --- a/official/vision/beta/modeling/retinanet_model_test.py +++ b/official/vision/beta/modeling/retinanet_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/segmentation_model.py b/official/vision/beta/modeling/segmentation_model.py index 6ac819296..18cdf5995 100644 --- a/official/vision/beta/modeling/segmentation_model.py +++ b/official/vision/beta/modeling/segmentation_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/segmentation_model_test.py b/official/vision/beta/modeling/segmentation_model_test.py index ec2e1ee98..e2a24c2c8 100644 --- a/official/vision/beta/modeling/segmentation_model_test.py +++ b/official/vision/beta/modeling/segmentation_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/video_classification_model.py b/official/vision/beta/modeling/video_classification_model.py index 552c6b10e..8aedd35bc 100644 --- a/official/vision/beta/modeling/video_classification_model.py +++ b/official/vision/beta/modeling/video_classification_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/modeling/video_classification_model_test.py b/official/vision/beta/modeling/video_classification_model_test.py index 7b06cf83b..d5ba66a25 100644 --- a/official/vision/beta/modeling/video_classification_model_test.py +++ b/official/vision/beta/modeling/video_classification_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/__init__.py b/official/vision/beta/ops/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/ops/__init__.py +++ b/official/vision/beta/ops/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/anchor.py b/official/vision/beta/ops/anchor.py index 7d24bd85b..9351864bd 100644 --- a/official/vision/beta/ops/anchor.py +++ b/official/vision/beta/ops/anchor.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/anchor_generator.py b/official/vision/beta/ops/anchor_generator.py index c15b178da..b2ced0c62 100644 --- a/official/vision/beta/ops/anchor_generator.py +++ b/official/vision/beta/ops/anchor_generator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/anchor_generator_test.py b/official/vision/beta/ops/anchor_generator_test.py index 2d24e76dc..c7d89e586 100644 --- a/official/vision/beta/ops/anchor_generator_test.py +++ b/official/vision/beta/ops/anchor_generator_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/anchor_test.py b/official/vision/beta/ops/anchor_test.py index ba119ebed..9d55cbcff 100644 --- a/official/vision/beta/ops/anchor_test.py +++ b/official/vision/beta/ops/anchor_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/augment.py b/official/vision/beta/ops/augment.py index 32395d883..9f0b7b9d2 100644 --- a/official/vision/beta/ops/augment.py +++ b/official/vision/beta/ops/augment.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/augment_test.py b/official/vision/beta/ops/augment_test.py index f5deb77f6..68224fc2d 100644 --- a/official/vision/beta/ops/augment_test.py +++ b/official/vision/beta/ops/augment_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/box_matcher.py b/official/vision/beta/ops/box_matcher.py index d788577d2..9c38ad7fe 100644 --- a/official/vision/beta/ops/box_matcher.py +++ b/official/vision/beta/ops/box_matcher.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/box_matcher_test.py b/official/vision/beta/ops/box_matcher_test.py index 67f8c4ccb..0048b0e47 100644 --- a/official/vision/beta/ops/box_matcher_test.py +++ b/official/vision/beta/ops/box_matcher_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/box_ops.py b/official/vision/beta/ops/box_ops.py index 3a6f69c24..2868881f8 100644 --- a/official/vision/beta/ops/box_ops.py +++ b/official/vision/beta/ops/box_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/iou_similarity.py b/official/vision/beta/ops/iou_similarity.py index cdbb397fc..c73a95773 100644 --- a/official/vision/beta/ops/iou_similarity.py +++ b/official/vision/beta/ops/iou_similarity.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/iou_similarity_test.py b/official/vision/beta/ops/iou_similarity_test.py index 512ea064a..ea99f5aab 100644 --- a/official/vision/beta/ops/iou_similarity_test.py +++ b/official/vision/beta/ops/iou_similarity_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/mask_ops.py b/official/vision/beta/ops/mask_ops.py index 6109bfdb5..cbdb41caa 100644 --- a/official/vision/beta/ops/mask_ops.py +++ b/official/vision/beta/ops/mask_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/mask_ops_test.py b/official/vision/beta/ops/mask_ops_test.py index 09b766329..f63892bc8 100644 --- a/official/vision/beta/ops/mask_ops_test.py +++ b/official/vision/beta/ops/mask_ops_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/nms.py b/official/vision/beta/ops/nms.py index 945e7896d..7d1ab3c51 100644 --- a/official/vision/beta/ops/nms.py +++ b/official/vision/beta/ops/nms.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/preprocess_ops.py b/official/vision/beta/ops/preprocess_ops.py index 0c0a9baf8..d8c40fc1f 100644 --- a/official/vision/beta/ops/preprocess_ops.py +++ b/official/vision/beta/ops/preprocess_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/preprocess_ops_3d.py b/official/vision/beta/ops/preprocess_ops_3d.py index ad9d03029..16ab2dd6e 100644 --- a/official/vision/beta/ops/preprocess_ops_3d.py +++ b/official/vision/beta/ops/preprocess_ops_3d.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/preprocess_ops_3d_test.py b/official/vision/beta/ops/preprocess_ops_3d_test.py index b2db9334b..ccad05fa9 100644 --- a/official/vision/beta/ops/preprocess_ops_3d_test.py +++ b/official/vision/beta/ops/preprocess_ops_3d_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/preprocess_ops_test.py b/official/vision/beta/ops/preprocess_ops_test.py index 6bb051e6c..1ec56bf79 100644 --- a/official/vision/beta/ops/preprocess_ops_test.py +++ b/official/vision/beta/ops/preprocess_ops_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/sampling_ops.py b/official/vision/beta/ops/sampling_ops.py index bd19e3ff7..f86979e13 100644 --- a/official/vision/beta/ops/sampling_ops.py +++ b/official/vision/beta/ops/sampling_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/spatial_transform_ops.py b/official/vision/beta/ops/spatial_transform_ops.py index 3095e33ed..c2f6658df 100644 --- a/official/vision/beta/ops/spatial_transform_ops.py +++ b/official/vision/beta/ops/spatial_transform_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/target_gather.py b/official/vision/beta/ops/target_gather.py index e9cbbe4c6..3c8c3a0a4 100644 --- a/official/vision/beta/ops/target_gather.py +++ b/official/vision/beta/ops/target_gather.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/ops/target_gather_test.py b/official/vision/beta/ops/target_gather_test.py index e68627181..962a31d88 100644 --- a/official/vision/beta/ops/target_gather_test.py +++ b/official/vision/beta/ops/target_gather_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/__init__.py b/official/vision/beta/projects/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/__init__.py +++ b/official/vision/beta/projects/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/common/registry_imports.py b/official/vision/beta/projects/centernet/common/registry_imports.py index 068147017..d70231f26 100644 --- a/official/vision/beta/projects/centernet/common/registry_imports.py +++ b/official/vision/beta/projects/centernet/common/registry_imports.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/configs/__init__.py b/official/vision/beta/projects/centernet/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/centernet/configs/__init__.py +++ b/official/vision/beta/projects/centernet/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/configs/backbones.py b/official/vision/beta/projects/centernet/configs/backbones.py index 00cfd7ff1..96f7af783 100644 --- a/official/vision/beta/projects/centernet/configs/backbones.py +++ b/official/vision/beta/projects/centernet/configs/backbones.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/configs/centernet.py b/official/vision/beta/projects/centernet/configs/centernet.py index b991668a1..bdec5e8c5 100644 --- a/official/vision/beta/projects/centernet/configs/centernet.py +++ b/official/vision/beta/projects/centernet/configs/centernet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/configs/centernet_test.py b/official/vision/beta/projects/centernet/configs/centernet_test.py index 93e3b8f02..50c4bd029 100644 --- a/official/vision/beta/projects/centernet/configs/centernet_test.py +++ b/official/vision/beta/projects/centernet/configs/centernet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/dataloaders/centernet_input.py b/official/vision/beta/projects/centernet/dataloaders/centernet_input.py index 373b7a87e..e5dc3f7a5 100644 --- a/official/vision/beta/projects/centernet/dataloaders/centernet_input.py +++ b/official/vision/beta/projects/centernet/dataloaders/centernet_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/losses/centernet_losses.py b/official/vision/beta/projects/centernet/losses/centernet_losses.py index a83f8ae81..4cb7b0fe8 100644 --- a/official/vision/beta/projects/centernet/losses/centernet_losses.py +++ b/official/vision/beta/projects/centernet/losses/centernet_losses.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/losses/centernet_losses_test.py b/official/vision/beta/projects/centernet/losses/centernet_losses_test.py index ac1e699a2..903f28aed 100644 --- a/official/vision/beta/projects/centernet/losses/centernet_losses_test.py +++ b/official/vision/beta/projects/centernet/losses/centernet_losses_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/modeling/backbones/hourglass.py b/official/vision/beta/projects/centernet/modeling/backbones/hourglass.py index b3f5ba394..b36a0975e 100644 --- a/official/vision/beta/projects/centernet/modeling/backbones/hourglass.py +++ b/official/vision/beta/projects/centernet/modeling/backbones/hourglass.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/modeling/backbones/hourglass_test.py b/official/vision/beta/projects/centernet/modeling/backbones/hourglass_test.py index 3e5af6102..8cf9628be 100644 --- a/official/vision/beta/projects/centernet/modeling/backbones/hourglass_test.py +++ b/official/vision/beta/projects/centernet/modeling/backbones/hourglass_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/modeling/centernet_model.py b/official/vision/beta/projects/centernet/modeling/centernet_model.py index e35adf9ac..3b8de7534 100644 --- a/official/vision/beta/projects/centernet/modeling/centernet_model.py +++ b/official/vision/beta/projects/centernet/modeling/centernet_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/modeling/centernet_model_test.py b/official/vision/beta/projects/centernet/modeling/centernet_model_test.py index 6fa767f3e..7a165170a 100644 --- a/official/vision/beta/projects/centernet/modeling/centernet_model_test.py +++ b/official/vision/beta/projects/centernet/modeling/centernet_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/modeling/heads/centernet_head.py b/official/vision/beta/projects/centernet/modeling/heads/centernet_head.py index d493076c7..0b3cd0b08 100644 --- a/official/vision/beta/projects/centernet/modeling/heads/centernet_head.py +++ b/official/vision/beta/projects/centernet/modeling/heads/centernet_head.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/modeling/heads/centernet_head_test.py b/official/vision/beta/projects/centernet/modeling/heads/centernet_head_test.py index f1497a7e9..bcaad046e 100644 --- a/official/vision/beta/projects/centernet/modeling/heads/centernet_head_test.py +++ b/official/vision/beta/projects/centernet/modeling/heads/centernet_head_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/modeling/layers/cn_nn_blocks.py b/official/vision/beta/projects/centernet/modeling/layers/cn_nn_blocks.py index f8d395cb6..239c2f271 100644 --- a/official/vision/beta/projects/centernet/modeling/layers/cn_nn_blocks.py +++ b/official/vision/beta/projects/centernet/modeling/layers/cn_nn_blocks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/modeling/layers/cn_nn_blocks_test.py b/official/vision/beta/projects/centernet/modeling/layers/cn_nn_blocks_test.py index 5ad90b496..04af6d44d 100644 --- a/official/vision/beta/projects/centernet/modeling/layers/cn_nn_blocks_test.py +++ b/official/vision/beta/projects/centernet/modeling/layers/cn_nn_blocks_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/modeling/layers/detection_generator.py b/official/vision/beta/projects/centernet/modeling/layers/detection_generator.py index abeea0df5..781f94981 100644 --- a/official/vision/beta/projects/centernet/modeling/layers/detection_generator.py +++ b/official/vision/beta/projects/centernet/modeling/layers/detection_generator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/ops/__init__.py b/official/vision/beta/projects/centernet/ops/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/centernet/ops/__init__.py +++ b/official/vision/beta/projects/centernet/ops/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/ops/box_list.py b/official/vision/beta/projects/centernet/ops/box_list.py index 6de3b975d..4e93b9fd6 100644 --- a/official/vision/beta/projects/centernet/ops/box_list.py +++ b/official/vision/beta/projects/centernet/ops/box_list.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/ops/box_list_ops.py b/official/vision/beta/projects/centernet/ops/box_list_ops.py index 998c32cf0..03d4277bd 100644 --- a/official/vision/beta/projects/centernet/ops/box_list_ops.py +++ b/official/vision/beta/projects/centernet/ops/box_list_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/ops/loss_ops.py b/official/vision/beta/projects/centernet/ops/loss_ops.py index dfb585f6f..e17b28041 100644 --- a/official/vision/beta/projects/centernet/ops/loss_ops.py +++ b/official/vision/beta/projects/centernet/ops/loss_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/ops/nms_ops.py b/official/vision/beta/projects/centernet/ops/nms_ops.py index c331b6215..adc0891d2 100644 --- a/official/vision/beta/projects/centernet/ops/nms_ops.py +++ b/official/vision/beta/projects/centernet/ops/nms_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/ops/preprocess_ops.py b/official/vision/beta/projects/centernet/ops/preprocess_ops.py index 985b26cd8..c7fba3146 100644 --- a/official/vision/beta/projects/centernet/ops/preprocess_ops.py +++ b/official/vision/beta/projects/centernet/ops/preprocess_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/ops/target_assigner.py b/official/vision/beta/projects/centernet/ops/target_assigner.py index dd1cdc171..60bc4e67e 100644 --- a/official/vision/beta/projects/centernet/ops/target_assigner.py +++ b/official/vision/beta/projects/centernet/ops/target_assigner.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/ops/target_assigner_test.py b/official/vision/beta/projects/centernet/ops/target_assigner_test.py index 4d10dc0c6..eeaa49cd5 100644 --- a/official/vision/beta/projects/centernet/ops/target_assigner_test.py +++ b/official/vision/beta/projects/centernet/ops/target_assigner_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/tasks/centernet.py b/official/vision/beta/projects/centernet/tasks/centernet.py index e02c863bf..9cc3c5d1c 100644 --- a/official/vision/beta/projects/centernet/tasks/centernet.py +++ b/official/vision/beta/projects/centernet/tasks/centernet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/train.py b/official/vision/beta/projects/centernet/train.py index 82a0fa64b..8488e6084 100644 --- a/official/vision/beta/projects/centernet/train.py +++ b/official/vision/beta/projects/centernet/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/utils/checkpoints/__init__.py b/official/vision/beta/projects/centernet/utils/checkpoints/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/centernet/utils/checkpoints/__init__.py +++ b/official/vision/beta/projects/centernet/utils/checkpoints/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/utils/checkpoints/config_classes.py b/official/vision/beta/projects/centernet/utils/checkpoints/config_classes.py index 12b25d25e..5c67085f9 100644 --- a/official/vision/beta/projects/centernet/utils/checkpoints/config_classes.py +++ b/official/vision/beta/projects/centernet/utils/checkpoints/config_classes.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/utils/checkpoints/config_data.py b/official/vision/beta/projects/centernet/utils/checkpoints/config_data.py index 302f661f3..76de9dfd2 100644 --- a/official/vision/beta/projects/centernet/utils/checkpoints/config_data.py +++ b/official/vision/beta/projects/centernet/utils/checkpoints/config_data.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/utils/checkpoints/load_weights.py b/official/vision/beta/projects/centernet/utils/checkpoints/load_weights.py index 4bc387f4e..2042bd1ae 100644 --- a/official/vision/beta/projects/centernet/utils/checkpoints/load_weights.py +++ b/official/vision/beta/projects/centernet/utils/checkpoints/load_weights.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/utils/checkpoints/read_checkpoints.py b/official/vision/beta/projects/centernet/utils/checkpoints/read_checkpoints.py index 850b33825..4128f4046 100644 --- a/official/vision/beta/projects/centernet/utils/checkpoints/read_checkpoints.py +++ b/official/vision/beta/projects/centernet/utils/checkpoints/read_checkpoints.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/centernet/utils/tf2_centernet_checkpoint_converter.py b/official/vision/beta/projects/centernet/utils/tf2_centernet_checkpoint_converter.py index 33c29efe2..4306eb8ee 100644 --- a/official/vision/beta/projects/centernet/utils/tf2_centernet_checkpoint_converter.py +++ b/official/vision/beta/projects/centernet/utils/tf2_centernet_checkpoint_converter.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/__init__.py b/official/vision/beta/projects/deepmac_maskrcnn/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/__init__.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/common/__init__.py b/official/vision/beta/projects/deepmac_maskrcnn/common/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/common/__init__.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/common/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/common/registry_imports.py b/official/vision/beta/projects/deepmac_maskrcnn/common/registry_imports.py index 0732d1a0b..89ee8160b 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/common/registry_imports.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/common/registry_imports.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/configs/__init__.py b/official/vision/beta/projects/deepmac_maskrcnn/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/configs/__init__.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/configs/deep_mask_head_rcnn.py b/official/vision/beta/projects/deepmac_maskrcnn/configs/deep_mask_head_rcnn.py index ef81566ed..fded8c592 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/configs/deep_mask_head_rcnn.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/configs/deep_mask_head_rcnn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/configs/deep_mask_head_rcnn_config_test.py b/official/vision/beta/projects/deepmac_maskrcnn/configs/deep_mask_head_rcnn_config_test.py index 77920be60..8d0d79f11 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/configs/deep_mask_head_rcnn_config_test.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/configs/deep_mask_head_rcnn_config_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/modeling/__init__.py b/official/vision/beta/projects/deepmac_maskrcnn/modeling/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/modeling/__init__.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/modeling/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/__init__.py b/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/__init__.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/hourglass_network.py b/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/hourglass_network.py index 8b7314045..b6f3cac99 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/hourglass_network.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/hourglass_network.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/instance_heads.py b/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/instance_heads.py index 6e6ef0888..58f188926 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/instance_heads.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/instance_heads.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/instance_heads_test.py b/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/instance_heads_test.py index 95947238f..7859b60a5 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/instance_heads_test.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/modeling/heads/instance_heads_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/modeling/maskrcnn_model.py b/official/vision/beta/projects/deepmac_maskrcnn/modeling/maskrcnn_model.py index 97263c4bd..89abb885a 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/modeling/maskrcnn_model.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/modeling/maskrcnn_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/modeling/maskrcnn_model_test.py b/official/vision/beta/projects/deepmac_maskrcnn/modeling/maskrcnn_model_test.py index 9003d793e..ac7c5be5c 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/modeling/maskrcnn_model_test.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/modeling/maskrcnn_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/serving/__init__.py b/official/vision/beta/projects/deepmac_maskrcnn/serving/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/serving/__init__.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/serving/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/serving/detection.py b/official/vision/beta/projects/deepmac_maskrcnn/serving/detection.py index 74fc1cd04..bb5e3b2b5 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/serving/detection.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/serving/detection.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/serving/detection_test.py b/official/vision/beta/projects/deepmac_maskrcnn/serving/detection_test.py index a15b44f27..2e5b8d513 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/serving/detection_test.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/serving/detection_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/serving/export_saved_model.py b/official/vision/beta/projects/deepmac_maskrcnn/serving/export_saved_model.py index da497eff7..62068096c 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/serving/export_saved_model.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/serving/export_saved_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/tasks/__init__.py b/official/vision/beta/projects/deepmac_maskrcnn/tasks/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/tasks/__init__.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/tasks/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/tasks/deep_mask_head_rcnn.py b/official/vision/beta/projects/deepmac_maskrcnn/tasks/deep_mask_head_rcnn.py index 60eb0b565..d1165dd67 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/tasks/deep_mask_head_rcnn.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/tasks/deep_mask_head_rcnn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/deepmac_maskrcnn/train.py b/official/vision/beta/projects/deepmac_maskrcnn/train.py index 8e773615a..e72c94f93 100644 --- a/official/vision/beta/projects/deepmac_maskrcnn/train.py +++ b/official/vision/beta/projects/deepmac_maskrcnn/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/example/example_config.py b/official/vision/beta/projects/example/example_config.py index 8750acf8e..91459fd59 100644 --- a/official/vision/beta/projects/example/example_config.py +++ b/official/vision/beta/projects/example/example_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/example/example_input.py b/official/vision/beta/projects/example/example_input.py index a3437752e..c84344ad3 100644 --- a/official/vision/beta/projects/example/example_input.py +++ b/official/vision/beta/projects/example/example_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/example/example_model.py b/official/vision/beta/projects/example/example_model.py index 48417498f..baba6e23a 100644 --- a/official/vision/beta/projects/example/example_model.py +++ b/official/vision/beta/projects/example/example_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/example/example_task.py b/official/vision/beta/projects/example/example_task.py index 412a401fd..330f31c38 100644 --- a/official/vision/beta/projects/example/example_task.py +++ b/official/vision/beta/projects/example/example_task.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/example/registry_imports.py b/official/vision/beta/projects/example/registry_imports.py index 1f44a877c..973d3575e 100644 --- a/official/vision/beta/projects/example/registry_imports.py +++ b/official/vision/beta/projects/example/registry_imports.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/example/train.py b/official/vision/beta/projects/example/train.py index 57b177517..3bffbbe70 100644 --- a/official/vision/beta/projects/example/train.py +++ b/official/vision/beta/projects/example/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/__init__.py b/official/vision/beta/projects/panoptic_maskrcnn/__init__.py index 3a1fd335a..00e8f8abe 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/__init__.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/configs/__init__.py b/official/vision/beta/projects/panoptic_maskrcnn/configs/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/configs/__init__.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py b/official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py index c17a82595..2144f3e40 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn_test.py b/official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn_test.py index 6cd0ae2c2..442d07bb3 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn_test.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/dataloaders/panoptic_maskrcnn_input.py b/official/vision/beta/projects/panoptic_maskrcnn/dataloaders/panoptic_maskrcnn_input.py index 4df17b483..bb19f0589 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/dataloaders/panoptic_maskrcnn_input.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/dataloaders/panoptic_maskrcnn_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/modeling/factory.py b/official/vision/beta/projects/panoptic_maskrcnn/modeling/factory.py index e02227fb3..0db387047 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/modeling/factory.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/modeling/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/modeling/factory_test.py b/official/vision/beta/projects/panoptic_maskrcnn/modeling/factory_test.py index ba64f8083..b232a043a 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/modeling/factory_test.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/modeling/factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/panoptic_segmentation_generator.py b/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/panoptic_segmentation_generator.py index 498304e95..69900866b 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/panoptic_segmentation_generator.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/panoptic_segmentation_generator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/panoptic_segmentation_generator_test.py b/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/panoptic_segmentation_generator_test.py index 8005a8350..d746f3d8d 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/panoptic_segmentation_generator_test.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/panoptic_segmentation_generator_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/paste_masks.py b/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/paste_masks.py index 1a750be59..e46ffae8c 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/paste_masks.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/modeling/layers/paste_masks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/modeling/panoptic_maskrcnn_model.py b/official/vision/beta/projects/panoptic_maskrcnn/modeling/panoptic_maskrcnn_model.py index 713ae62b2..19a8c4aed 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/modeling/panoptic_maskrcnn_model.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/modeling/panoptic_maskrcnn_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/modeling/panoptic_maskrcnn_model_test.py b/official/vision/beta/projects/panoptic_maskrcnn/modeling/panoptic_maskrcnn_model_test.py index 63889ba50..45f1ef946 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/modeling/panoptic_maskrcnn_model_test.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/modeling/panoptic_maskrcnn_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/serving/export_saved_model.py b/official/vision/beta/projects/panoptic_maskrcnn/serving/export_saved_model.py index 11d675971..9e7d51e59 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/serving/export_saved_model.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/serving/export_saved_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation.py b/official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation.py index 2f001307f..db23ea244 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation_test.py b/official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation_test.py index 6f6e2748d..51d14cfc2 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation_test.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/serving/panoptic_segmentation_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/tasks/__init__.py b/official/vision/beta/projects/panoptic_maskrcnn/tasks/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/tasks/__init__.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/tasks/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_maskrcnn.py b/official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_maskrcnn.py index 5fb133cb5..11915d068 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_maskrcnn.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_maskrcnn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_maskrcnn_test.py b/official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_maskrcnn_test.py index 031bc9247..0a60ba9b1 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_maskrcnn_test.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/tasks/panoptic_maskrcnn_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/panoptic_maskrcnn/train.py b/official/vision/beta/projects/panoptic_maskrcnn/train.py index 4270f915f..f8943917a 100644 --- a/official/vision/beta/projects/panoptic_maskrcnn/train.py +++ b/official/vision/beta/projects/panoptic_maskrcnn/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/common/registry_imports.py b/official/vision/beta/projects/simclr/common/registry_imports.py index d605e21bb..9b4b2842f 100644 --- a/official/vision/beta/projects/simclr/common/registry_imports.py +++ b/official/vision/beta/projects/simclr/common/registry_imports.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/configs/multitask_config.py b/official/vision/beta/projects/simclr/configs/multitask_config.py index 8cf00d5af..22f23df16 100644 --- a/official/vision/beta/projects/simclr/configs/multitask_config.py +++ b/official/vision/beta/projects/simclr/configs/multitask_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/configs/multitask_config_test.py b/official/vision/beta/projects/simclr/configs/multitask_config_test.py index 666cd7599..fbb1aed8d 100644 --- a/official/vision/beta/projects/simclr/configs/multitask_config_test.py +++ b/official/vision/beta/projects/simclr/configs/multitask_config_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/configs/simclr.py b/official/vision/beta/projects/simclr/configs/simclr.py index 2d03839c6..86037c359 100644 --- a/official/vision/beta/projects/simclr/configs/simclr.py +++ b/official/vision/beta/projects/simclr/configs/simclr.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/configs/simclr_test.py b/official/vision/beta/projects/simclr/configs/simclr_test.py index 5a6518018..92ac4d278 100644 --- a/official/vision/beta/projects/simclr/configs/simclr_test.py +++ b/official/vision/beta/projects/simclr/configs/simclr_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/dataloaders/preprocess_ops.py b/official/vision/beta/projects/simclr/dataloaders/preprocess_ops.py index 93a2b1f35..081621466 100644 --- a/official/vision/beta/projects/simclr/dataloaders/preprocess_ops.py +++ b/official/vision/beta/projects/simclr/dataloaders/preprocess_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/dataloaders/simclr_input.py b/official/vision/beta/projects/simclr/dataloaders/simclr_input.py index 4170b2e68..a0c78c63d 100644 --- a/official/vision/beta/projects/simclr/dataloaders/simclr_input.py +++ b/official/vision/beta/projects/simclr/dataloaders/simclr_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/heads/simclr_head.py b/official/vision/beta/projects/simclr/heads/simclr_head.py index 947fc38e9..9213a81f0 100644 --- a/official/vision/beta/projects/simclr/heads/simclr_head.py +++ b/official/vision/beta/projects/simclr/heads/simclr_head.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/heads/simclr_head_test.py b/official/vision/beta/projects/simclr/heads/simclr_head_test.py index 1c8f92603..20ed748ee 100644 --- a/official/vision/beta/projects/simclr/heads/simclr_head_test.py +++ b/official/vision/beta/projects/simclr/heads/simclr_head_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/losses/contrastive_losses.py b/official/vision/beta/projects/simclr/losses/contrastive_losses.py index af528265c..f16a7b723 100644 --- a/official/vision/beta/projects/simclr/losses/contrastive_losses.py +++ b/official/vision/beta/projects/simclr/losses/contrastive_losses.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/losses/contrastive_losses_test.py b/official/vision/beta/projects/simclr/losses/contrastive_losses_test.py index 815a3d01e..9da507829 100644 --- a/official/vision/beta/projects/simclr/losses/contrastive_losses_test.py +++ b/official/vision/beta/projects/simclr/losses/contrastive_losses_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/modeling/layers/nn_blocks.py b/official/vision/beta/projects/simclr/modeling/layers/nn_blocks.py index 5264eb8b1..013a7be52 100644 --- a/official/vision/beta/projects/simclr/modeling/layers/nn_blocks.py +++ b/official/vision/beta/projects/simclr/modeling/layers/nn_blocks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/modeling/layers/nn_blocks_test.py b/official/vision/beta/projects/simclr/modeling/layers/nn_blocks_test.py index f63f1037c..f1b6b4f4c 100644 --- a/official/vision/beta/projects/simclr/modeling/layers/nn_blocks_test.py +++ b/official/vision/beta/projects/simclr/modeling/layers/nn_blocks_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/modeling/multitask_model.py b/official/vision/beta/projects/simclr/modeling/multitask_model.py index a971e85c8..5da3dfb43 100644 --- a/official/vision/beta/projects/simclr/modeling/multitask_model.py +++ b/official/vision/beta/projects/simclr/modeling/multitask_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/modeling/multitask_model_test.py b/official/vision/beta/projects/simclr/modeling/multitask_model_test.py index 0190145a8..e0d6c2cca 100644 --- a/official/vision/beta/projects/simclr/modeling/multitask_model_test.py +++ b/official/vision/beta/projects/simclr/modeling/multitask_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/modeling/simclr_model.py b/official/vision/beta/projects/simclr/modeling/simclr_model.py index 25db8a9f3..da8a6e357 100644 --- a/official/vision/beta/projects/simclr/modeling/simclr_model.py +++ b/official/vision/beta/projects/simclr/modeling/simclr_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/modeling/simclr_model_test.py b/official/vision/beta/projects/simclr/modeling/simclr_model_test.py index ee8724eba..ab09fae75 100644 --- a/official/vision/beta/projects/simclr/modeling/simclr_model_test.py +++ b/official/vision/beta/projects/simclr/modeling/simclr_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/multitask_train.py b/official/vision/beta/projects/simclr/multitask_train.py index 77fb621a8..65f23be96 100644 --- a/official/vision/beta/projects/simclr/multitask_train.py +++ b/official/vision/beta/projects/simclr/multitask_train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/tasks/simclr.py b/official/vision/beta/projects/simclr/tasks/simclr.py index 101fa3974..0caed15dd 100644 --- a/official/vision/beta/projects/simclr/tasks/simclr.py +++ b/official/vision/beta/projects/simclr/tasks/simclr.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/simclr/train.py b/official/vision/beta/projects/simclr/train.py index 6f636c657..0eed5ee07 100644 --- a/official/vision/beta/projects/simclr/train.py +++ b/official/vision/beta/projects/simclr/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/configs/__init__.py b/official/vision/beta/projects/video_ssl/configs/__init__.py index d96b0c3bc..c131e8b03 100644 --- a/official/vision/beta/projects/video_ssl/configs/__init__.py +++ b/official/vision/beta/projects/video_ssl/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/configs/video_ssl.py b/official/vision/beta/projects/video_ssl/configs/video_ssl.py index b2dcb22ce..8f2de0d75 100644 --- a/official/vision/beta/projects/video_ssl/configs/video_ssl.py +++ b/official/vision/beta/projects/video_ssl/configs/video_ssl.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/configs/video_ssl_test.py b/official/vision/beta/projects/video_ssl/configs/video_ssl_test.py index d6e3eeac2..be640f271 100644 --- a/official/vision/beta/projects/video_ssl/configs/video_ssl_test.py +++ b/official/vision/beta/projects/video_ssl/configs/video_ssl_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/dataloaders/video_ssl_input.py b/official/vision/beta/projects/video_ssl/dataloaders/video_ssl_input.py index dc7bd88ed..d4240a9a0 100644 --- a/official/vision/beta/projects/video_ssl/dataloaders/video_ssl_input.py +++ b/official/vision/beta/projects/video_ssl/dataloaders/video_ssl_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/dataloaders/video_ssl_input_test.py b/official/vision/beta/projects/video_ssl/dataloaders/video_ssl_input_test.py index abf647896..21e99acfa 100644 --- a/official/vision/beta/projects/video_ssl/dataloaders/video_ssl_input_test.py +++ b/official/vision/beta/projects/video_ssl/dataloaders/video_ssl_input_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/losses/losses.py b/official/vision/beta/projects/video_ssl/losses/losses.py index 6801816ee..b1a54670c 100644 --- a/official/vision/beta/projects/video_ssl/losses/losses.py +++ b/official/vision/beta/projects/video_ssl/losses/losses.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/modeling/video_ssl_model.py b/official/vision/beta/projects/video_ssl/modeling/video_ssl_model.py index 01a604d91..fd631c9ee 100644 --- a/official/vision/beta/projects/video_ssl/modeling/video_ssl_model.py +++ b/official/vision/beta/projects/video_ssl/modeling/video_ssl_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/ops/video_ssl_preprocess_ops.py b/official/vision/beta/projects/video_ssl/ops/video_ssl_preprocess_ops.py index 253798e85..b0071c7a3 100644 --- a/official/vision/beta/projects/video_ssl/ops/video_ssl_preprocess_ops.py +++ b/official/vision/beta/projects/video_ssl/ops/video_ssl_preprocess_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/ops/video_ssl_preprocess_ops_test.py b/official/vision/beta/projects/video_ssl/ops/video_ssl_preprocess_ops_test.py index d7292ffc4..4cf667d31 100644 --- a/official/vision/beta/projects/video_ssl/ops/video_ssl_preprocess_ops_test.py +++ b/official/vision/beta/projects/video_ssl/ops/video_ssl_preprocess_ops_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/tasks/__init__.py b/official/vision/beta/projects/video_ssl/tasks/__init__.py index d4b14ce68..89b2e6626 100644 --- a/official/vision/beta/projects/video_ssl/tasks/__init__.py +++ b/official/vision/beta/projects/video_ssl/tasks/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/tasks/linear_eval.py b/official/vision/beta/projects/video_ssl/tasks/linear_eval.py index dc245e44c..6b8373f2f 100644 --- a/official/vision/beta/projects/video_ssl/tasks/linear_eval.py +++ b/official/vision/beta/projects/video_ssl/tasks/linear_eval.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/tasks/pretrain.py b/official/vision/beta/projects/video_ssl/tasks/pretrain.py index b82b2624a..cb6505435 100644 --- a/official/vision/beta/projects/video_ssl/tasks/pretrain.py +++ b/official/vision/beta/projects/video_ssl/tasks/pretrain.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/tasks/pretrain_test.py b/official/vision/beta/projects/video_ssl/tasks/pretrain_test.py index e6ec40d57..cb6ced6b2 100644 --- a/official/vision/beta/projects/video_ssl/tasks/pretrain_test.py +++ b/official/vision/beta/projects/video_ssl/tasks/pretrain_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/video_ssl/train.py b/official/vision/beta/projects/video_ssl/train.py index 9a6482d62..663da196e 100644 --- a/official/vision/beta/projects/video_ssl/train.py +++ b/official/vision/beta/projects/video_ssl/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/vit/configs/__init__.py b/official/vision/beta/projects/vit/configs/__init__.py index b1f629bd7..126ea6819 100644 --- a/official/vision/beta/projects/vit/configs/__init__.py +++ b/official/vision/beta/projects/vit/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/vit/configs/backbones.py b/official/vision/beta/projects/vit/configs/backbones.py index 93ee4b1fa..93d4d62dc 100644 --- a/official/vision/beta/projects/vit/configs/backbones.py +++ b/official/vision/beta/projects/vit/configs/backbones.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/vit/configs/image_classification.py b/official/vision/beta/projects/vit/configs/image_classification.py index 25fd3db4b..92fc9a10c 100644 --- a/official/vision/beta/projects/vit/configs/image_classification.py +++ b/official/vision/beta/projects/vit/configs/image_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/vit/modeling/nn_blocks.py b/official/vision/beta/projects/vit/modeling/nn_blocks.py index 3c222290b..709424794 100644 --- a/official/vision/beta/projects/vit/modeling/nn_blocks.py +++ b/official/vision/beta/projects/vit/modeling/nn_blocks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/vit/modeling/vit.py b/official/vision/beta/projects/vit/modeling/vit.py index ed0fcb9fe..30bb70866 100644 --- a/official/vision/beta/projects/vit/modeling/vit.py +++ b/official/vision/beta/projects/vit/modeling/vit.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/vit/modeling/vit_test.py b/official/vision/beta/projects/vit/modeling/vit_test.py index 7a9b2ac4d..0cb53dc9e 100644 --- a/official/vision/beta/projects/vit/modeling/vit_test.py +++ b/official/vision/beta/projects/vit/modeling/vit_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/vit/train.py b/official/vision/beta/projects/vit/train.py index 46a6a1b5e..b6f3a1610 100644 --- a/official/vision/beta/projects/vit/train.py +++ b/official/vision/beta/projects/vit/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/common/registry_imports.py b/official/vision/beta/projects/yolo/common/registry_imports.py index e40d39856..3d9d85d7b 100644 --- a/official/vision/beta/projects/yolo/common/registry_imports.py +++ b/official/vision/beta/projects/yolo/common/registry_imports.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/configs/backbones.py b/official/vision/beta/projects/yolo/configs/backbones.py index 071af5bde..1bc3af3fd 100644 --- a/official/vision/beta/projects/yolo/configs/backbones.py +++ b/official/vision/beta/projects/yolo/configs/backbones.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/configs/darknet_classification.py b/official/vision/beta/projects/yolo/configs/darknet_classification.py index d3022d522..ee927ac0e 100644 --- a/official/vision/beta/projects/yolo/configs/darknet_classification.py +++ b/official/vision/beta/projects/yolo/configs/darknet_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/configs/decoders.py b/official/vision/beta/projects/yolo/configs/decoders.py index 7a4f4a6d9..0ae93daec 100755 --- a/official/vision/beta/projects/yolo/configs/decoders.py +++ b/official/vision/beta/projects/yolo/configs/decoders.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/configs/yolo.py b/official/vision/beta/projects/yolo/configs/yolo.py index bb529f41b..651518a82 100755 --- a/official/vision/beta/projects/yolo/configs/yolo.py +++ b/official/vision/beta/projects/yolo/configs/yolo.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/dataloaders/__init__.py b/official/vision/beta/projects/yolo/dataloaders/__init__.py index a25710c22..ba97902e7 100644 --- a/official/vision/beta/projects/yolo/dataloaders/__init__.py +++ b/official/vision/beta/projects/yolo/dataloaders/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/dataloaders/classification_input.py b/official/vision/beta/projects/yolo/dataloaders/classification_input.py index 57d7ec238..4c9c663b2 100755 --- a/official/vision/beta/projects/yolo/dataloaders/classification_input.py +++ b/official/vision/beta/projects/yolo/dataloaders/classification_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/dataloaders/tf_example_decoder.py b/official/vision/beta/projects/yolo/dataloaders/tf_example_decoder.py index 032a20a52..1b4a3fa0a 100644 --- a/official/vision/beta/projects/yolo/dataloaders/tf_example_decoder.py +++ b/official/vision/beta/projects/yolo/dataloaders/tf_example_decoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/dataloaders/yolo_input.py b/official/vision/beta/projects/yolo/dataloaders/yolo_input.py index 112fc1bf0..d8981b1d1 100755 --- a/official/vision/beta/projects/yolo/dataloaders/yolo_input.py +++ b/official/vision/beta/projects/yolo/dataloaders/yolo_input.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/losses/__init__.py b/official/vision/beta/projects/yolo/losses/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/yolo/losses/__init__.py +++ b/official/vision/beta/projects/yolo/losses/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/losses/yolo_loss.py b/official/vision/beta/projects/yolo/losses/yolo_loss.py index aac117bdf..a123a04e2 100755 --- a/official/vision/beta/projects/yolo/losses/yolo_loss.py +++ b/official/vision/beta/projects/yolo/losses/yolo_loss.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/losses/yolo_loss_test.py b/official/vision/beta/projects/yolo/losses/yolo_loss_test.py index b94901812..9a8f8a781 100755 --- a/official/vision/beta/projects/yolo/losses/yolo_loss_test.py +++ b/official/vision/beta/projects/yolo/losses/yolo_loss_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/backbones/darknet.py b/official/vision/beta/projects/yolo/modeling/backbones/darknet.py index 7adcb0960..623f15ed1 100644 --- a/official/vision/beta/projects/yolo/modeling/backbones/darknet.py +++ b/official/vision/beta/projects/yolo/modeling/backbones/darknet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/backbones/darknet_test.py b/official/vision/beta/projects/yolo/modeling/backbones/darknet_test.py index 9441b06a3..5daad329f 100644 --- a/official/vision/beta/projects/yolo/modeling/backbones/darknet_test.py +++ b/official/vision/beta/projects/yolo/modeling/backbones/darknet_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/decoders/__init__.py b/official/vision/beta/projects/yolo/modeling/decoders/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/yolo/modeling/decoders/__init__.py +++ b/official/vision/beta/projects/yolo/modeling/decoders/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder.py b/official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder.py index 8aaab13f6..aa3d64105 100644 --- a/official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder.py +++ b/official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder_test.py b/official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder_test.py index 611c45859..18b3c38c7 100644 --- a/official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder_test.py +++ b/official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/factory.py b/official/vision/beta/projects/yolo/modeling/factory.py index a84113106..68066a37c 100644 --- a/official/vision/beta/projects/yolo/modeling/factory.py +++ b/official/vision/beta/projects/yolo/modeling/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/heads/__init__.py b/official/vision/beta/projects/yolo/modeling/heads/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/projects/yolo/modeling/heads/__init__.py +++ b/official/vision/beta/projects/yolo/modeling/heads/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/heads/yolo_head.py b/official/vision/beta/projects/yolo/modeling/heads/yolo_head.py index 23d41a045..70a6a76cf 100644 --- a/official/vision/beta/projects/yolo/modeling/heads/yolo_head.py +++ b/official/vision/beta/projects/yolo/modeling/heads/yolo_head.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/heads/yolo_head_test.py b/official/vision/beta/projects/yolo/modeling/heads/yolo_head_test.py index 8c5414e5d..ebc18c1fd 100644 --- a/official/vision/beta/projects/yolo/modeling/heads/yolo_head_test.py +++ b/official/vision/beta/projects/yolo/modeling/heads/yolo_head_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/layers/detection_generator.py b/official/vision/beta/projects/yolo/modeling/layers/detection_generator.py index 13732e475..1adc1e3c9 100644 --- a/official/vision/beta/projects/yolo/modeling/layers/detection_generator.py +++ b/official/vision/beta/projects/yolo/modeling/layers/detection_generator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/layers/detection_generator_test.py b/official/vision/beta/projects/yolo/modeling/layers/detection_generator_test.py index ebe700604..fc8e61003 100644 --- a/official/vision/beta/projects/yolo/modeling/layers/detection_generator_test.py +++ b/official/vision/beta/projects/yolo/modeling/layers/detection_generator_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/layers/nn_blocks.py b/official/vision/beta/projects/yolo/modeling/layers/nn_blocks.py index a3879c6f9..f4ab88492 100644 --- a/official/vision/beta/projects/yolo/modeling/layers/nn_blocks.py +++ b/official/vision/beta/projects/yolo/modeling/layers/nn_blocks.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/layers/nn_blocks_test.py b/official/vision/beta/projects/yolo/modeling/layers/nn_blocks_test.py index b43beefba..1c15905b6 100644 --- a/official/vision/beta/projects/yolo/modeling/layers/nn_blocks_test.py +++ b/official/vision/beta/projects/yolo/modeling/layers/nn_blocks_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/modeling/yolo_model.py b/official/vision/beta/projects/yolo/modeling/yolo_model.py index 06f79750e..9748bba66 100644 --- a/official/vision/beta/projects/yolo/modeling/yolo_model.py +++ b/official/vision/beta/projects/yolo/modeling/yolo_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/ops/__init__.py b/official/vision/beta/projects/yolo/ops/__init__.py index a25710c22..ba97902e7 100644 --- a/official/vision/beta/projects/yolo/ops/__init__.py +++ b/official/vision/beta/projects/yolo/ops/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/ops/anchor.py b/official/vision/beta/projects/yolo/ops/anchor.py index dfe675984..b73c44f35 100644 --- a/official/vision/beta/projects/yolo/ops/anchor.py +++ b/official/vision/beta/projects/yolo/ops/anchor.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/ops/box_ops.py b/official/vision/beta/projects/yolo/ops/box_ops.py index 6d15f5d31..a674c9273 100644 --- a/official/vision/beta/projects/yolo/ops/box_ops.py +++ b/official/vision/beta/projects/yolo/ops/box_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/ops/box_ops_test.py b/official/vision/beta/projects/yolo/ops/box_ops_test.py index afba1ee53..17a83c4b0 100644 --- a/official/vision/beta/projects/yolo/ops/box_ops_test.py +++ b/official/vision/beta/projects/yolo/ops/box_ops_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/ops/loss_utils.py b/official/vision/beta/projects/yolo/ops/loss_utils.py index 553629019..b8fca0060 100755 --- a/official/vision/beta/projects/yolo/ops/loss_utils.py +++ b/official/vision/beta/projects/yolo/ops/loss_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/ops/math_ops.py b/official/vision/beta/projects/yolo/ops/math_ops.py index 8350acf2c..7a42288c1 100644 --- a/official/vision/beta/projects/yolo/ops/math_ops.py +++ b/official/vision/beta/projects/yolo/ops/math_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/ops/mosaic.py b/official/vision/beta/projects/yolo/ops/mosaic.py index cf386cd61..c49423104 100755 --- a/official/vision/beta/projects/yolo/ops/mosaic.py +++ b/official/vision/beta/projects/yolo/ops/mosaic.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/ops/preprocessing_ops.py b/official/vision/beta/projects/yolo/ops/preprocessing_ops.py index 981fbcac9..bc97cc460 100755 --- a/official/vision/beta/projects/yolo/ops/preprocessing_ops.py +++ b/official/vision/beta/projects/yolo/ops/preprocessing_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/ops/preprocessing_ops_test.py b/official/vision/beta/projects/yolo/ops/preprocessing_ops_test.py index 43cca574b..22cfc1c8a 100755 --- a/official/vision/beta/projects/yolo/ops/preprocessing_ops_test.py +++ b/official/vision/beta/projects/yolo/ops/preprocessing_ops_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/optimization/__init__.py b/official/vision/beta/projects/yolo/optimization/__init__.py index 6ff51c806..06a9588ca 100755 --- a/official/vision/beta/projects/yolo/optimization/__init__.py +++ b/official/vision/beta/projects/yolo/optimization/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/optimization/configs/__init__.py b/official/vision/beta/projects/yolo/optimization/configs/__init__.py index e419af524..310bfb28f 100755 --- a/official/vision/beta/projects/yolo/optimization/configs/__init__.py +++ b/official/vision/beta/projects/yolo/optimization/configs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/optimization/configs/optimization_config.py b/official/vision/beta/projects/yolo/optimization/configs/optimization_config.py index 92b8d1a79..7314a9c2d 100755 --- a/official/vision/beta/projects/yolo/optimization/configs/optimization_config.py +++ b/official/vision/beta/projects/yolo/optimization/configs/optimization_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/optimization/configs/optimizer_config.py b/official/vision/beta/projects/yolo/optimization/configs/optimizer_config.py index c1124ee44..46c960964 100755 --- a/official/vision/beta/projects/yolo/optimization/configs/optimizer_config.py +++ b/official/vision/beta/projects/yolo/optimization/configs/optimizer_config.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/optimization/optimizer_factory.py b/official/vision/beta/projects/yolo/optimization/optimizer_factory.py index b2126d16b..e66082d62 100755 --- a/official/vision/beta/projects/yolo/optimization/optimizer_factory.py +++ b/official/vision/beta/projects/yolo/optimization/optimizer_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/optimization/sgd_torch.py b/official/vision/beta/projects/yolo/optimization/sgd_torch.py index 289dc7a6d..5f372a2c5 100644 --- a/official/vision/beta/projects/yolo/optimization/sgd_torch.py +++ b/official/vision/beta/projects/yolo/optimization/sgd_torch.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/tasks/image_classification.py b/official/vision/beta/projects/yolo/tasks/image_classification.py index 4edef631f..c0fdd0ae1 100644 --- a/official/vision/beta/projects/yolo/tasks/image_classification.py +++ b/official/vision/beta/projects/yolo/tasks/image_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/tasks/task_utils.py b/official/vision/beta/projects/yolo/tasks/task_utils.py index d759f3f1f..9a14f4910 100644 --- a/official/vision/beta/projects/yolo/tasks/task_utils.py +++ b/official/vision/beta/projects/yolo/tasks/task_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/tasks/yolo.py b/official/vision/beta/projects/yolo/tasks/yolo.py index 3539f17f1..60fa6d773 100755 --- a/official/vision/beta/projects/yolo/tasks/yolo.py +++ b/official/vision/beta/projects/yolo/tasks/yolo.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/projects/yolo/train.py b/official/vision/beta/projects/yolo/train.py index 78ee1ac32..85c9f215d 100644 --- a/official/vision/beta/projects/yolo/train.py +++ b/official/vision/beta/projects/yolo/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/__init__.py b/official/vision/beta/serving/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/beta/serving/__init__.py +++ b/official/vision/beta/serving/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/detection.py b/official/vision/beta/serving/detection.py index 749e6a319..173c26546 100644 --- a/official/vision/beta/serving/detection.py +++ b/official/vision/beta/serving/detection.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/detection_test.py b/official/vision/beta/serving/detection_test.py index f2958b08b..e51a9c224 100644 --- a/official/vision/beta/serving/detection_test.py +++ b/official/vision/beta/serving/detection_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_base.py b/official/vision/beta/serving/export_base.py index efdc61e60..1700c82e9 100644 --- a/official/vision/beta/serving/export_base.py +++ b/official/vision/beta/serving/export_base.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_base_v2.py b/official/vision/beta/serving/export_base_v2.py index f3f148bb5..25469b1bb 100644 --- a/official/vision/beta/serving/export_base_v2.py +++ b/official/vision/beta/serving/export_base_v2.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_base_v2_test.py b/official/vision/beta/serving/export_base_v2_test.py index a1bb2a36f..4d88fe8d6 100644 --- a/official/vision/beta/serving/export_base_v2_test.py +++ b/official/vision/beta/serving/export_base_v2_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_module_factory.py b/official/vision/beta/serving/export_module_factory.py index b2a8ee63e..73f1abffc 100644 --- a/official/vision/beta/serving/export_module_factory.py +++ b/official/vision/beta/serving/export_module_factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_module_factory_test.py b/official/vision/beta/serving/export_module_factory_test.py index 4115611c4..f3ffed10f 100644 --- a/official/vision/beta/serving/export_module_factory_test.py +++ b/official/vision/beta/serving/export_module_factory_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_saved_model.py b/official/vision/beta/serving/export_saved_model.py index 39fa5585a..c1a533686 100644 --- a/official/vision/beta/serving/export_saved_model.py +++ b/official/vision/beta/serving/export_saved_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_saved_model_lib.py b/official/vision/beta/serving/export_saved_model_lib.py index dd8599dd3..01e0e39f3 100644 --- a/official/vision/beta/serving/export_saved_model_lib.py +++ b/official/vision/beta/serving/export_saved_model_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_saved_model_lib_test.py b/official/vision/beta/serving/export_saved_model_lib_test.py index 82e5c8ba2..ff65cf7a1 100644 --- a/official/vision/beta/serving/export_saved_model_lib_test.py +++ b/official/vision/beta/serving/export_saved_model_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_saved_model_lib_v2.py b/official/vision/beta/serving/export_saved_model_lib_v2.py index 6260ad6cb..aa9e22778 100644 --- a/official/vision/beta/serving/export_saved_model_lib_v2.py +++ b/official/vision/beta/serving/export_saved_model_lib_v2.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_tfhub.py b/official/vision/beta/serving/export_tfhub.py index 8d8af0899..2b123a922 100644 --- a/official/vision/beta/serving/export_tfhub.py +++ b/official/vision/beta/serving/export_tfhub.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_tflite.py b/official/vision/beta/serving/export_tflite.py index 9e75841f0..eb1bfd690 100644 --- a/official/vision/beta/serving/export_tflite.py +++ b/official/vision/beta/serving/export_tflite.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_tflite_lib.py b/official/vision/beta/serving/export_tflite_lib.py index 1ea6baf99..d5535a924 100644 --- a/official/vision/beta/serving/export_tflite_lib.py +++ b/official/vision/beta/serving/export_tflite_lib.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_tflite_lib_test.py b/official/vision/beta/serving/export_tflite_lib_test.py index f12b4c0c1..72990b6ba 100644 --- a/official/vision/beta/serving/export_tflite_lib_test.py +++ b/official/vision/beta/serving/export_tflite_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/export_utils.py b/official/vision/beta/serving/export_utils.py index e3f650d42..5c9c5ea5e 100644 --- a/official/vision/beta/serving/export_utils.py +++ b/official/vision/beta/serving/export_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/image_classification.py b/official/vision/beta/serving/image_classification.py index 614d129eb..0b289580c 100644 --- a/official/vision/beta/serving/image_classification.py +++ b/official/vision/beta/serving/image_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/image_classification_test.py b/official/vision/beta/serving/image_classification_test.py index 056d24b87..38218d7a7 100644 --- a/official/vision/beta/serving/image_classification_test.py +++ b/official/vision/beta/serving/image_classification_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/semantic_segmentation.py b/official/vision/beta/serving/semantic_segmentation.py index e73d2ff61..f5b7dbf0f 100644 --- a/official/vision/beta/serving/semantic_segmentation.py +++ b/official/vision/beta/serving/semantic_segmentation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/semantic_segmentation_test.py b/official/vision/beta/serving/semantic_segmentation_test.py index 798a27e4e..30e97377c 100644 --- a/official/vision/beta/serving/semantic_segmentation_test.py +++ b/official/vision/beta/serving/semantic_segmentation_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/video_classification.py b/official/vision/beta/serving/video_classification.py index 2760cacb8..2de5b9a3e 100644 --- a/official/vision/beta/serving/video_classification.py +++ b/official/vision/beta/serving/video_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/serving/video_classification_test.py b/official/vision/beta/serving/video_classification_test.py index cba83650d..4acb73f89 100644 --- a/official/vision/beta/serving/video_classification_test.py +++ b/official/vision/beta/serving/video_classification_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/tasks/__init__.py b/official/vision/beta/tasks/__init__.py index 8410d0d5b..ce1239217 100644 --- a/official/vision/beta/tasks/__init__.py +++ b/official/vision/beta/tasks/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/tasks/image_classification.py b/official/vision/beta/tasks/image_classification.py index 6892b3a37..748e9ab04 100644 --- a/official/vision/beta/tasks/image_classification.py +++ b/official/vision/beta/tasks/image_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/tasks/maskrcnn.py b/official/vision/beta/tasks/maskrcnn.py index abb92a3e0..5ded06de3 100644 --- a/official/vision/beta/tasks/maskrcnn.py +++ b/official/vision/beta/tasks/maskrcnn.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/tasks/retinanet.py b/official/vision/beta/tasks/retinanet.py index b463e8d94..e1f28e779 100644 --- a/official/vision/beta/tasks/retinanet.py +++ b/official/vision/beta/tasks/retinanet.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/tasks/semantic_segmentation.py b/official/vision/beta/tasks/semantic_segmentation.py index ab1028e46..70d7ce192 100644 --- a/official/vision/beta/tasks/semantic_segmentation.py +++ b/official/vision/beta/tasks/semantic_segmentation.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/tasks/video_classification.py b/official/vision/beta/tasks/video_classification.py index 8cafba94e..599a5ee90 100644 --- a/official/vision/beta/tasks/video_classification.py +++ b/official/vision/beta/tasks/video_classification.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/train.py b/official/vision/beta/train.py index c3debad44..eb2d786ca 100644 --- a/official/vision/beta/train.py +++ b/official/vision/beta/train.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/beta/train_spatial_partitioning.py b/official/vision/beta/train_spatial_partitioning.py index 6bcbb5327..4e4caccc7 100644 --- a/official/vision/beta/train_spatial_partitioning.py +++ b/official/vision/beta/train_spatial_partitioning.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/detection/__init__.py b/official/vision/detection/__init__.py index b140327ed..8362beb56 100644 --- a/official/vision/detection/__init__.py +++ b/official/vision/detection/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/image_classification/__init__.py b/official/vision/image_classification/__init__.py index f8cba89ac..b35cc0cfa 100644 --- a/official/vision/image_classification/__init__.py +++ b/official/vision/image_classification/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/__init__.py b/official/vision/utils/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/utils/__init__.py +++ b/official/vision/utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/__init__.py b/official/vision/utils/object_detection/__init__.py index e419af524..310bfb28f 100644 --- a/official/vision/utils/object_detection/__init__.py +++ b/official/vision/utils/object_detection/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/argmax_matcher.py b/official/vision/utils/object_detection/argmax_matcher.py index c3b012a52..6be34ae3e 100644 --- a/official/vision/utils/object_detection/argmax_matcher.py +++ b/official/vision/utils/object_detection/argmax_matcher.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/balanced_positive_negative_sampler.py b/official/vision/utils/object_detection/balanced_positive_negative_sampler.py index 37463d479..5d9b491ba 100644 --- a/official/vision/utils/object_detection/balanced_positive_negative_sampler.py +++ b/official/vision/utils/object_detection/balanced_positive_negative_sampler.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/box_coder.py b/official/vision/utils/object_detection/box_coder.py index c58eead30..94904df26 100644 --- a/official/vision/utils/object_detection/box_coder.py +++ b/official/vision/utils/object_detection/box_coder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/box_list.py b/official/vision/utils/object_detection/box_list.py index f5d4443c8..bf78c8e81 100644 --- a/official/vision/utils/object_detection/box_list.py +++ b/official/vision/utils/object_detection/box_list.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/box_list_ops.py b/official/vision/utils/object_detection/box_list_ops.py index 9f1b230b5..445632898 100644 --- a/official/vision/utils/object_detection/box_list_ops.py +++ b/official/vision/utils/object_detection/box_list_ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/faster_rcnn_box_coder.py b/official/vision/utils/object_detection/faster_rcnn_box_coder.py index 00ce4c00c..f319ef8b7 100644 --- a/official/vision/utils/object_detection/faster_rcnn_box_coder.py +++ b/official/vision/utils/object_detection/faster_rcnn_box_coder.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/matcher.py b/official/vision/utils/object_detection/matcher.py index 158683097..412a7d859 100644 --- a/official/vision/utils/object_detection/matcher.py +++ b/official/vision/utils/object_detection/matcher.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/minibatch_sampler.py b/official/vision/utils/object_detection/minibatch_sampler.py index 07ffc8bc1..d013a438d 100644 --- a/official/vision/utils/object_detection/minibatch_sampler.py +++ b/official/vision/utils/object_detection/minibatch_sampler.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/ops.py b/official/vision/utils/object_detection/ops.py index a0892e46a..dac1cc869 100644 --- a/official/vision/utils/object_detection/ops.py +++ b/official/vision/utils/object_detection/ops.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/preprocessor.py b/official/vision/utils/object_detection/preprocessor.py index 082495b5e..fd2d87fc7 100644 --- a/official/vision/utils/object_detection/preprocessor.py +++ b/official/vision/utils/object_detection/preprocessor.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/region_similarity_calculator.py b/official/vision/utils/object_detection/region_similarity_calculator.py index 9b26b4c65..e94660d68 100644 --- a/official/vision/utils/object_detection/region_similarity_calculator.py +++ b/official/vision/utils/object_detection/region_similarity_calculator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/shape_utils.py b/official/vision/utils/object_detection/shape_utils.py index 6bf7c49d0..15af56d4a 100644 --- a/official/vision/utils/object_detection/shape_utils.py +++ b/official/vision/utils/object_detection/shape_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/target_assigner.py b/official/vision/utils/object_detection/target_assigner.py index 4dae06dba..7c1b378d1 100644 --- a/official/vision/utils/object_detection/target_assigner.py +++ b/official/vision/utils/object_detection/target_assigner.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/official/vision/utils/object_detection/visualization_utils.py b/official/vision/utils/object_detection/visualization_utils.py index a36a89ddb..50740df00 100644 --- a/official/vision/utils/object_detection/visualization_utils.py +++ b/official/vision/utils/object_detection/visualization_utils.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/__init__.py b/orbit/__init__.py index 01442a565..c28d85b7f 100644 --- a/orbit/__init__.py +++ b/orbit/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/actions/__init__.py b/orbit/actions/__init__.py index 5c3eab2d8..a18cc94b9 100644 --- a/orbit/actions/__init__.py +++ b/orbit/actions/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/actions/conditional_action.py b/orbit/actions/conditional_action.py index e4b812227..95e33f121 100644 --- a/orbit/actions/conditional_action.py +++ b/orbit/actions/conditional_action.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/actions/conditional_action_test.py b/orbit/actions/conditional_action_test.py index cfcfd0f54..53f489162 100644 --- a/orbit/actions/conditional_action_test.py +++ b/orbit/actions/conditional_action_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/actions/export_saved_model.py b/orbit/actions/export_saved_model.py index e53c40c38..1cad8a235 100644 --- a/orbit/actions/export_saved_model.py +++ b/orbit/actions/export_saved_model.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/actions/export_saved_model_test.py b/orbit/actions/export_saved_model_test.py index 191f6fdb5..42ddaa781 100644 --- a/orbit/actions/export_saved_model_test.py +++ b/orbit/actions/export_saved_model_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/actions/new_best_metric.py b/orbit/actions/new_best_metric.py index f2a01c80f..c551fd43b 100644 --- a/orbit/actions/new_best_metric.py +++ b/orbit/actions/new_best_metric.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/actions/new_best_metric_test.py b/orbit/actions/new_best_metric_test.py index aff21fda2..d14a86aaf 100644 --- a/orbit/actions/new_best_metric_test.py +++ b/orbit/actions/new_best_metric_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/controller.py b/orbit/controller.py index eceee4410..c4c84c798 100644 --- a/orbit/controller.py +++ b/orbit/controller.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/controller_test.py b/orbit/controller_test.py index fd1d1b8b8..9ed4603bf 100644 --- a/orbit/controller_test.py +++ b/orbit/controller_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/examples/__init__.py b/orbit/examples/__init__.py index a4d9cc3a1..8d5738a7a 100644 --- a/orbit/examples/__init__.py +++ b/orbit/examples/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/examples/single_task/__init__.py b/orbit/examples/single_task/__init__.py index a4d9cc3a1..8d5738a7a 100644 --- a/orbit/examples/single_task/__init__.py +++ b/orbit/examples/single_task/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/examples/single_task/single_task_evaluator.py b/orbit/examples/single_task/single_task_evaluator.py index 0dcbae063..1fee37a14 100644 --- a/orbit/examples/single_task/single_task_evaluator.py +++ b/orbit/examples/single_task/single_task_evaluator.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/examples/single_task/single_task_evaluator_test.py b/orbit/examples/single_task/single_task_evaluator_test.py index c074da0fb..349e7598e 100644 --- a/orbit/examples/single_task/single_task_evaluator_test.py +++ b/orbit/examples/single_task/single_task_evaluator_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/examples/single_task/single_task_trainer.py b/orbit/examples/single_task/single_task_trainer.py index f9b29185a..a6a1ef605 100644 --- a/orbit/examples/single_task/single_task_trainer.py +++ b/orbit/examples/single_task/single_task_trainer.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/examples/single_task/single_task_trainer_test.py b/orbit/examples/single_task/single_task_trainer_test.py index cba34f7b0..3ff48797c 100644 --- a/orbit/examples/single_task/single_task_trainer_test.py +++ b/orbit/examples/single_task/single_task_trainer_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/runner.py b/orbit/runner.py index b0377c521..722ae49f4 100644 --- a/orbit/runner.py +++ b/orbit/runner.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/standard_runner.py b/orbit/standard_runner.py index 7b0c8a379..775c92a6d 100644 --- a/orbit/standard_runner.py +++ b/orbit/standard_runner.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/standard_runner_test.py b/orbit/standard_runner_test.py index d3d450165..b21f8a148 100644 --- a/orbit/standard_runner_test.py +++ b/orbit/standard_runner_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/utils/__init__.py b/orbit/utils/__init__.py index 3eeb67c4a..2eac3ed18 100644 --- a/orbit/utils/__init__.py +++ b/orbit/utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/utils/common.py b/orbit/utils/common.py index 11d7f5dec..27a49e566 100644 --- a/orbit/utils/common.py +++ b/orbit/utils/common.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/utils/common_test.py b/orbit/utils/common_test.py index 1a68e7c66..4a8c2bf88 100644 --- a/orbit/utils/common_test.py +++ b/orbit/utils/common_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/utils/epoch_helper.py b/orbit/utils/epoch_helper.py index 10c11324a..21381b049 100644 --- a/orbit/utils/epoch_helper.py +++ b/orbit/utils/epoch_helper.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/utils/loop_fns.py b/orbit/utils/loop_fns.py index 7cc6529a3..df6ea7d96 100644 --- a/orbit/utils/loop_fns.py +++ b/orbit/utils/loop_fns.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/utils/summary_manager.py b/orbit/utils/summary_manager.py index 63a44940f..e44efa9e5 100644 --- a/orbit/utils/summary_manager.py +++ b/orbit/utils/summary_manager.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/utils/tpu_summaries.py b/orbit/utils/tpu_summaries.py index 3501c7aa8..2791eff43 100644 --- a/orbit/utils/tpu_summaries.py +++ b/orbit/utils/tpu_summaries.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/orbit/utils/tpu_summaries_test.py b/orbit/utils/tpu_summaries_test.py index 4aa0d0820..7ffe16be8 100644 --- a/orbit/utils/tpu_summaries_test.py +++ b/orbit/utils/tpu_summaries_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The Orbit Authors. All Rights Reserved. +# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_models/__init__.py b/tensorflow_models/__init__.py index 61c120deb..d518b395e 100644 --- a/tensorflow_models/__init__.py +++ b/tensorflow_models/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_models/nlp/__init__.py b/tensorflow_models/nlp/__init__.py index b26a57ce6..916ca1e7b 100644 --- a/tensorflow_models/nlp/__init__.py +++ b/tensorflow_models/nlp/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_models/tensorflow_models_test.py b/tensorflow_models/tensorflow_models_test.py index e55fcf9b9..8d85915e9 100644 --- a/tensorflow_models/tensorflow_models_test.py +++ b/tensorflow_models/tensorflow_models_test.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_models/vision/__init__.py b/tensorflow_models/vision/__init__.py index ab90ee038..f230555f4 100644 --- a/tensorflow_models/vision/__init__.py +++ b/tensorflow_models/vision/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 The TensorFlow Authors. All Rights Reserved. +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. -- GitLab From 143fd0b6952c5840604b92d5e39ed92a5d9ef567 Mon Sep 17 00:00:00 2001 From: Le Hou Date: Tue, 18 Jan 2022 13:43:11 -0800 Subject: [PATCH 08/28] Minor bug fixes PiperOrigin-RevId: 422637653 --- official/core/base_task.py | 4 +++- official/nlp/tasks/dual_encoder.py | 6 +++++- official/nlp/tasks/sentence_prediction.py | 8 ++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/official/core/base_task.py b/official/core/base_task.py index f49032d80..1f9f101e4 100644 --- a/official/core/base_task.py +++ b/official/core/base_task.py @@ -101,9 +101,11 @@ class Task(tf.Module, metaclass=abc.ABCMeta): ckpt_dir_or_file = self.task_config.init_checkpoint logging.info("Trying to load pretrained checkpoint from %s", ckpt_dir_or_file) - if tf.io.gfile.isdir(ckpt_dir_or_file): + if ckpt_dir_or_file and tf.io.gfile.isdir(ckpt_dir_or_file): ckpt_dir_or_file = tf.train.latest_checkpoint(ckpt_dir_or_file) if not ckpt_dir_or_file: + logging.info("No checkpoint file found from %s. Will not load.", + ckpt_dir_or_file) return if hasattr(model, "checkpoint_items"): diff --git a/official/nlp/tasks/dual_encoder.py b/official/nlp/tasks/dual_encoder.py index e7c283184..116456b59 100644 --- a/official/nlp/tasks/dual_encoder.py +++ b/official/nlp/tasks/dual_encoder.py @@ -187,9 +187,13 @@ class DualEncoderTask(base_task.Task): def initialize(self, model): """Load a pretrained checkpoint (if exists) and then train from iter 0.""" ckpt_dir_or_file = self.task_config.init_checkpoint - if tf.io.gfile.isdir(ckpt_dir_or_file): + logging.info('Trying to load pretrained checkpoint from %s', + ckpt_dir_or_file) + if ckpt_dir_or_file and tf.io.gfile.isdir(ckpt_dir_or_file): ckpt_dir_or_file = tf.train.latest_checkpoint(ckpt_dir_or_file) if not ckpt_dir_or_file: + logging.info('No checkpoint file found from %s. Will not load.', + ckpt_dir_or_file) return pretrain2finetune_mapping = { diff --git a/official/nlp/tasks/sentence_prediction.py b/official/nlp/tasks/sentence_prediction.py index 86d07c233..dd6c55144 100644 --- a/official/nlp/tasks/sentence_prediction.py +++ b/official/nlp/tasks/sentence_prediction.py @@ -223,10 +223,14 @@ class SentencePredictionTask(base_task.Task): def initialize(self, model): """Load a pretrained checkpoint (if exists) and then train from iter 0.""" ckpt_dir_or_file = self.task_config.init_checkpoint + logging.info('Trying to load pretrained checkpoint from %s', + ckpt_dir_or_file) + if ckpt_dir_or_file and tf.io.gfile.isdir(ckpt_dir_or_file): + ckpt_dir_or_file = tf.train.latest_checkpoint(ckpt_dir_or_file) if not ckpt_dir_or_file: + logging.info('No checkpoint file found from %s. Will not load.', + ckpt_dir_or_file) return - if tf.io.gfile.isdir(ckpt_dir_or_file): - ckpt_dir_or_file = tf.train.latest_checkpoint(ckpt_dir_or_file) pretrain2finetune_mapping = { 'encoder': model.checkpoint_items['encoder'], -- GitLab From 27fb855b027ead16d2616dcb59c67409a2176b7f Mon Sep 17 00:00:00 2001 From: Le Hou Date: Tue, 18 Jan 2022 13:45:12 -0800 Subject: [PATCH 09/28] Internal change PiperOrigin-RevId: 422638136 --- official/legacy/albert/configs.py | 2 +- official/{nlp => legacy}/bert/README.md | 2 +- official/{nlp => legacy}/bert/__init__.py | 0 official/{nlp => legacy}/bert/bert_cloud_tpu.md | 0 official/{nlp => legacy}/bert/bert_models.py | 2 +- .../{nlp => legacy}/bert/bert_models_test.py | 4 ++-- official/{nlp => legacy}/bert/common_flags.py | 0 official/{nlp => legacy}/bert/configs.py | 0 official/{nlp => legacy}/bert/export_tfhub.py | 4 ++-- .../{nlp => legacy}/bert/export_tfhub_test.py | 4 ++-- official/{nlp => legacy}/bert/input_pipeline.py | 0 .../{nlp => legacy}/bert/model_saving_utils.py | 3 +-- .../{nlp => legacy}/bert/model_training_utils.py | 0 .../bert/model_training_utils_test.py | 4 ++-- official/{nlp => legacy}/bert/run_classifier.py | 10 +++++----- official/{nlp => legacy}/bert/run_pretraining.py | 10 +++++----- official/{nlp => legacy}/bert/run_squad.py | 6 +++--- .../{nlp => legacy}/bert/run_squad_helper.py | 14 +++++++------- official/{nlp => legacy}/bert/serving.py | 4 ++-- official/nlp/data/classifier_data_lib.py | 2 +- official/nlp/data/classifier_data_lib_test.py | 2 +- official/nlp/data/create_finetuning_data.py | 2 +- official/nlp/data/create_pretraining_data.py | 2 +- .../nlp/data/create_xlnet_pretraining_data.py | 4 ++-- official/nlp/data/sentence_retrieval_lib.py | 2 +- official/nlp/data/squad_lib.py | 2 +- official/nlp/data/squad_lib_sp.py | 2 +- official/nlp/data/tagging_data_lib.py | 2 +- official/nlp/data/tagging_data_lib_test.py | 2 +- official/nlp/tasks/dual_encoder_test.py | 2 +- official/nlp/tasks/question_answering.py | 8 ++++---- official/nlp/tools/export_tfhub.py | 2 +- official/nlp/tools/export_tfhub_lib.py | 2 +- official/nlp/tools/export_tfhub_lib_test.py | 2 +- .../nlp/{bert => tools}/squad_evaluate_v1_1.py | 0 .../nlp/{bert => tools}/squad_evaluate_v2_0.py | 0 .../tf1_bert_checkpoint_converter_lib.py} | 0 .../tf2_albert_encoder_checkpoint_converter.py | 11 +++++------ .../tf2_bert_encoder_checkpoint_converter.py} | 16 ++++++++-------- official/nlp/{bert => tools}/tokenization.py | 0 .../nlp/{bert => tools}/tokenization_test.py | 2 +- official/nlp/xlnet/training_utils.py | 2 +- official/projects/nhnet/raw_data_processor.py | 2 +- official/projects/nhnet/utils.py | 2 +- 44 files changed, 70 insertions(+), 72 deletions(-) rename official/{nlp => legacy}/bert/README.md (99%) rename official/{nlp => legacy}/bert/__init__.py (100%) rename official/{nlp => legacy}/bert/bert_cloud_tpu.md (100%) rename official/{nlp => legacy}/bert/bert_models.py (99%) rename official/{nlp => legacy}/bert/bert_models_test.py (97%) rename official/{nlp => legacy}/bert/common_flags.py (100%) rename official/{nlp => legacy}/bert/configs.py (100%) rename official/{nlp => legacy}/bert/export_tfhub.py (98%) rename official/{nlp => legacy}/bert/export_tfhub_test.py (98%) rename official/{nlp => legacy}/bert/input_pipeline.py (100%) rename official/{nlp => legacy}/bert/model_saving_utils.py (99%) rename official/{nlp => legacy}/bert/model_training_utils.py (100%) rename official/{nlp => legacy}/bert/model_training_utils_test.py (99%) rename official/{nlp => legacy}/bert/run_classifier.py (98%) rename official/{nlp => legacy}/bert/run_pretraining.py (97%) rename official/{nlp => legacy}/bert/run_squad.py (97%) rename official/{nlp => legacy}/bert/run_squad_helper.py (98%) rename official/{nlp => legacy}/bert/serving.py (98%) rename official/nlp/{bert => tools}/squad_evaluate_v1_1.py (100%) rename official/nlp/{bert => tools}/squad_evaluate_v2_0.py (100%) rename official/nlp/{bert/tf1_checkpoint_converter_lib.py => tools/tf1_bert_checkpoint_converter_lib.py} (100%) rename official/nlp/{bert/tf2_encoder_checkpoint_converter.py => tools/tf2_bert_encoder_checkpoint_converter.py} (91%) rename official/nlp/{bert => tools}/tokenization.py (100%) rename official/nlp/{bert => tools}/tokenization_test.py (99%) diff --git a/official/legacy/albert/configs.py b/official/legacy/albert/configs.py index aab5654a0..7baf693ae 100644 --- a/official/legacy/albert/configs.py +++ b/official/legacy/albert/configs.py @@ -16,7 +16,7 @@ import six -from official.nlp.bert import configs +from official.legacy.bert import configs class AlbertConfig(configs.BertConfig): diff --git a/official/nlp/bert/README.md b/official/legacy/bert/README.md similarity index 99% rename from official/nlp/bert/README.md rename to official/legacy/bert/README.md index 037ff0b1f..cf4062a6d 100644 --- a/official/nlp/bert/README.md +++ b/official/legacy/bert/README.md @@ -2,7 +2,7 @@ **WARNING**: We are on the way to deprecate most of the code in this directory. Please see -[this link](https://github.com/tensorflow/models/blob/master/official/nlp/docs/train.md) +[this link](../g3doc/tutorials/bert_new.md) for the new tutorial and use the new code in `nlp/modeling`. This README is still correct for this legacy implementation. diff --git a/official/nlp/bert/__init__.py b/official/legacy/bert/__init__.py similarity index 100% rename from official/nlp/bert/__init__.py rename to official/legacy/bert/__init__.py diff --git a/official/nlp/bert/bert_cloud_tpu.md b/official/legacy/bert/bert_cloud_tpu.md similarity index 100% rename from official/nlp/bert/bert_cloud_tpu.md rename to official/legacy/bert/bert_cloud_tpu.md diff --git a/official/nlp/bert/bert_models.py b/official/legacy/bert/bert_models.py similarity index 99% rename from official/nlp/bert/bert_models.py rename to official/legacy/bert/bert_models.py index 5f3133305..21d095174 100644 --- a/official/nlp/bert/bert_models.py +++ b/official/legacy/bert/bert_models.py @@ -18,8 +18,8 @@ import gin import tensorflow as tf import tensorflow_hub as hub from official.legacy.albert import configs as albert_configs +from official.legacy.bert import configs from official.modeling import tf_utils -from official.nlp.bert import configs from official.nlp.modeling import models from official.nlp.modeling import networks diff --git a/official/nlp/bert/bert_models_test.py b/official/legacy/bert/bert_models_test.py similarity index 97% rename from official/nlp/bert/bert_models_test.py rename to official/legacy/bert/bert_models_test.py index efab98a64..e64c013c4 100644 --- a/official/nlp/bert/bert_models_test.py +++ b/official/legacy/bert/bert_models_test.py @@ -14,8 +14,8 @@ import tensorflow as tf -from official.nlp.bert import bert_models -from official.nlp.bert import configs as bert_configs +from official.legacy.bert import bert_models +from official.legacy.bert import configs as bert_configs from official.nlp.modeling import networks diff --git a/official/nlp/bert/common_flags.py b/official/legacy/bert/common_flags.py similarity index 100% rename from official/nlp/bert/common_flags.py rename to official/legacy/bert/common_flags.py diff --git a/official/nlp/bert/configs.py b/official/legacy/bert/configs.py similarity index 100% rename from official/nlp/bert/configs.py rename to official/legacy/bert/configs.py diff --git a/official/nlp/bert/export_tfhub.py b/official/legacy/bert/export_tfhub.py similarity index 98% rename from official/nlp/bert/export_tfhub.py rename to official/legacy/bert/export_tfhub.py index d81e9d31c..69dd49865 100644 --- a/official/nlp/bert/export_tfhub.py +++ b/official/legacy/bert/export_tfhub.py @@ -25,8 +25,8 @@ from absl import app from absl import flags from absl import logging import tensorflow as tf -from official.nlp.bert import bert_models -from official.nlp.bert import configs +from official.legacy.bert import bert_models +from official.legacy.bert import configs FLAGS = flags.FLAGS diff --git a/official/nlp/bert/export_tfhub_test.py b/official/legacy/bert/export_tfhub_test.py similarity index 98% rename from official/nlp/bert/export_tfhub_test.py rename to official/legacy/bert/export_tfhub_test.py index 5b2e7aeb3..68146fb58 100644 --- a/official/nlp/bert/export_tfhub_test.py +++ b/official/legacy/bert/export_tfhub_test.py @@ -21,8 +21,8 @@ import numpy as np import tensorflow as tf import tensorflow_hub as hub -from official.nlp.bert import configs -from official.nlp.bert import export_tfhub +from official.legacy.bert import configs +from official.legacy.bert import export_tfhub class ExportTfhubTest(tf.test.TestCase, parameterized.TestCase): diff --git a/official/nlp/bert/input_pipeline.py b/official/legacy/bert/input_pipeline.py similarity index 100% rename from official/nlp/bert/input_pipeline.py rename to official/legacy/bert/input_pipeline.py diff --git a/official/nlp/bert/model_saving_utils.py b/official/legacy/bert/model_saving_utils.py similarity index 99% rename from official/nlp/bert/model_saving_utils.py rename to official/legacy/bert/model_saving_utils.py index f97c6e42d..6a0d70749 100644 --- a/official/nlp/bert/model_saving_utils.py +++ b/official/legacy/bert/model_saving_utils.py @@ -15,10 +15,9 @@ """Utilities to save models.""" import os - +import typing from absl import logging import tensorflow as tf -import typing def export_bert_model(model_export_path: typing.Text, diff --git a/official/nlp/bert/model_training_utils.py b/official/legacy/bert/model_training_utils.py similarity index 100% rename from official/nlp/bert/model_training_utils.py rename to official/legacy/bert/model_training_utils.py diff --git a/official/nlp/bert/model_training_utils_test.py b/official/legacy/bert/model_training_utils_test.py similarity index 99% rename from official/nlp/bert/model_training_utils_test.py rename to official/legacy/bert/model_training_utils_test.py index c0178dd26..298c9282c 100644 --- a/official/nlp/bert/model_training_utils_test.py +++ b/official/legacy/bert/model_training_utils_test.py @@ -25,8 +25,8 @@ import tensorflow as tf from tensorflow.python.distribute import combinations from tensorflow.python.distribute import strategy_combinations -from official.nlp.bert import common_flags -from official.nlp.bert import model_training_utils +from official.legacy.bert import common_flags +from official.legacy.bert import model_training_utils common_flags.define_common_bert_flags() diff --git a/official/nlp/bert/run_classifier.py b/official/legacy/bert/run_classifier.py similarity index 98% rename from official/nlp/bert/run_classifier.py rename to official/legacy/bert/run_classifier.py index 2805b308e..6e9ea466b 100644 --- a/official/nlp/bert/run_classifier.py +++ b/official/legacy/bert/run_classifier.py @@ -26,13 +26,13 @@ from absl import logging import gin import tensorflow as tf from official.common import distribute_utils +from official.legacy.bert import bert_models +from official.legacy.bert import common_flags +from official.legacy.bert import configs as bert_configs +from official.legacy.bert import input_pipeline +from official.legacy.bert import model_saving_utils from official.modeling import performance from official.nlp import optimization -from official.nlp.bert import bert_models -from official.nlp.bert import common_flags -from official.nlp.bert import configs as bert_configs -from official.nlp.bert import input_pipeline -from official.nlp.bert import model_saving_utils from official.utils.misc import keras_utils flags.DEFINE_enum( diff --git a/official/nlp/bert/run_pretraining.py b/official/legacy/bert/run_pretraining.py similarity index 97% rename from official/nlp/bert/run_pretraining.py rename to official/legacy/bert/run_pretraining.py index cbac304ae..6a1b1d7a5 100644 --- a/official/nlp/bert/run_pretraining.py +++ b/official/legacy/bert/run_pretraining.py @@ -21,13 +21,13 @@ from absl import logging import gin import tensorflow as tf from official.common import distribute_utils +from official.legacy.bert import bert_models +from official.legacy.bert import common_flags +from official.legacy.bert import configs +from official.legacy.bert import input_pipeline +from official.legacy.bert import model_training_utils from official.modeling import performance from official.nlp import optimization -from official.nlp.bert import bert_models -from official.nlp.bert import common_flags -from official.nlp.bert import configs -from official.nlp.bert import input_pipeline -from official.nlp.bert import model_training_utils flags.DEFINE_string('input_files', None, diff --git a/official/nlp/bert/run_squad.py b/official/legacy/bert/run_squad.py similarity index 97% rename from official/nlp/bert/run_squad.py rename to official/legacy/bert/run_squad.py index 522097f9a..ee63bc96f 100644 --- a/official/nlp/bert/run_squad.py +++ b/official/legacy/bert/run_squad.py @@ -25,10 +25,10 @@ from absl import logging import gin import tensorflow as tf from official.common import distribute_utils -from official.nlp.bert import configs as bert_configs -from official.nlp.bert import run_squad_helper -from official.nlp.bert import tokenization +from official.legacy.bert import configs as bert_configs +from official.legacy.bert import run_squad_helper from official.nlp.data import squad_lib as squad_lib_wp +from official.nlp.tools import tokenization from official.utils.misc import keras_utils diff --git a/official/nlp/bert/run_squad_helper.py b/official/legacy/bert/run_squad_helper.py similarity index 98% rename from official/nlp/bert/run_squad_helper.py rename to official/legacy/bert/run_squad_helper.py index 879979a6d..be2e97dac 100644 --- a/official/nlp/bert/run_squad_helper.py +++ b/official/legacy/bert/run_squad_helper.py @@ -21,16 +21,16 @@ import os from absl import flags from absl import logging import tensorflow as tf +from official.legacy.bert import bert_models +from official.legacy.bert import common_flags +from official.legacy.bert import input_pipeline +from official.legacy.bert import model_saving_utils +from official.legacy.bert import model_training_utils from official.modeling import performance from official.nlp import optimization -from official.nlp.bert import bert_models -from official.nlp.bert import common_flags -from official.nlp.bert import input_pipeline -from official.nlp.bert import model_saving_utils -from official.nlp.bert import model_training_utils -from official.nlp.bert import squad_evaluate_v1_1 -from official.nlp.bert import squad_evaluate_v2_0 from official.nlp.data import squad_lib_sp +from official.nlp.tools import squad_evaluate_v1_1 +from official.nlp.tools import squad_evaluate_v2_0 from official.utils.misc import keras_utils diff --git a/official/nlp/bert/serving.py b/official/legacy/bert/serving.py similarity index 98% rename from official/nlp/bert/serving.py rename to official/legacy/bert/serving.py index efb8fe769..1666435aa 100644 --- a/official/nlp/bert/serving.py +++ b/official/legacy/bert/serving.py @@ -18,8 +18,8 @@ from absl import app from absl import flags import tensorflow as tf -from official.nlp.bert import bert_models -from official.nlp.bert import configs +from official.legacy.bert import bert_models +from official.legacy.bert import configs flags.DEFINE_integer( "sequence_length", None, "Sequence length to parse the tf.Example. If " diff --git a/official/nlp/data/classifier_data_lib.py b/official/nlp/data/classifier_data_lib.py index f4031962d..2f805c6d5 100644 --- a/official/nlp/data/classifier_data_lib.py +++ b/official/nlp/data/classifier_data_lib.py @@ -24,7 +24,7 @@ from absl import logging import tensorflow as tf import tensorflow_datasets as tfds -from official.nlp.bert import tokenization +from official.nlp.tools import tokenization class InputExample(object): diff --git a/official/nlp/data/classifier_data_lib_test.py b/official/nlp/data/classifier_data_lib_test.py index 88f08063f..f7a517da0 100644 --- a/official/nlp/data/classifier_data_lib_test.py +++ b/official/nlp/data/classifier_data_lib_test.py @@ -21,8 +21,8 @@ from absl.testing import parameterized import tensorflow as tf import tensorflow_datasets as tfds -from official.nlp.bert import tokenization from official.nlp.data import classifier_data_lib +from official.nlp.tools import tokenization def decode_record(record, name_to_features): diff --git a/official/nlp/data/create_finetuning_data.py b/official/nlp/data/create_finetuning_data.py index 88f9a5546..ee41b7a4e 100644 --- a/official/nlp/data/create_finetuning_data.py +++ b/official/nlp/data/create_finetuning_data.py @@ -22,7 +22,6 @@ import os from absl import app from absl import flags import tensorflow as tf -from official.nlp.bert import tokenization from official.nlp.data import classifier_data_lib from official.nlp.data import sentence_retrieval_lib # word-piece tokenizer based squad_lib @@ -30,6 +29,7 @@ from official.nlp.data import squad_lib as squad_lib_wp # sentence-piece tokenizer based squad_lib from official.nlp.data import squad_lib_sp from official.nlp.data import tagging_data_lib +from official.nlp.tools import tokenization FLAGS = flags.FLAGS diff --git a/official/nlp/data/create_pretraining_data.py b/official/nlp/data/create_pretraining_data.py index 3c7603735..4d5eae4de 100644 --- a/official/nlp/data/create_pretraining_data.py +++ b/official/nlp/data/create_pretraining_data.py @@ -24,7 +24,7 @@ from absl import flags from absl import logging import tensorflow as tf -from official.nlp.bert import tokenization +from official.nlp.tools import tokenization FLAGS = flags.FLAGS diff --git a/official/nlp/data/create_xlnet_pretraining_data.py b/official/nlp/data/create_xlnet_pretraining_data.py index 9b39e651a..3657962fd 100644 --- a/official/nlp/data/create_xlnet_pretraining_data.py +++ b/official/nlp/data/create_xlnet_pretraining_data.py @@ -14,6 +14,7 @@ """Create LM TF examples for XLNet.""" +import dataclasses import json import math import os @@ -28,11 +29,10 @@ from absl import app from absl import flags from absl import logging -import dataclasses import numpy as np import tensorflow as tf -from official.nlp.bert import tokenization +from official.nlp.tools import tokenization special_symbols = { "": 0, diff --git a/official/nlp/data/sentence_retrieval_lib.py b/official/nlp/data/sentence_retrieval_lib.py index 4c2665748..947dbb779 100644 --- a/official/nlp/data/sentence_retrieval_lib.py +++ b/official/nlp/data/sentence_retrieval_lib.py @@ -17,8 +17,8 @@ import os from absl import logging -from official.nlp.bert import tokenization from official.nlp.data import classifier_data_lib +from official.nlp.tools import tokenization class BuccProcessor(classifier_data_lib.DataProcessor): diff --git a/official/nlp/data/squad_lib.py b/official/nlp/data/squad_lib.py index 04a31a2d2..2d198e6c1 100644 --- a/official/nlp/data/squad_lib.py +++ b/official/nlp/data/squad_lib.py @@ -25,7 +25,7 @@ import six from absl import logging import tensorflow as tf -from official.nlp.bert import tokenization +from official.nlp.tools import tokenization class SquadExample(object): diff --git a/official/nlp/data/squad_lib_sp.py b/official/nlp/data/squad_lib_sp.py index e656e5520..abd4abfbc 100644 --- a/official/nlp/data/squad_lib_sp.py +++ b/official/nlp/data/squad_lib_sp.py @@ -28,7 +28,7 @@ from absl import logging import numpy as np import tensorflow as tf -from official.nlp.bert import tokenization +from official.nlp.tools import tokenization class SquadExample(object): diff --git a/official/nlp/data/tagging_data_lib.py b/official/nlp/data/tagging_data_lib.py index 153d977fc..c73d7108a 100644 --- a/official/nlp/data/tagging_data_lib.py +++ b/official/nlp/data/tagging_data_lib.py @@ -19,8 +19,8 @@ import os from absl import logging import tensorflow as tf -from official.nlp.bert import tokenization from official.nlp.data import classifier_data_lib +from official.nlp.tools import tokenization # A negative label id for the padding label, which will not contribute # to loss/metrics in training. diff --git a/official/nlp/data/tagging_data_lib_test.py b/official/nlp/data/tagging_data_lib_test.py index f27750cff..6a1679f5e 100644 --- a/official/nlp/data/tagging_data_lib_test.py +++ b/official/nlp/data/tagging_data_lib_test.py @@ -19,8 +19,8 @@ import random from absl.testing import parameterized import tensorflow as tf -from official.nlp.bert import tokenization from official.nlp.data import tagging_data_lib +from official.nlp.tools import tokenization def _create_fake_file(filename, labels, is_test): diff --git a/official/nlp/tasks/dual_encoder_test.py b/official/nlp/tasks/dual_encoder_test.py index 1ba7da18e..3e1a72605 100644 --- a/official/nlp/tasks/dual_encoder_test.py +++ b/official/nlp/tasks/dual_encoder_test.py @@ -19,7 +19,7 @@ import os from absl.testing import parameterized import tensorflow as tf -from official.nlp.bert import configs +from official.legacy.bert import configs from official.nlp.configs import bert from official.nlp.configs import encoders from official.nlp.data import dual_encoder_dataloader diff --git a/official/nlp/tasks/question_answering.py b/official/nlp/tasks/question_answering.py index 817c9da66..d9c7508fe 100644 --- a/official/nlp/tasks/question_answering.py +++ b/official/nlp/tasks/question_answering.py @@ -13,13 +13,13 @@ # limitations under the License. """Question answering task.""" +import dataclasses import functools import json import os from typing import List, Optional from absl import logging -import dataclasses import orbit import tensorflow as tf @@ -27,15 +27,15 @@ from official.core import base_task from official.core import config_definitions as cfg from official.core import task_factory from official.modeling.hyperparams import base_config -from official.nlp.bert import squad_evaluate_v1_1 -from official.nlp.bert import squad_evaluate_v2_0 -from official.nlp.bert import tokenization from official.nlp.configs import encoders from official.nlp.data import data_loader_factory from official.nlp.data import squad_lib as squad_lib_wp from official.nlp.data import squad_lib_sp from official.nlp.modeling import models from official.nlp.tasks import utils +from official.nlp.tools import squad_evaluate_v1_1 +from official.nlp.tools import squad_evaluate_v2_0 +from official.nlp.tools import tokenization @dataclasses.dataclass diff --git a/official/nlp/tools/export_tfhub.py b/official/nlp/tools/export_tfhub.py index d5824f070..e81dabd32 100644 --- a/official/nlp/tools/export_tfhub.py +++ b/official/nlp/tools/export_tfhub.py @@ -71,8 +71,8 @@ from absl import app from absl import flags import gin +from official.legacy.bert import configs from official.modeling import hyperparams -from official.nlp.bert import configs from official.nlp.configs import encoders from official.nlp.tools import export_tfhub_lib diff --git a/official/nlp/tools/export_tfhub_lib.py b/official/nlp/tools/export_tfhub_lib.py index 30f02f121..ef7c0084c 100644 --- a/official/nlp/tools/export_tfhub_lib.py +++ b/official/nlp/tools/export_tfhub_lib.py @@ -28,8 +28,8 @@ import tensorflow as tf from tensorflow.core.protobuf import saved_model_pb2 from tensorflow.python.ops import control_flow_ops # pylint: enable=g-direct-tensorflow-import +from official.legacy.bert import configs from official.modeling import tf_utils -from official.nlp.bert import configs from official.nlp.configs import encoders from official.nlp.modeling import layers from official.nlp.modeling import models diff --git a/official/nlp/tools/export_tfhub_lib_test.py b/official/nlp/tools/export_tfhub_lib_test.py index 68f959ee9..f76fb4b39 100644 --- a/official/nlp/tools/export_tfhub_lib_test.py +++ b/official/nlp/tools/export_tfhub_lib_test.py @@ -24,8 +24,8 @@ import tensorflow_hub as hub import tensorflow_text as text from sentencepiece import SentencePieceTrainer +from official.legacy.bert import configs from official.modeling import tf_utils -from official.nlp.bert import configs from official.nlp.configs import encoders from official.nlp.modeling import layers from official.nlp.modeling import models diff --git a/official/nlp/bert/squad_evaluate_v1_1.py b/official/nlp/tools/squad_evaluate_v1_1.py similarity index 100% rename from official/nlp/bert/squad_evaluate_v1_1.py rename to official/nlp/tools/squad_evaluate_v1_1.py diff --git a/official/nlp/bert/squad_evaluate_v2_0.py b/official/nlp/tools/squad_evaluate_v2_0.py similarity index 100% rename from official/nlp/bert/squad_evaluate_v2_0.py rename to official/nlp/tools/squad_evaluate_v2_0.py diff --git a/official/nlp/bert/tf1_checkpoint_converter_lib.py b/official/nlp/tools/tf1_bert_checkpoint_converter_lib.py similarity index 100% rename from official/nlp/bert/tf1_checkpoint_converter_lib.py rename to official/nlp/tools/tf1_bert_checkpoint_converter_lib.py diff --git a/official/nlp/tools/tf2_albert_encoder_checkpoint_converter.py b/official/nlp/tools/tf2_albert_encoder_checkpoint_converter.py index 979669192..4583e4c4c 100644 --- a/official/nlp/tools/tf2_albert_encoder_checkpoint_converter.py +++ b/official/nlp/tools/tf2_albert_encoder_checkpoint_converter.py @@ -25,9 +25,9 @@ from absl import flags import tensorflow as tf from official.legacy.albert import configs from official.modeling import tf_utils -from official.nlp.bert import tf1_checkpoint_converter_lib from official.nlp.modeling import models from official.nlp.modeling import networks +from official.nlp.tools import tf1_bert_checkpoint_converter_lib FLAGS = flags.FLAGS @@ -128,12 +128,12 @@ def convert_checkpoint(bert_config, output_path, v1_checkpoint, # Create a temporary V1 name-converted checkpoint in the output directory. temporary_checkpoint_dir = os.path.join(output_dir, "temp_v1") temporary_checkpoint = os.path.join(temporary_checkpoint_dir, "ckpt") - tf1_checkpoint_converter_lib.convert( + tf1_bert_checkpoint_converter_lib.convert( checkpoint_from_path=v1_checkpoint, checkpoint_to_path=temporary_checkpoint, num_heads=bert_config.num_attention_heads, name_replacements=ALBERT_NAME_REPLACEMENTS, - permutations=tf1_checkpoint_converter_lib.BERT_V2_PERMUTATIONS, + permutations=tf1_bert_checkpoint_converter_lib.BERT_V2_PERMUTATIONS, exclude_patterns=["adam", "Adam"]) # Create a V2 checkpoint from the temporary checkpoint. @@ -144,9 +144,8 @@ def convert_checkpoint(bert_config, output_path, v1_checkpoint, else: raise ValueError("Unsupported converted_model: %s" % converted_model) - tf1_checkpoint_converter_lib.create_v2_checkpoint(model, temporary_checkpoint, - output_path, - checkpoint_model_name) + tf1_bert_checkpoint_converter_lib.create_v2_checkpoint( + model, temporary_checkpoint, output_path, checkpoint_model_name) # Clean up the temporary checkpoint, if it exists. try: diff --git a/official/nlp/bert/tf2_encoder_checkpoint_converter.py b/official/nlp/tools/tf2_bert_encoder_checkpoint_converter.py similarity index 91% rename from official/nlp/bert/tf2_encoder_checkpoint_converter.py rename to official/nlp/tools/tf2_bert_encoder_checkpoint_converter.py index 522587833..ddbff775f 100644 --- a/official/nlp/bert/tf2_encoder_checkpoint_converter.py +++ b/official/nlp/tools/tf2_bert_encoder_checkpoint_converter.py @@ -25,11 +25,11 @@ from absl import app from absl import flags import tensorflow as tf +from official.legacy.bert import configs from official.modeling import tf_utils -from official.nlp.bert import configs -from official.nlp.bert import tf1_checkpoint_converter_lib from official.nlp.modeling import models from official.nlp.modeling import networks +from official.nlp.tools import tf1_bert_checkpoint_converter_lib FLAGS = flags.FLAGS @@ -111,12 +111,13 @@ def convert_checkpoint(bert_config, temporary_checkpoint_dir = os.path.join(output_dir, "temp_v1") temporary_checkpoint = os.path.join(temporary_checkpoint_dir, "ckpt") - tf1_checkpoint_converter_lib.convert( + tf1_bert_checkpoint_converter_lib.convert( checkpoint_from_path=v1_checkpoint, checkpoint_to_path=temporary_checkpoint, num_heads=bert_config.num_attention_heads, - name_replacements=tf1_checkpoint_converter_lib.BERT_V2_NAME_REPLACEMENTS, - permutations=tf1_checkpoint_converter_lib.BERT_V2_PERMUTATIONS, + name_replacements=( + tf1_bert_checkpoint_converter_lib.BERT_V2_NAME_REPLACEMENTS), + permutations=tf1_bert_checkpoint_converter_lib.BERT_V2_PERMUTATIONS, exclude_patterns=["adam", "Adam"]) if converted_model == "encoder": @@ -127,9 +128,8 @@ def convert_checkpoint(bert_config, raise ValueError("Unsupported converted_model: %s" % converted_model) # Create a V2 checkpoint from the temporary checkpoint. - tf1_checkpoint_converter_lib.create_v2_checkpoint(model, temporary_checkpoint, - output_path, - checkpoint_model_name) + tf1_bert_checkpoint_converter_lib.create_v2_checkpoint( + model, temporary_checkpoint, output_path, checkpoint_model_name) # Clean up the temporary checkpoint, if it exists. try: diff --git a/official/nlp/bert/tokenization.py b/official/nlp/tools/tokenization.py similarity index 100% rename from official/nlp/bert/tokenization.py rename to official/nlp/tools/tokenization.py diff --git a/official/nlp/bert/tokenization_test.py b/official/nlp/tools/tokenization_test.py similarity index 99% rename from official/nlp/bert/tokenization_test.py rename to official/nlp/tools/tokenization_test.py index 81ee371f5..c67a7e53d 100644 --- a/official/nlp/bert/tokenization_test.py +++ b/official/nlp/tools/tokenization_test.py @@ -18,7 +18,7 @@ import tempfile import six import tensorflow as tf -from official.nlp.bert import tokenization +from official.nlp.tools import tokenization class TokenizationTest(tf.test.TestCase): diff --git a/official/nlp/xlnet/training_utils.py b/official/nlp/xlnet/training_utils.py index c487d74f4..209833180 100644 --- a/official/nlp/xlnet/training_utils.py +++ b/official/nlp/xlnet/training_utils.py @@ -21,7 +21,7 @@ from typing import Any, Callable, Dict, Optional, Text from absl import logging import tensorflow as tf -from official.nlp.bert import model_training_utils +from official.legacy.bert import model_training_utils from official.nlp.xlnet import data_utils # pytype: disable=attribute-error diff --git a/official/projects/nhnet/raw_data_processor.py b/official/projects/nhnet/raw_data_processor.py index 3e64cb758..1e3316e8b 100644 --- a/official/projects/nhnet/raw_data_processor.py +++ b/official/projects/nhnet/raw_data_processor.py @@ -22,8 +22,8 @@ import urllib.parse import tensorflow as tf -from official.nlp.bert import tokenization from official.nlp.data import classifier_data_lib +from official.nlp.tools import tokenization class RawDataProcessor(object): diff --git a/official/projects/nhnet/utils.py b/official/projects/nhnet/utils.py index ab0be1618..23c3d571e 100644 --- a/official/projects/nhnet/utils.py +++ b/official/projects/nhnet/utils.py @@ -18,8 +18,8 @@ from typing import Optional, Text from absl import logging import tensorflow as tf +from official.legacy.bert import configs from official.modeling.hyperparams import params_dict -from official.nlp.bert import configs from official.projects.nhnet import configs as nhnet_configs -- GitLab From f13be7640980c9c7f65f40d4d7df3fe41a451b2e Mon Sep 17 00:00:00 2001 From: Liangzhe Yuan Date: Tue, 18 Jan 2022 15:45:36 -0800 Subject: [PATCH 10/28] internal change. PiperOrigin-RevId: 422665603 --- .../movinet/modeling/movinet_model.py | 36 +++++++++++++++---- official/projects/movinet/train.py | 3 +- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/official/projects/movinet/modeling/movinet_model.py b/official/projects/movinet/modeling/movinet_model.py index 0a40b0aad..62c0295dc 100644 --- a/official/projects/movinet/modeling/movinet_model.py +++ b/official/projects/movinet/modeling/movinet_model.py @@ -88,14 +88,13 @@ class MovinetClassifier(tf.keras.Model): # Move backbone after super() call so Keras is happy self._backbone = backbone - def _build_network( + def _build_backbone( self, backbone: tf.keras.Model, input_specs: Mapping[str, tf.keras.layers.InputSpec], state_specs: Optional[Mapping[str, tf.keras.layers.InputSpec]] = None, - ) -> Tuple[Mapping[str, tf.keras.Input], Union[Tuple[Mapping[ # pytype: disable=invalid-annotation # typed-keras - str, tf.Tensor], Mapping[str, tf.Tensor]], Mapping[str, tf.Tensor]]]: - """Builds the model network. + ) -> Tuple[Mapping[str, Any], Any, Any]: + """Builds the backbone network and gets states and endpoints. Args: backbone: the model backbone. @@ -104,9 +103,9 @@ class MovinetClassifier(tf.keras.Model): layer, will overwrite the contents of the buffer(s). Returns: - Inputs and outputs as a tuple. Inputs are expected to be a dict with - base input and states. Outputs are expected to be a dict of endpoints - and (optionally) output states. + inputs: a dict of input specs. + endpoints: a dict of model endpoints. + states: a dict of model states. """ state_specs = state_specs if state_specs is not None else {} @@ -145,7 +144,30 @@ class MovinetClassifier(tf.keras.Model): mismatched_shapes)) else: endpoints, states = backbone(inputs) + return inputs, endpoints, states + def _build_network( + self, + backbone: tf.keras.Model, + input_specs: Mapping[str, tf.keras.layers.InputSpec], + state_specs: Optional[Mapping[str, tf.keras.layers.InputSpec]] = None, + ) -> Tuple[Mapping[str, tf.keras.Input], Union[Tuple[Mapping[ # pytype: disable=invalid-annotation # typed-keras + str, tf.Tensor], Mapping[str, tf.Tensor]], Mapping[str, tf.Tensor]]]: + """Builds the model network. + + Args: + backbone: the model backbone. + input_specs: the model input spec to use. + state_specs: a dict of states such that, if any of the keys match for a + layer, will overwrite the contents of the buffer(s). + + Returns: + Inputs and outputs as a tuple. Inputs are expected to be a dict with + base input and states. Outputs are expected to be a dict of endpoints + and (optionally) output states. + """ + inputs, endpoints, states = self._build_backbone( + backbone=backbone, input_specs=input_specs, state_specs=state_specs) x = endpoints['head'] x = movinet_layers.ClassifierHead( diff --git a/official/projects/movinet/train.py b/official/projects/movinet/train.py index 24c592d40..f04ef7cc8 100644 --- a/official/projects/movinet/train.py +++ b/official/projects/movinet/train.py @@ -46,7 +46,8 @@ from official.modeling import performance # Import movinet libraries to register the backbone and model into tf.vision # model garden factory. # pylint: disable=unused-import -# the followings are the necessary imports. +from official.projects.movinet.google.configs import movinet_google +from official.projects.movinet.google.modeling import movinet_model_google from official.projects.movinet.modeling import movinet from official.projects.movinet.modeling import movinet_model # pylint: enable=unused-import -- GitLab From bd32250daf6ae0b7bfc35744db361389f4bb0358 Mon Sep 17 00:00:00 2001 From: Vishnuvardhan Janapati <46058173+jvishnuvardhan@users.noreply.github.com> Date: Tue, 18 Jan 2022 16:49:51 -0800 Subject: [PATCH 11/28] Link to an example is updated Link to an example in [README.md](https://github.com/tensorflow/models/tree/master/official/README.md) is throwing 404 error. Link is updated --- official/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official/README.md b/official/README.md index 6891fa4e5..602c98ed9 100644 --- a/official/README.md +++ b/official/README.md @@ -121,7 +121,7 @@ If you are using nlp packages, please also install **tensorflow-text**: pip install tensorflow-text ``` -Please check out our [example](colab/fine_tuning_bert.ipynb) +Please check out our [example](https://github.com/tensorflow/text/blob/master/docs/tutorials/fine_tune_bert.ipynb) to learn how to use a PIP package. Note that **tf-models-official** may not include the latest changes in this -- GitLab From 997059d02f6d33bb96a7e57eed470f5536809ec4 Mon Sep 17 00:00:00 2001 From: Vishnuvardhan Janapati <46058173+jvishnuvardhan@users.noreply.github.com> Date: Tue, 18 Jan 2022 16:52:21 -0800 Subject: [PATCH 12/28] Update README.md --- official/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official/README.md b/official/README.md index 602c98ed9..34d338e2c 100644 --- a/official/README.md +++ b/official/README.md @@ -84,7 +84,7 @@ as tagged branches or [downloadable releases](https://github.com/tensorflow/mode * Model repository version numbers match the target TensorFlow release, such that [release v2.5.0](https://github.com/tensorflow/models/releases/tag/v2.5.0) -are compatible with +is compatible with [TensorFlow v2.5.0](https://github.com/tensorflow/tensorflow/releases/tag/v2.5.0). Please follow the below steps before running models in this repository. -- GitLab From 166afe966a9c59da1b1bc322ae7e7a32ad8f92c6 Mon Sep 17 00:00:00 2001 From: Hongkun Yu Date: Wed, 19 Jan 2022 10:51:38 -0800 Subject: [PATCH 13/28] Internal change PiperOrigin-RevId: 422853442 --- official/nlp/serving/__init__.py | 15 +++++++++++++++ tensorflow_models/nlp/__init__.py | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 official/nlp/serving/__init__.py diff --git a/official/nlp/serving/__init__.py b/official/nlp/serving/__init__.py new file mode 100644 index 000000000..ba97902e7 --- /dev/null +++ b/official/nlp/serving/__init__.py @@ -0,0 +1,15 @@ +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + diff --git a/tensorflow_models/nlp/__init__.py b/tensorflow_models/nlp/__init__.py index 916ca1e7b..b26f69180 100644 --- a/tensorflow_models/nlp/__init__.py +++ b/tensorflow_models/nlp/__init__.py @@ -13,5 +13,8 @@ # limitations under the License. """TensorFlow Models NLP Libraries.""" + from official.nlp import tasks +from official.nlp.configs import encoders from official.nlp.modeling import * +from official.nlp.serving import serving_modules -- GitLab From 5d75d374dcaff31c2763d8196f0a145edbf7f662 Mon Sep 17 00:00:00 2001 From: Hongkun Yu Date: Wed, 19 Jan 2022 10:51:40 -0800 Subject: [PATCH 14/28] Remove a TODO which is finished. PiperOrigin-RevId: 422853451 --- official/core/train_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/official/core/train_utils.py b/official/core/train_utils.py index 4df411d4e..ac478e6d3 100644 --- a/official/core/train_utils.py +++ b/official/core/train_utils.py @@ -101,7 +101,6 @@ def maybe_create_best_ckpt_exporter(params: config_definitions.ExperimentConfig, return best_ckpt_exporter -# TODO(b/180147589): Add tests for this module. class BestCheckpointExporter: """Keeps track of the best result, and saves its checkpoint. -- GitLab From a4df1c69c77c731bf5ba1e3297011f2d6eefeeac Mon Sep 17 00:00:00 2001 From: Jaeyoun Kim Date: Wed, 19 Jan 2022 11:16:20 -0800 Subject: [PATCH 15/28] Update LICENSE Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 43fcf7bf1..0739a2676 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright 2016 The TensorFlow Authors. All rights reserved. +Copyright 2022 Google LLC. All rights reserved. Apache License Version 2.0, January 2004 -- GitLab From d21a9bb84db4b604fa6179c38f376779c01dfcb3 Mon Sep 17 00:00:00 2001 From: Fan Yang Date: Wed, 19 Jan 2022 11:33:33 -0800 Subject: [PATCH 16/28] Internal change PiperOrigin-RevId: 422863802 --- .../vision/beta/serving/semantic_segmentation.py | 16 +++++++++++----- .../beta/serving/semantic_segmentation_test.py | 8 +++++--- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/official/vision/beta/serving/semantic_segmentation.py b/official/vision/beta/serving/semantic_segmentation.py index f5b7dbf0f..bf923f967 100644 --- a/official/vision/beta/serving/semantic_segmentation.py +++ b/official/vision/beta/serving/semantic_segmentation.py @@ -46,13 +46,13 @@ class SegmentationModule(export_base.ExportModule): offset=MEAN_RGB, scale=STDDEV_RGB) - image, _ = preprocess_ops.resize_and_crop_image( + image, image_info = preprocess_ops.resize_and_crop_image( image, self._input_image_size, padded_size=self._input_image_size, aug_scale_min=1.0, aug_scale_max=1.0) - return image + return image, image_info def serve(self, images): """Cast image to float and run inference. @@ -64,21 +64,27 @@ class SegmentationModule(export_base.ExportModule): """ # Skip image preprocessing when input_type is tflite so it is compatible # with TFLite quantization. + image_info = None if self._input_type != 'tflite': with tf.device('cpu:0'): images = tf.cast(images, dtype=tf.float32) + images_spec = tf.TensorSpec( + shape=self._input_image_size + [3], dtype=tf.float32) + image_info_spec = tf.TensorSpec(shape=[4, 2], dtype=tf.float32) - images = tf.nest.map_structure( + images, image_info = tf.nest.map_structure( tf.identity, tf.map_fn( self._build_inputs, elems=images, - fn_output_signature=tf.TensorSpec( - shape=self._input_image_size + [3], dtype=tf.float32), + fn_output_signature=(images_spec, image_info_spec), parallel_iterations=32)) outputs = self.inference_step(images) outputs['logits'] = tf.image.resize( outputs['logits'], self._input_image_size, method='bilinear') + if image_info is not None: + outputs.update({'image_info': image_info}) + return outputs diff --git a/official/vision/beta/serving/semantic_segmentation_test.py b/official/vision/beta/serving/semantic_segmentation_test.py index 30e97377c..73c302ace 100644 --- a/official/vision/beta/serving/semantic_segmentation_test.py +++ b/official/vision/beta/serving/semantic_segmentation_test.py @@ -93,13 +93,15 @@ class SemanticSegmentationExportTest(tf.test.TestCase, parameterized.TestCase): images = self._get_dummy_input(input_type) if input_type != 'tflite': - processed_images = tf.nest.map_structure( + processed_images, _ = tf.nest.map_structure( tf.stop_gradient, tf.map_fn( module._build_inputs, elems=tf.zeros((1, 112, 112, 3), dtype=tf.uint8), - fn_output_signature=tf.TensorSpec( - shape=[112, 112, 3], dtype=tf.float32))) + fn_output_signature=(tf.TensorSpec( + shape=[112, 112, 3], dtype=tf.float32), + tf.TensorSpec( + shape=[4, 2], dtype=tf.float32)))) else: processed_images = images expected_output = tf.image.resize( -- GitLab From e8c9e9463dbf5ede19fcca9e559265d9b9206568 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 19 Jan 2022 11:35:54 -0800 Subject: [PATCH 17/28] Internal change PiperOrigin-RevId: 422864382 --- official/core/base_trainer.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/official/core/base_trainer.py b/official/core/base_trainer.py index 25a18b9ac..07234c086 100644 --- a/official/core/base_trainer.py +++ b/official/core/base_trainer.py @@ -370,6 +370,11 @@ class Trainer(_AsyncTrainer): """Accesses the training checkpoint.""" return self._checkpoint + @property + def checkpoint_exporter(self): + """Accesses the checkpoint exporter.""" + return self._checkpoint_exporter + def train_loop_end(self): """See base class.""" self.join() -- GitLab From b5c567ec9cba33f6af5e63ad90020868d246507d Mon Sep 17 00:00:00 2001 From: Dan Kondratyuk Date: Wed, 19 Jan 2022 12:53:41 -0800 Subject: [PATCH 18/28] Add MoViNet base Kinetics 400 checkpoints. PiperOrigin-RevId: 422883324 --- official/projects/movinet/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/official/projects/movinet/README.md b/official/projects/movinet/README.md index 981d573ab..0285f54b9 100644 --- a/official/projects/movinet/README.md +++ b/official/projects/movinet/README.md @@ -186,6 +186,24 @@ single CPU core. Observed latency may differ depending on hardware configuration. Measured on a stock Pixel 4 (Android 11) and x86 Intel Xeon W-2135 CPU. +### Kinetics 400 + +We also have checkpoints for Kinetics 600 models available. See the Kinetics 600 +sections for more details. To load checkpoints, set `num_classes=400`. + +#### Base Models + +| Model Name | Top-1 Accuracy | Top-5 Accuracy | Input Shape | GFLOPs\* | Checkpoint | +|------------|----------------|----------------|-------------|----------|------------| +| MoViNet-A0-Base | 69.40 | 89.18 | 50 x 172 x 172 | 2.7 | [checkpoint (12 MB)](https://storage.googleapis.com/tf_model_garden/vision/movinet/movinet_a0_base_k400.tar.gz) | +| MoViNet-A1-Base | 74.57 | 92.03 | 50 x 172 x 172 | 6.0 | [checkpoint (18 MB)](https://storage.googleapis.com/tf_model_garden/vision/movinet/movinet_a1_base_k400.tar.gz) | +| MoViNet-A2-Base | 75.91 | 92.63 | 50 x 224 x 224 | 10 | [checkpoint (20 MB)](https://storage.googleapis.com/tf_model_garden/vision/movinet/movinet_a2_base_k400.tar.gz) | +| MoViNet-A3-Base | 79.34 | 94.52 | 120 x 256 x 256 | 57 | [checkpoint (29 MB)](https://storage.googleapis.com/tf_model_garden/vision/movinet/movinet_a3_base_k400.tar.gz) | +| MoViNet-A4-Base | 80.64 | 94.93 | 80 x 290 x 290 | 110 | [checkpoint (44 MB)](https://storage.googleapis.com/tf_model_garden/vision/movinet/movinet_a4_base_k400.tar.gz) | +| MoViNet-A5-Base | 81.39 | 95.06 | 120 x 320 x 320 | 280 | [checkpoint (72 MB)](https://storage.googleapis.com/tf_model_garden/vision/movinet/movinet_a5_base_k400.tar.gz) | + +*GFLOPs per video on Kinetics 400. + ## Prediction Examples Please check out our [Colab Notebook](https://colab.research.google.com/github/tensorflow/models/blob/master/official/projects/movinet/movinet_tutorial.ipynb) -- GitLab From f4c0fc23b1e571967bcff57bcac54f006cb5c38d Mon Sep 17 00:00:00 2001 From: Liangzhe Yuan Date: Wed, 19 Jan 2022 12:56:27 -0800 Subject: [PATCH 19/28] Remove internal dependencies from OSS. PiperOrigin-RevId: 422883948 --- official/projects/movinet/train.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/official/projects/movinet/train.py b/official/projects/movinet/train.py index f04ef7cc8..e805a9bad 100644 --- a/official/projects/movinet/train.py +++ b/official/projects/movinet/train.py @@ -46,8 +46,6 @@ from official.modeling import performance # Import movinet libraries to register the backbone and model into tf.vision # model garden factory. # pylint: disable=unused-import -from official.projects.movinet.google.configs import movinet_google -from official.projects.movinet.google.modeling import movinet_model_google from official.projects.movinet.modeling import movinet from official.projects.movinet.modeling import movinet_model # pylint: enable=unused-import -- GitLab From 3a7e01c66d7d024e78401c51b33075f8a86c914b Mon Sep 17 00:00:00 2001 From: Jaeyoun Kim Date: Wed, 19 Jan 2022 13:50:01 -0800 Subject: [PATCH 20/28] Update LICENSE Update LICENSE --- LICENSE | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/LICENSE b/LICENSE index 0739a2676..12736ccd6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,14 @@ Copyright 2022 Google LLC. All rights reserved. +All files in the following folders: +/community +/official +/orbit +/research +/tensorflow_models + +Are licensed as follows: + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ -- GitLab From a8bccfa45027d1619191c55d14d946aa56b8733a Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 19 Jan 2022 15:23:17 -0800 Subject: [PATCH 21/28] Internal change PiperOrigin-RevId: 422917125 --- official/nlp/modeling/layers/text_layers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official/nlp/modeling/layers/text_layers.py b/official/nlp/modeling/layers/text_layers.py index 970b53776..979a7829a 100644 --- a/official/nlp/modeling/layers/text_layers.py +++ b/official/nlp/modeling/layers/text_layers.py @@ -57,7 +57,7 @@ def _truncate_row_lengths(ragged_tensor: tf.RaggedTensor, class BertTokenizer(tf.keras.layers.Layer): - """Wraps BertTokenizer with pre-defined vocab as a Keras Layer. + """Wraps TF.Text's BertTokenizer with pre-defined vocab as a Keras Layer. Attributes: tokenize_with_offsets: If true, calls -- GitLab From f08513d4066a629f58bc3c392821cc9a9183d41f Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 19 Jan 2022 16:15:34 -0800 Subject: [PATCH 22/28] Internal change PiperOrigin-RevId: 422928888 --- .../configs/experiments/coco-centernet-hourglass-tpu.yaml | 4 ++-- .../beta/projects/centernet/modeling/heads/centernet_head.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/official/vision/beta/projects/centernet/configs/experiments/coco-centernet-hourglass-tpu.yaml b/official/vision/beta/projects/centernet/configs/experiments/coco-centernet-hourglass-tpu.yaml index 234567083..6e79046d1 100644 --- a/official/vision/beta/projects/centernet/configs/experiments/coco-centernet-hourglass-tpu.yaml +++ b/official/vision/beta/projects/centernet/configs/experiments/coco-centernet-hourglass-tpu.yaml @@ -59,11 +59,11 @@ task: input_path: 'coco/val*' drop_remainder: false dtype: 'bfloat16' - global_batch_size: 16 + global_batch_size: 64 is_training: false trainer: train_steps: 140000 - validation_steps: 78 # 5000 / 16 + validation_steps: 78 # 5000 / 64 steps_per_loop: 924 # 118287 / 128 validation_interval: 924 summary_interval: 924 diff --git a/official/vision/beta/projects/centernet/modeling/heads/centernet_head.py b/official/vision/beta/projects/centernet/modeling/heads/centernet_head.py index 0b3cd0b08..754ef8d54 100644 --- a/official/vision/beta/projects/centernet/modeling/heads/centernet_head.py +++ b/official/vision/beta/projects/centernet/modeling/heads/centernet_head.py @@ -61,7 +61,6 @@ class CenterNetHead(tf.keras.Model): self._heatmap_bias = heatmap_bias self._num_inputs = len(input_levels) - input_levels = sorted(self._input_specs.keys()) inputs = {level: tf.keras.layers.Input(shape=self._input_specs[level][1:]) for level in input_levels} outputs = {} -- GitLab From 5b31b843b1246e7009caf881cd97b8a28d43d49c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A1=90=E6=A1=90?= <32215330+dkqkxx@users.noreply.github.com> Date: Thu, 20 Jan 2022 23:53:19 +0800 Subject: [PATCH 23/28] Fix pcl_rl bugs (#10465) --- research/pcl_rl/controller.py | 4 ++-- research/pcl_rl/env_spec.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/research/pcl_rl/controller.py b/research/pcl_rl/controller.py index 39f0031b3..38d8dd2a9 100755 --- a/research/pcl_rl/controller.py +++ b/research/pcl_rl/controller.py @@ -204,8 +204,8 @@ class Controller(object): observations, actions, rewards, pads) = self._sample_episodes(sess, greedy=greedy) - observations = zip(*observations) - actions = zip(*actions) + observations = list(zip(*observations)) + actions = list(zip(*actions)) terminated = np.array(self.env.dones) diff --git a/research/pcl_rl/env_spec.py b/research/pcl_rl/env_spec.py index b95b00b9e..23c313fe8 100755 --- a/research/pcl_rl/env_spec.py +++ b/research/pcl_rl/env_spec.py @@ -175,7 +175,7 @@ class EnvSpec(object): if batched: return obs else: - return zip(*obs)[0] + return list(zip(*obs))[0] def initial_act(self, batch_size=None): batched = batch_size is not None @@ -191,7 +191,7 @@ class EnvSpec(object): if batched: return act else: - return zip(*act)[0] + return list(zip(*act))[0] def is_discrete(self, typ): return typ == spaces.discrete -- GitLab From 7ca54b1409865c72bea5e59d1cc6e4dcce474288 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Thu, 20 Jan 2022 11:38:32 -0800 Subject: [PATCH 24/28] Internal change PiperOrigin-RevId: 423118577 --- official/LICENSE | 203 ----------------------------------------------- 1 file changed, 203 deletions(-) delete mode 100644 official/LICENSE diff --git a/official/LICENSE b/official/LICENSE deleted file mode 100644 index 4d0416137..000000000 --- a/official/LICENSE +++ /dev/null @@ -1,203 +0,0 @@ -Copyright 2022 Google LLC. All rights reserved. - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2015, The TensorFlow Authors. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -- GitLab From 8b4d4598e9e8863a3ebe44c5ef28698782207844 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Thu, 20 Jan 2022 16:27:15 -0800 Subject: [PATCH 25/28] Internal change PiperOrigin-RevId: 423185471 --- official/vision/beta/MODEL_GARDEN.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/official/vision/beta/MODEL_GARDEN.md b/official/vision/beta/MODEL_GARDEN.md index ac429bab6..3f16482d5 100644 --- a/official/vision/beta/MODEL_GARDEN.md +++ b/official/vision/beta/MODEL_GARDEN.md @@ -1,5 +1,10 @@ # TF-Vision Model Garden +⚠️ Disclaimer: All datasets hyperlinked from this page are not owned or +distributed by Google. The dataset is made available by third parties. +Please review the terms and conditions made available by the third parties +before using the data. + ## Introduction TF-Vision modeling library for computer vision provides a collection of @@ -59,11 +64,12 @@ depth, label smoothing and dropout. * [RetinaNet](https://arxiv.org/abs/1708.02002) and [RetinaNet-RS](https://arxiv.org/abs/2107.00057) * [Mask R-CNN](https://arxiv.org/abs/1703.06870) * [Cascade RCNN](https://arxiv.org/abs/1712.00726) and [Cascade RCNN-RS](https://arxiv.org/abs/2107.00057) - -* Models are all trained on COCO train2017 and evaluated on COCO val2017. +* Models are all trained on [COCO](https://cocodataset.org/) train2017 and +evaluated on [COCO](https://cocodataset.org/) val2017. * Training details: - * Models finetuned from ImageNet pretrained checkpoints adopt the 12 or 36 - epochs schedule. Models trained from scratch adopt the 350 epochs schedule. + * Models finetuned from [ImageNet](https://www.image-net.org/) pretrained + checkpoints adopt the 12 or 36 epochs schedule. Models trained from scratch + adopt the 350 epochs schedule. * The default training data augmentation implements horizontal flipping and scale jittering with a random scale between [0.5, 2.0]. * Unless noted, all models are trained with l2 weight regularization and ReLU @@ -106,18 +112,18 @@ depth, label smoothing and dropout. | Backbone | Resolution | Epochs | FLOPs (B) | Params (M) | Box AP | Mask AP | Download | | ------------ |:-------------:| -------:|-----------:|-----------:|-------:|--------:|---------:| -ResNet50-FPN | 640x640 | 350 | 227.7 | 46.3 | 42.3 | 37.6 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/r50fpn_640_coco_scratch_tpu4x4.yaml) | +| ResNet50-FPN | 640x640 | 350 | 227.7 | 46.3 | 42.3 | 37.6 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/r50fpn_640_coco_scratch_tpu4x4.yaml) | | SpineNet-49 | 640x640 | 350 | 215.7 | 40.8 | 42.6 | 37.9 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/coco_spinenet49_mrcnn_tpu.yaml) | -SpineNet-96 | 1024x1024 | 500 | 315.0 | 55.2 | 48.1 | 42.4 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/coco_spinenet96_mrcnn_tpu.yaml) | -SpineNet-143 | 1280x1280 | 500 | 498.8 | 79.2 | 49.3 | 43.4 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/coco_spinenet143_mrcnn_tpu.yaml) | +| SpineNet-96 | 1024x1024 | 500 | 315.0 | 55.2 | 48.1 | 42.4 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/coco_spinenet96_mrcnn_tpu.yaml) | +| SpineNet-143 | 1280x1280 | 500 | 498.8 | 79.2 | 49.3 | 43.4 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/coco_spinenet143_mrcnn_tpu.yaml) | #### Cascade RCNN-RS (Trained from scratch) -backbone | resolution | epochs | params (M) | box AP | mask AP | download +| Backbone | Resolution | Epochs | Params (M) | Box AP | Mask AP | Download ------------ | :--------: | -----: | ---------: | -----: | ------: | -------: -SpineNet-49 | 640x640 | 500 | 56.4 | 46.4 | 40.0 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/coco_spinenet49_cascadercnn_tpu.yaml)| -SpineNet-143 | 1280x1280 | 500 | 94.9 | 51.9 | 45.0 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/coco_spinenet143_cascadercnn_tpu.yaml)| +| SpineNet-49 | 640x640 | 500 | 56.4 | 46.4 | 40.0 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/coco_spinenet49_cascadercnn_tpu.yaml)| +| SpineNet-143 | 1280x1280 | 500 | 94.9 | 51.9 | 45.0 | [config](https://github.com/tensorflow/models/blob/master/official/vision/beta/configs/experiments/maskrcnn/coco_spinenet143_cascadercnn_tpu.yaml)| ## Semantic Segmentation -- GitLab From d3a3f1435dc35598ad74afb356bcc712865d2129 Mon Sep 17 00:00:00 2001 From: Hongkun Yu Date: Thu, 20 Jan 2022 17:44:49 -0800 Subject: [PATCH 26/28] Internal change PiperOrigin-RevId: 423199224 --- .../nlp/data/pretrain_dynamic_dataloader.py | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/official/nlp/data/pretrain_dynamic_dataloader.py b/official/nlp/data/pretrain_dynamic_dataloader.py index 051c6a0ef..ab6144546 100644 --- a/official/nlp/data/pretrain_dynamic_dataloader.py +++ b/official/nlp/data/pretrain_dynamic_dataloader.py @@ -79,17 +79,29 @@ class PretrainingDynamicDataLoader(pretrain_dataloader.BertPretrainDataLoader): def _decode(self, record: tf.Tensor): """Decodes a serialized tf.Example.""" name_to_features = { - 'input_ids': tf.io.VarLenFeature(tf.int64), 'input_mask': tf.io.VarLenFeature(tf.int64), - 'segment_ids': tf.io.VarLenFeature(tf.int64), 'masked_lm_positions': tf.io.VarLenFeature(tf.int64), 'masked_lm_ids': tf.io.VarLenFeature(tf.int64), 'masked_lm_weights': tf.io.VarLenFeature(tf.float32), } + if self._params.use_v2_feature_names: + input_ids_key = 'input_word_ids' + segment_key = 'input_type_ids' + name_to_features.update({ + input_ids_key: tf.io.VarLenFeature(tf.int64), + segment_key: tf.io.VarLenFeature(tf.int64), + }) + else: + input_ids_key = 'input_ids' + segment_key = 'segment_ids' + name_to_features.update({ + input_ids_key: tf.io.VarLenFeature(tf.int64), + segment_key: tf.io.VarLenFeature(tf.int64), + }) if self._use_next_sentence_label: name_to_features['next_sentence_labels'] = tf.io.FixedLenFeature([1], tf.int64) - dynamic_keys = ['input_ids', 'input_mask', 'segment_ids'] + dynamic_keys = [input_ids_key, 'input_mask', segment_key] if self._use_position_id: name_to_features['position_ids'] = tf.io.VarLenFeature(tf.int64) dynamic_keys.append('position_ids') @@ -102,7 +114,7 @@ class PretrainingDynamicDataLoader(pretrain_dataloader.BertPretrainDataLoader): # sequence length dimension. # Pad before the first non pad from the back should not be removed. mask = tf.math.greater( - tf.math.cumsum(example['input_ids'], reverse=True), 0) + tf.math.cumsum(example[input_ids_key], reverse=True), 0) for key in dynamic_keys: example[key] = tf.boolean_mask(example[key], mask) -- GitLab From de44470ffa22d588f3fc4ce6c1f4a789ca636eab Mon Sep 17 00:00:00 2001 From: Xianzhi Du Date: Fri, 21 Jan 2022 08:54:59 -0800 Subject: [PATCH 27/28] Internal change PiperOrigin-RevId: 423333566 --- official/{vision/beta => }/projects/vit/README.md | 0 official/{vision/beta => }/projects/vit/configs/__init__.py | 2 +- official/{vision/beta => }/projects/vit/configs/backbones.py | 0 .../beta => }/projects/vit/configs/image_classification.py | 2 +- official/{vision/beta => }/projects/vit/modeling/nn_blocks.py | 0 official/{vision/beta => }/projects/vit/modeling/vit.py | 2 +- official/{vision/beta => }/projects/vit/modeling/vit_test.py | 2 +- official/{vision/beta => }/projects/vit/train.py | 4 ++-- 8 files changed, 6 insertions(+), 6 deletions(-) rename official/{vision/beta => }/projects/vit/README.md (100%) rename official/{vision/beta => }/projects/vit/configs/__init__.py (89%) rename official/{vision/beta => }/projects/vit/configs/backbones.py (100%) rename official/{vision/beta => }/projects/vit/configs/image_classification.py (99%) rename official/{vision/beta => }/projects/vit/modeling/nn_blocks.py (100%) rename official/{vision/beta => }/projects/vit/modeling/vit.py (99%) rename official/{vision/beta => }/projects/vit/modeling/vit_test.py (95%) rename official/{vision/beta => }/projects/vit/train.py (83%) diff --git a/official/vision/beta/projects/vit/README.md b/official/projects/vit/README.md similarity index 100% rename from official/vision/beta/projects/vit/README.md rename to official/projects/vit/README.md diff --git a/official/vision/beta/projects/vit/configs/__init__.py b/official/projects/vit/configs/__init__.py similarity index 89% rename from official/vision/beta/projects/vit/configs/__init__.py rename to official/projects/vit/configs/__init__.py index 126ea6819..567091c3d 100644 --- a/official/vision/beta/projects/vit/configs/__init__.py +++ b/official/projects/vit/configs/__init__.py @@ -15,4 +15,4 @@ # Lint as: python3 """Configs package definition.""" -from official.vision.beta.projects.vit.configs import image_classification +from official.projects.vit.configs import image_classification diff --git a/official/vision/beta/projects/vit/configs/backbones.py b/official/projects/vit/configs/backbones.py similarity index 100% rename from official/vision/beta/projects/vit/configs/backbones.py rename to official/projects/vit/configs/backbones.py diff --git a/official/vision/beta/projects/vit/configs/image_classification.py b/official/projects/vit/configs/image_classification.py similarity index 99% rename from official/vision/beta/projects/vit/configs/image_classification.py rename to official/projects/vit/configs/image_classification.py index 92fc9a10c..9b6189da2 100644 --- a/official/vision/beta/projects/vit/configs/image_classification.py +++ b/official/projects/vit/configs/image_classification.py @@ -26,7 +26,7 @@ from official.modeling import hyperparams from official.modeling import optimization from official.vision.beta.configs import common from official.vision.beta.configs import image_classification as img_cls_cfg -from official.vision.beta.projects.vit.configs import backbones +from official.projects.vit.configs import backbones from official.vision.beta.tasks import image_classification DataConfig = img_cls_cfg.DataConfig diff --git a/official/vision/beta/projects/vit/modeling/nn_blocks.py b/official/projects/vit/modeling/nn_blocks.py similarity index 100% rename from official/vision/beta/projects/vit/modeling/nn_blocks.py rename to official/projects/vit/modeling/nn_blocks.py diff --git a/official/vision/beta/projects/vit/modeling/vit.py b/official/projects/vit/modeling/vit.py similarity index 99% rename from official/vision/beta/projects/vit/modeling/vit.py rename to official/projects/vit/modeling/vit.py index 30bb70866..d4512b652 100644 --- a/official/vision/beta/projects/vit/modeling/vit.py +++ b/official/projects/vit/modeling/vit.py @@ -17,9 +17,9 @@ import tensorflow as tf from official.modeling import activations +from official.projects.vit.modeling import nn_blocks from official.vision.beta.modeling.backbones import factory from official.vision.beta.modeling.layers import nn_layers -from official.vision.beta.projects.vit.modeling import nn_blocks layers = tf.keras.layers diff --git a/official/vision/beta/projects/vit/modeling/vit_test.py b/official/projects/vit/modeling/vit_test.py similarity index 95% rename from official/vision/beta/projects/vit/modeling/vit_test.py rename to official/projects/vit/modeling/vit_test.py index 0cb53dc9e..351b03a1a 100644 --- a/official/vision/beta/projects/vit/modeling/vit_test.py +++ b/official/projects/vit/modeling/vit_test.py @@ -18,7 +18,7 @@ from absl.testing import parameterized import tensorflow as tf -from official.vision.beta.projects.vit.modeling import vit +from official.projects.vit.modeling import vit class VisionTransformerTest(parameterized.TestCase, tf.test.TestCase): diff --git a/official/vision/beta/projects/vit/train.py b/official/projects/vit/train.py similarity index 83% rename from official/vision/beta/projects/vit/train.py rename to official/projects/vit/train.py index b6f3a1610..5d434b1a9 100644 --- a/official/vision/beta/projects/vit/train.py +++ b/official/projects/vit/train.py @@ -18,9 +18,9 @@ from absl import app from official.common import flags as tfm_flags +from official.projects.vit import configs # pylint: disable=unused-import +from official.projects.vit.modeling import vit # pylint: disable=unused-import from official.vision.beta import train -from official.vision.beta.projects.vit import configs # pylint: disable=unused-import -from official.vision.beta.projects.vit.modeling import vit # pylint: disable=unused-import if __name__ == '__main__': -- GitLab From ab8b80128f28a806bb1741e05cfd4fd12378e7ef Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Fri, 21 Jan 2022 11:04:12 -0800 Subject: [PATCH 28/28] Internal change PiperOrigin-RevId: 423362449 --- official/core/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official/core/actions.py b/official/core/actions.py index c2f6329ee..311f1fd49 100644 --- a/official/core/actions.py +++ b/official/core/actions.py @@ -201,7 +201,7 @@ def get_train_actions( """Gets train actions for TFM trainer.""" train_actions = [] # Adds pruning callback actions. - if hasattr(params.task, 'pruning'): + if hasattr(params.task, 'pruning') and params.task.pruning: train_actions.append( PruningAction( export_dir=model_dir, -- GitLab