Skip to content

Commit a530431

Browse files
committed
CTL RN50 uses persist BN
1 parent 8d9a16c commit a530431

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

official/vision/image_classification/resnet_ctl_imagenet_main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ def run(flags_obj):
197197
'mixed_bfloat16')
198198
tf.compat.v2.keras.mixed_precision.experimental.set_policy(policy)
199199

200+
common.set_cudnn_batchnorm_mode()
201+
200202
# TODO(anj-s): Set data_format without using Keras.
201203
data_format = flags_obj.data_format
202204
if data_format is None:

0 commit comments

Comments
 (0)