Skip to content

Commit 4ae295c

Browse files
Internal change
PiperOrigin-RevId: 301741984
1 parent 20c78a9 commit 4ae295c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

official/nlp/bert/tf2_encoder_checkpoint_converter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ def convert_checkpoint(bert_config, output_path, v1_checkpoint):
9898

9999

100100
def main(_):
101-
tf.enable_v2_behavior()
102101
output_path = FLAGS.converted_checkpoint_path
103102
v1_checkpoint = FLAGS.checkpoint_to_convert
104103
bert_config = configs.BertConfig.from_json_file(FLAGS.bert_config_file)

0 commit comments

Comments
 (0)