Skip to content

Commit 501e0f6

Browse files
No public description
PiperOrigin-RevId: 712541124
1 parent cc7dcff commit 501e0f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: official/projects/pix2seq/tasks/pix2seq_task.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ def initialize(self, model: tf_keras.Model):
9898
"""Loading pretrained checkpoint."""
9999
if self._task_config.init_checkpoint_modules == 'backbone':
100100
raise ValueError(
101-
'init_checkpoint_modules=backbone is deprecated. Specify backbone '
102-
'checkpoints in each backbone config.'
101+
'init_checkpoint_modules=backbone is no longer supported. Specify'
102+
' backbone checkpoints in each backbone config.'
103103
)
104104

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

0 commit comments

Comments
 (0)