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 4f5831e4ae987a083605ba61f41d5dcd48fc5677..ef1f9f220f001da2ad35fced776d069d92f5106a 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,