We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0107cf2 + d21ef30 commit 9152d5fCopy full SHA for 9152d5f
1 file changed
TensorFlow2/Segmentation/nnUNet/runtime/utils.py
@@ -58,7 +58,7 @@ def set_tf_flags(args):
58
tf.config.threading.set_inter_op_parallelism_threads(max(2, (multiprocessing.cpu_count() // hvd.size()) - 2))
59
60
if args.amp:
61
- tf.keras.mixed_precision.experimental.set_policy("mixed_float16")
+ tf.keras.mixed_precision.set_global_policy("mixed_float16")
62
63
64
def is_main_process():
0 commit comments