Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 712541124
  • Loading branch information
tensorflower-gardener committed Jan 6, 2025
1 parent 4045cd6 commit 1872410
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions official/projects/pix2seq/tasks/pix2seq_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def initialize(self, model: tf_keras.Model):
"""Loading pretrained checkpoint."""
if self._task_config.init_checkpoint_modules == 'backbone':
raise ValueError(
'init_checkpoint_modules=backbone is deprecated. Specify backbone '
'checkpoints in each backbone config.'
'init_checkpoint_modules=backbone is no longer supported. Specify'
' backbone checkpoints in each backbone config.'
)

if self._task_config.init_checkpoint_modules not in ['all', 'partial', '']:
Expand Down

0 comments on commit 1872410

Please sign in to comment.