From a7defe1db58bb7de0bb683a91bc26c825f72262d Mon Sep 17 00:00:00 2001 From: libin <1581602217@qq.com> Date: Tue, 31 Oct 2023 08:36:42 +0000 Subject: [PATCH] =?UTF-8?q?update=20TensorFlow/built-in/recommendation/Dee?= =?UTF-8?q?pCTR=5FSeries=5Ffor=5FTensorFlow/examples/run=5Fdcnmix.py.=20rt?= =?UTF-8?q?2.0=20tf=E5=9C=BA=E6=99=AF=E4=B8=8D=E6=94=AF=E6=8C=81v1?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E7=B1=BB=E7=AE=97=E5=AD=90,=E6=8A=8Av1?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E7=B1=BB=E7=AE=97=E5=AD=90=E8=BD=AC=E5=8C=96?= =?UTF-8?q?=E4=B8=BAv2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: libin <1581602217@qq.com> --- .../DeepCTR_Series_for_TensorFlow/examples/run_dcnmix.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/DeepCTR_Series_for_TensorFlow/examples/run_dcnmix.py b/TensorFlow/built-in/recommendation/DeepCTR_Series_for_TensorFlow/examples/run_dcnmix.py index 4f5831e4a..ef1f9f220 100644 --- a/TensorFlow/built-in/recommendation/DeepCTR_Series_for_TensorFlow/examples/run_dcnmix.py +++ b/TensorFlow/built-in/recommendation/DeepCTR_Series_for_TensorFlow/examples/run_dcnmix.py @@ -39,7 +39,8 @@ from npu_bridge.npu_init import * import argparse import os import time - +tf.enable_control_flow_v2() +tf.enable_resource_variables() TRAIN_LINE_COUNT = 45840617 CAT_TO_VOC = { 'C1': 1462, -- Gitee