From 023b4faab4f19b1cfab7a37138af35fcd27ca75f Mon Sep 17 00:00:00 2001 From: "Wang, Kai Lawrence" <109344418+wangkl2@users.noreply.github.com> Date: Mon, 18 Sep 2023 11:38:31 +0800 Subject: [PATCH] Update shard-eg readme (#2005) --- examples/train_resnet50_with_autoshard/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/train_resnet50_with_autoshard/README.md b/examples/train_resnet50_with_autoshard/README.md index e6fed1387..cdcb8c2d8 100644 --- a/examples/train_resnet50_with_autoshard/README.md +++ b/examples/train_resnet50_with_autoshard/README.md @@ -42,7 +42,7 @@ Modify `/path/to/tf-models` accordingly, here `~/tf-models` as an example. ```bash cd official/legacy/image_classification/resnet/ mkdir output -export PYTHONPATH=$PYTHONPATH:/path/to/tf-models:$PWD] +export PYTHONPATH=$PYTHONPATH:/path/to/tf-models:$PWD ``` ## Executes the Example with Python API @@ -128,7 +128,7 @@ python resnet_ctl_imagenet_main.py \ ``` The following output log indicates XPUAutoShard has been enabled successfully:
-`I itex/core/graph/tfg_optimizer_hook/tfg_optimizer_hook.cc:289] Run AutoShard pass successfully` +`I itex/core/graph/tfg_optimizer_hook/tfg_optimizer_hook.cc:280] Run AutoShard pass successfully` ## Example Output With successful execution, it will print out the following results: