From 7b2e142808c9c2a2d1b86e39248361840e431aa6 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 4 Nov 2022 09:44:29 +0000 Subject: [PATCH 1/3] update ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README.md. Signed-off-by: alex --- ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README.md b/ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README.md index 96a6db00a..fa56800df 100644 --- a/ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README.md +++ b/ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README.md @@ -50,7 +50,7 @@ jpeg图片将被预处理为bin文件 - Pb模型转换为om模型 ``` - atc --model=mobilenetv1_tf.pb --framework=3 --output=mobilenetv1_tf_1batch --output_type=FP32 --soc_version=Ascend310 --input_shape="input:1,224,224,3" --log=info --insert_op_conf=mobilenetv1_tf_aipp.cfg --enable_small_channle=1 + atc --model=mobilenetv1_tf.pb --framework=3 --output=mobilenetv1_tf_1batch --output_type=FP32 --soc_version=Ascend310 --input_shape="input:1,224,224,3" --log=info --insert_op_conf=mobilenetv1_tf_aipp.cfg --enable_small_channel=1 ``` - 编译程序 -- Gitee From 0cb69afb413a945dcc6385c281b05721fe01d8c9 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 4 Nov 2022 09:45:13 +0000 Subject: [PATCH 2/3] update ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README_EN.md. Signed-off-by: alex --- ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README_EN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README_EN.md b/ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README_EN.md index 4a7e74ad0..304a55e9e 100644 --- a/ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README_EN.md +++ b/ACL_TensorFlow/built-in/cv/MobileNetv1_for_ACL/README_EN.md @@ -51,7 +51,7 @@ The jpegs pictures will be preprocessed to bin fils. - convert pb to om ``` - atc --model=mobilenetv1_tf.pb --framework=3 --output=mobilenetv1_tf_1batch --output_type=FP32 --soc_version=Ascend310 --input_shape="input:1,224,224,3" --log=info --insert_op_conf=mobilenetv1_tf_aipp.cfg --enable_small_channle=1 + atc --model=mobilenetv1_tf.pb --framework=3 --output=mobilenetv1_tf_1batch --output_type=FP32 --soc_version=Ascend310 --input_shape="input:1,224,224,3" --log=info --insert_op_conf=mobilenetv1_tf_aipp.cfg --enable_small_channel=1 ``` - Build the program -- Gitee From c7c4505e1bf9117237d49e8271637078db2a220c Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 24 Nov 2022 10:09:10 +0000 Subject: [PATCH 3/3] update ACL_TensorFlow/contrib/recommendation/WideDeep_for_ACL/scripts/generate_data.py. Signed-off-by: alex --- .../WideDeep_for_ACL/scripts/generate_data.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ACL_TensorFlow/contrib/recommendation/WideDeep_for_ACL/scripts/generate_data.py b/ACL_TensorFlow/contrib/recommendation/WideDeep_for_ACL/scripts/generate_data.py index 097c52c86..110606ed2 100644 --- a/ACL_TensorFlow/contrib/recommendation/WideDeep_for_ACL/scripts/generate_data.py +++ b/ACL_TensorFlow/contrib/recommendation/WideDeep_for_ACL/scripts/generate_data.py @@ -73,17 +73,17 @@ def separate_input_fn( if print_display_ids: elem["ad_id"] = tf.Print(input_=elem["ad_id"], data=[tf.reshape(elem["display_id"],[-1])], - message="display_id", name="print_display_ids" + message="display_id", name="print_display_ids", summarize=elem["ad_id"].shape[1] ) elem["ad_id"] = tf.Print(input_=elem["ad_id"], data=[tf.reshape(elem["ad_id"],[-1])], - message="ad_id", name="print_ad_ids" + message="ad_id", name="print_ad_ids", summarize=elem["ad_id"].shape[1] ) elem["ad_id"] = tf.Print(input_=elem["ad_id"], data=[tf.reshape(elem["is_leak"],[-1])], - message="is_leak", name="print_is_leak" + message="is_leak", name="print_is_leak", summarize=elem["ad_id"].shape[1] ) return reshaped_elem,reshaped_label -- Gitee