From 5ba44719efb0d3a4f7a2d7f0fc0dbfd2718d20b3 Mon Sep 17 00:00:00 2001 From: yang-shenwu <1784196654@qq.com> Date: Tue, 17 Jan 2023 03:17:41 +0000 Subject: [PATCH] update train_pixel_link.py. Signed-off-by: yang-shenwu <1784196654@qq.com> --- .../PixelLink_ID3056_for_TensorFlow/train_pixel_link.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TensorFlow/built-in/cv/image_classification/PixelLink_ID3056_for_TensorFlow/train_pixel_link.py b/TensorFlow/built-in/cv/image_classification/PixelLink_ID3056_for_TensorFlow/train_pixel_link.py index b587c88ef..3e8828143 100644 --- a/TensorFlow/built-in/cv/image_classification/PixelLink_ID3056_for_TensorFlow/train_pixel_link.py +++ b/TensorFlow/built-in/cv/image_classification/PixelLink_ID3056_for_TensorFlow/train_pixel_link.py @@ -50,6 +50,9 @@ import time slim = tf.contrib.slim import config +tf.enable_control_flow_v2() +tf.enable_resource_variables() + # =========================================================================== # # Checkpoint and running Flags # =========================================================================== # -- Gitee