diff --git a/TensorFlow/contrib/cv/AvatarGAN_ID1305_for_TensorFlow/main.py b/TensorFlow/contrib/cv/AvatarGAN_ID1305_for_TensorFlow/main.py index 956495520fe84e70b509828b2611ef0bd13a6741..5d505829a2be153b41816a5b47ac10d2f0818ee6 100644 --- a/TensorFlow/contrib/cv/AvatarGAN_ID1305_for_TensorFlow/main.py +++ b/TensorFlow/contrib/cv/AvatarGAN_ID1305_for_TensorFlow/main.py @@ -129,7 +129,7 @@ def main(_): custom_op.name = "NpuOptimizer" #profiling 开关 - custom_op.parameter_map["profiling_mode"].b = True + custom_op.parameter_map["profiling_mode"].b = False # custom_op.parameter_map["profiling_options"].s = tf.compat.as_bytes( # '{"output":"/mypath/output","task_trace":"on","training_trace":"on","aicpu":"on","fp_point":"","bp_point":""}') custom_op.parameter_map["profiling_options"].s = tf.compat.as_bytes(