From bbae380b88e4c063dda538e40e5d0a1095755b4e Mon Sep 17 00:00:00 2001
From: GongLiyao <gongliyao@huawei.com>
Date: Fri, 15 Jul 2022 11:33:40 +0800
Subject: [PATCH] Change 'pip3.7' to 'pip' in the scripts of Ascend310
 inference.

---
 official/audio/ecapa_tdnn/scripts/run_infer_310.sh          | 2 +-
 official/cv/c3d/ascend310_infer/build.sh                    | 2 +-
 official/cv/c3d/scripts/run_infer_310.sh                    | 6 +++---
 official/cv/east/scripts/run_infer_310.sh                   | 2 +-
 official/cv/erfnet/ascend310_infer/src/build.sh             | 2 +-
 official/cv/faster_rcnn/ascend310_infer/build.sh            | 2 +-
 official/cv/nasnet/scripts/run_infer_310.sh                 | 4 ++--
 official/cv/patchcore/scripts/run_310_infer.sh              | 4 ++--
 official/cv/posenet/scripts/run_infer_310.sh                | 2 +-
 official/cv/shufflenetv2/scripts/run_infer_310.sh           | 4 ++--
 official/recommend/naml/ascend310_infer/build.sh            | 2 +-
 official/recommend/naml/script/run_infer_310.sh             | 2 +-
 official/recommend/tbnet/ascend310_infer/build.sh           | 2 +-
 research/cv/AlphaPose/scripts/run_infer_310.sh              | 2 +-
 research/cv/ArbitraryStyleTransfer/scripts/run_infer_310.sh | 4 ++--
 research/cv/AutoSlim/scripts/run_infer_310.sh               | 4 ++--
 research/cv/CGAN/script/run_infer_310.sh                    | 4 ++--
 research/cv/CycleGAN/ascend310_infer/build.sh               | 2 +-
 research/cv/CycleGAN/scripts/run_infer_310.sh               | 4 ++--
 research/cv/DeepID/scripts/run_infer_310.sh                 | 4 ++--
 research/cv/EGnet/scripts/run_infer_310.sh                  | 6 +++---
 research/cv/GENet_Res50/ascend310_infer/src/build.sh        | 2 +-
 research/cv/GENet_Res50/scripts/run_infer_310.sh            | 4 ++--
 research/cv/HRNetW48_seg/scripts/ascend310_inference.sh     | 4 ++--
 research/cv/LightCNN/ascend310_infer/src/build.sh           | 2 +-
 research/cv/LightCNN/scripts/run_infer_310.sh               | 4 ++--
 research/cv/OCRNet/scripts/ascend310_inference.sh           | 4 ++--
 research/cv/PAMTRI/MultiTaskNet/ascend_310_infer/build.sh   | 2 +-
 research/cv/PAMTRI/MultiTaskNet/scripts/run_310_infer.sh    | 4 ++--
 research/cv/PAMTRI/PoseEstNet/ascend_310_infer/build.sh     | 2 +-
 research/cv/PAMTRI/PoseEstNet/scripts/run_310_infer.sh      | 4 ++--
 research/cv/PDarts/ascend310_infer/build.sh                 | 2 +-
 research/cv/PDarts/scripts/run_infer_310.sh                 | 6 +++---
 research/cv/PSPNet/scripts/run_infer_310.sh                 | 4 ++--
 research/cv/ProtoNet/scripts/run_infer_310.sh               | 2 +-
 research/cv/SPPNet/ascend310_infer/src/build.sh             | 2 +-
 research/cv/SPPNet/scripts/run_infer_310.sh                 | 4 ++--
 research/cv/SRGAN/ascend310_infer/build.sh                  | 2 +-
 research/cv/SRGAN/scripts/run_infer_310.sh                  | 4 ++--
 research/cv/STGAN/ascend310_infer/build.sh                  | 2 +-
 research/cv/SiamFC/ascend310_infer/build.sh                 | 2 +-
 research/cv/SinGAN/scripts/run_infer_310.sh                 | 4 ++--
 research/cv/StarGAN/ascend310_infer/src/build.sh            | 2 +-
 research/cv/StarGAN/scripts/run_infer_310.sh                | 4 ++--
 research/cv/TCN/scripts/run_infer_310.sh                    | 2 +-
 research/cv/U-GAT-IT/scripts/run_infer_310.sh               | 2 +-
 research/cv/VehicleNet/script/run_infer_310.sh              | 4 ++--
 research/cv/arcface/ascend_310_infer/build.sh               | 2 +-
 research/cv/arcface/scripts/run_310_infer.sh                | 4 ++--
 research/cv/centernet_resnet50_v1/ascend310_infer/build.sh  | 2 +-
 research/cv/centernet_resnet50_v1/scripts/run_infer_310.sh  | 4 ++--
 research/cv/dcgan/scripts/run_infer_310.sh                  | 2 +-
 research/cv/deeplabv3plus/ascend310_infer/build.sh          | 2 +-
 research/cv/deeplabv3plus/scripts/run_infer_310.sh          | 2 +-
 research/cv/efficientnet-b0/ascend310_infer/build.sh        | 2 +-
 research/cv/efficientnet-b0/scripts/run_infer_310.sh        | 4 ++--
 research/cv/efficientnet-b2/ascend310_infer/build.sh        | 2 +-
 research/cv/efficientnet-b2/scripts/run_infer_310.sh        | 4 ++--
 research/cv/efficientnet-b3/ascend310_infer/build.sh        | 2 +-
 research/cv/efficientnet-b3/scripts/run_infer_310.sh        | 4 ++--
 research/cv/ibnnet/ascend310_infer/build.sh                 | 2 +-
 research/cv/ibnnet/scripts/run_310_infer.sh                 | 4 ++--
 research/cv/midas/ascend310_infer/build.sh                  | 2 +-
 research/cv/mobilenetV3_small_x1_0/ascend310_infer/build.sh | 2 +-
 research/cv/mobilenetV3_small_x1_0/scripts/run_infer_310.sh | 4 ++--
 research/cv/mobilenetv3_large/ascend310_infer/build.sh      | 2 +-
 research/cv/mobilenetv3_large/scripts/run_infer_310.sh      | 4 ++--
 research/cv/nas-fpn/scripts/run_infer_310.sh                | 2 +-
 research/cv/ntsnet/scripts/run_infer_310.sh                 | 4 ++--
 research/cv/pnasnet/scripts/run_infer_310.sh                | 4 ++--
 research/cv/proxylessnas/scripts/run_infer_310.sh           | 4 ++--
 research/cv/relationnet/scripts/run_infer_310.sh            | 4 ++--
 research/cv/resnet3d/ascend310_infer/build.sh               | 2 +-
 research/cv/resnet3d/scripts/run_infer_310.sh               | 4 ++--
 research/cv/resnetv2_50_frn/scripts/run_infer_310.sh        | 4 ++--
 research/cv/siamRPN/ascend_310_infer/build.sh               | 2 +-
 research/cv/siamRPN/scripts/run_infer_310.sh                | 4 ++--
 research/cv/simple_baselines/ascend310_infer/build.sh       | 2 +-
 research/cv/simple_baselines/scripts/run_infer_310.sh       | 4 ++--
 research/cv/sknet/ascend310_infer/build.sh                  | 2 +-
 research/cv/sknet/scripts/run_infer_310.sh                  | 4 ++--
 research/cv/ssd_inceptionv2/scripts/run_infer_310.sh        | 2 +-
 research/cv/ssd_resnet34/ascend310_infer/build.sh           | 2 +-
 research/cv/ssd_resnet34/scripts/run_infer_310.sh           | 2 +-
 research/cv/stpm/scripts/run_infer_310.sh                   | 4 ++--
 research/cv/swin_transformer/ascend310_infer/build.sh       | 2 +-
 research/cv/tall/ascend310_infer/build.sh                   | 2 +-
 research/cv/textfusenet/scripts/run_infer_310.sh            | 2 +-
 research/cv/tsn/ascend310_infer/build.sh                    | 2 +-
 research/cv/tsn/scripts/run_infer_310.sh                    | 2 +-
 research/cv/u2net/scripts/run_infer_310.sh                  | 6 +++---
 research/cv/vit_base/scripts/run_infer_310.sh               | 2 +-
 research/cv/wideresnet/scripts/run_infer_310.sh             | 2 +-
 research/gnn/dgcn/ascend310_infer/build.sh                  | 2 +-
 research/gnn/dgcn/script/run_infer_310.sh                   | 4 ++--
 research/gnn/sgcn/ascend310_infer/build.sh                  | 2 +-
 research/nlp/albert/scripts/run_infer_310.sh                | 4 ++--
 research/nlp/atae_lstm/ascend310_infer/build.sh             | 2 +-
 research/nlp/hypertext/ascend310_infer/build.sh             | 2 +-
 research/recommend/DIEN/scripts/run_infer_book_310.sh       | 4 ++--
 research/recommend/DIEN/scripts/run_infer_elec_310.sh       | 4 ++--
 101 files changed, 151 insertions(+), 151 deletions(-)

diff --git a/official/audio/ecapa_tdnn/scripts/run_infer_310.sh b/official/audio/ecapa_tdnn/scripts/run_infer_310.sh
index e2bec2145..24bda6aa5 100644
--- a/official/audio/ecapa_tdnn/scripts/run_infer_310.sh
+++ b/official/audio/ecapa_tdnn/scripts/run_infer_310.sh
@@ -75,7 +75,7 @@ function infer()
         rm -rf ./testdata
     fi
     mkdir testdata
-    python3 ../ascend310_infer/310infer_preprocess.py $datapath
+    python ../ascend310_infer/310infer_preprocess.py $datapath
     if [ -d output ]; then
         rm -rf ./output
     fi
diff --git a/official/cv/c3d/ascend310_infer/build.sh b/official/cv/c3d/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/official/cv/c3d/ascend310_infer/build.sh
+++ b/official/cv/c3d/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/official/cv/c3d/scripts/run_infer_310.sh b/official/cv/c3d/scripts/run_infer_310.sh
index 3eb40b58e..4c8b88b9a 100644
--- a/official/cv/c3d/scripts/run_infer_310.sh
+++ b/official/cv/c3d/scripts/run_infer_310.sh
@@ -76,7 +76,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --batch_size 1
+    python ../preprocess.py --batch_size 1
 }
 
 function compile_app()
@@ -104,9 +104,9 @@ function infer()
 function cal_acc()
 {
     if [ "$dataset" == "HMDB51" ]; then
-        python3.7 ../postprocess.py  --batch_size 1 &> acc.log
+        python ../postprocess.py  --batch_size 1 &> acc.log
     else
-      python3.7 ../postprocess.py  --num_classes 101 --batch_size 1 &> acc.log
+      python ../postprocess.py  --num_classes 101 --batch_size 1 &> acc.log
     fi
 }
 
diff --git a/official/cv/east/scripts/run_infer_310.sh b/official/cv/east/scripts/run_infer_310.sh
index 7003fb3f7..b0d1f6cb7 100644
--- a/official/cv/east/scripts/run_infer_310.sh
+++ b/official/cv/east/scripts/run_infer_310.sh
@@ -80,7 +80,7 @@ function infer()
 function cal_acc()
 {
     cd .. || exit
-    python3.7 postprocess.py --result_path=./scripts/result_Files  &> ./acc.log &
+    python postprocess.py --result_path=./scripts/result_Files  &> ./acc.log &
 }
 
 
diff --git a/official/cv/erfnet/ascend310_infer/src/build.sh b/official/cv/erfnet/ascend310_infer/src/build.sh
index 8fadaa851..74b0cf676 100644
--- a/official/cv/erfnet/ascend310_infer/src/build.sh
+++ b/official/cv/erfnet/ascend310_infer/src/build.sh
@@ -15,6 +15,6 @@
 # ============================================================================
 mkdir build
 cd build
-cmake . -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+cmake . -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
 cd ..
\ No newline at end of file
diff --git a/official/cv/faster_rcnn/ascend310_infer/build.sh b/official/cv/faster_rcnn/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/official/cv/faster_rcnn/ascend310_infer/build.sh
+++ b/official/cv/faster_rcnn/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/official/cv/nasnet/scripts/run_infer_310.sh b/official/cv/nasnet/scripts/run_infer_310.sh
index 7434df920..4dbd64692 100644
--- a/official/cv/nasnet/scripts/run_infer_310.sh
+++ b/official/cv/nasnet/scripts/run_infer_310.sh
@@ -77,7 +77,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path & #--result_path=./preprocess_Result/
+    python ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path & #--result_path=./preprocess_Result/
 }
 
 function compile_app()
@@ -103,7 +103,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --dataset_name=$dataset_name  &> acc.log
+    python ../postprocess.py --dataset_name=$dataset_name  &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/official/cv/patchcore/scripts/run_310_infer.sh b/official/cv/patchcore/scripts/run_310_infer.sh
index 538104fbb..8d7af18c8 100644
--- a/official/cv/patchcore/scripts/run_310_infer.sh
+++ b/official/cv/patchcore/scripts/run_310_infer.sh
@@ -76,7 +76,7 @@ function preprocess_data() {
     mkdir ./img/$category/infer
     mkdir ./img/$category/label
 
-    python3.7 ../preprocess.py \
+    python ../preprocess.py \
     --data_dir $dataset_path \
     --img_dir ./img \
     --category $category
@@ -119,7 +119,7 @@ function infer() {
 }
 
 function cal_acc() {
-    python3 ../postprocess.py \
+    python ../postprocess.py \
         --result_dir ./img/$category/result/ \
         --img_dir ./img/$category/infer/ \
         --label_dir ./img/$category/label/ \
diff --git a/official/cv/posenet/scripts/run_infer_310.sh b/official/cv/posenet/scripts/run_infer_310.sh
index aedb7bd01..2dbc63e61 100644
--- a/official/cv/posenet/scripts/run_infer_310.sh
+++ b/official/cv/posenet/scripts/run_infer_310.sh
@@ -77,7 +77,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_path=./result_Files --label_path=$label_path &> acc.log &
+    python ../postprocess.py --result_path=./result_Files --label_path=$label_path &> acc.log &
 }
 
 compile_app
diff --git a/official/cv/shufflenetv2/scripts/run_infer_310.sh b/official/cv/shufflenetv2/scripts/run_infer_310.sh
index 7434df920..4dbd64692 100644
--- a/official/cv/shufflenetv2/scripts/run_infer_310.sh
+++ b/official/cv/shufflenetv2/scripts/run_infer_310.sh
@@ -77,7 +77,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path & #--result_path=./preprocess_Result/
+    python ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path & #--result_path=./preprocess_Result/
 }
 
 function compile_app()
@@ -103,7 +103,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --dataset_name=$dataset_name  &> acc.log
+    python ../postprocess.py --dataset_name=$dataset_name  &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/official/recommend/naml/ascend310_infer/build.sh b/official/recommend/naml/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/official/recommend/naml/ascend310_infer/build.sh
+++ b/official/recommend/naml/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/official/recommend/naml/script/run_infer_310.sh b/official/recommend/naml/script/run_infer_310.sh
index 2ea348ed1..cd1dc698d 100644
--- a/official/recommend/naml/script/run_infer_310.sh
+++ b/official/recommend/naml/script/run_infer_310.sh
@@ -66,7 +66,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --preprocess_path=./preprocess_Result &> preprocess.log
+    python ../preprocess.py --preprocess_path=./preprocess_Result &> preprocess.log
     if [ $? -ne 0 ]; then
         echo "preprocess data failed"
         exit 1
diff --git a/official/recommend/tbnet/ascend310_infer/build.sh b/official/recommend/tbnet/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/official/recommend/tbnet/ascend310_infer/build.sh
+++ b/official/recommend/tbnet/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/AlphaPose/scripts/run_infer_310.sh b/research/cv/AlphaPose/scripts/run_infer_310.sh
index 8c95d84a5..950e46a92 100644
--- a/research/cv/AlphaPose/scripts/run_infer_310.sh
+++ b/research/cv/AlphaPose/scripts/run_infer_310.sh
@@ -68,7 +68,7 @@ function preprocess_data()
     if [ -d ./data_bin ]; then
         rm -rf ./data_bin
     fi
-    python3.7 ../data_to_bin.py --dataset_path=$data_path &> preprocess.log
+    python ../data_to_bin.py --dataset_path=$data_path &> preprocess.log
 }
 
 function compile_app()
diff --git a/research/cv/ArbitraryStyleTransfer/scripts/run_infer_310.sh b/research/cv/ArbitraryStyleTransfer/scripts/run_infer_310.sh
index f1d25395c..11ba1cea4 100644
--- a/research/cv/ArbitraryStyleTransfer/scripts/run_infer_310.sh
+++ b/research/cv/ArbitraryStyleTransfer/scripts/run_infer_310.sh
@@ -57,7 +57,7 @@ function preprocess_data()
        rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --content_path $content_path --style_path $style_path --output_path='./preprocess_Result/'
+    python ../preprocess.py --content_path $content_path --style_path $style_path --output_path='./preprocess_Result/'
 }
 function compile_app()
 {
@@ -90,7 +90,7 @@ function post_process()
        rm -rf ./postprocess_Result_interpolation
     fi
     mkdir postprocess_Result_interpolation
-    python3.7 ../postprocess.py --bin_path='./result_Files' --output_dir='./postprocess_Result/' --output_dir_interpolation='./postprocess_Result_interpolation/' &> postprocess.log
+    python ../postprocess.py --bin_path='./result_Files' --output_dir='./postprocess_Result/' --output_dir_interpolation='./postprocess_Result_interpolation/' &> postprocess.log
 }
 
 preprocess_data
diff --git a/research/cv/AutoSlim/scripts/run_infer_310.sh b/research/cv/AutoSlim/scripts/run_infer_310.sh
index c73f5188e..4184e3a08 100644
--- a/research/cv/AutoSlim/scripts/run_infer_310.sh
+++ b/research/cv/AutoSlim/scripts/run_infer_310.sh
@@ -59,7 +59,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --data_path=$dataset_path
+    python ../preprocess.py --data_path=$dataset_path
 }
 
 function compile_app()
@@ -85,7 +85,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py  &> acc.log
+    python ../postprocess.py  &> acc.log
 }
 
 preprocess_data
diff --git a/research/cv/CGAN/script/run_infer_310.sh b/research/cv/CGAN/script/run_infer_310.sh
index 4629e23b0..fabc915f9 100644
--- a/research/cv/CGAN/script/run_infer_310.sh
+++ b/research/cv/CGAN/script/run_infer_310.sh
@@ -66,7 +66,7 @@ function preprocess_data()
        rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --output_path='./preprocess_Result/'
+    python ../preprocess.py --output_path='./preprocess_Result/'
 }
 function compile_app()
 {
@@ -96,7 +96,7 @@ function post_process()
        rm -rf ./postprocess_Result
     fi
     mkdir postprocess_Result
-    python3.7 ../postprocess.py --output_path='./postprocess_Result/'
+    python ../postprocess.py --output_path='./postprocess_Result/'
 }
 
 preprocess_data
diff --git a/research/cv/CycleGAN/ascend310_infer/build.sh b/research/cv/CycleGAN/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/CycleGAN/ascend310_infer/build.sh
+++ b/research/cv/CycleGAN/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/CycleGAN/scripts/run_infer_310.sh b/research/cv/CycleGAN/scripts/run_infer_310.sh
index 3282639c8..4a612d540 100644
--- a/research/cv/CycleGAN/scripts/run_infer_310.sh
+++ b/research/cv/CycleGAN/scripts/run_infer_310.sh
@@ -83,7 +83,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 preprocess.py  --dataroot=$dataset_path --data_dir=$dataset_mode --outputs_dir=./preprocess_Result/ >& preprocess.log
+    python preprocess.py  --dataroot=$dataset_path --data_dir=$dataset_mode --outputs_dir=./preprocess_Result/ >& preprocess.log
 }
 
 function compile_app()
@@ -114,7 +114,7 @@ function generate_img()
         rm -rf ./infer_output_img
     fi
     mkdir infer_output_img
-    python3.7 postprocess.py  --dataroot=./result_Files --outputs_dir=./infer_output_img --device_id=$device_id &> acc.log
+    python postprocess.py  --dataroot=./result_Files --outputs_dir=./infer_output_img --device_id=$device_id &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/DeepID/scripts/run_infer_310.sh b/research/cv/DeepID/scripts/run_infer_310.sh
index 80d0755ec..6c223e8e1 100644
--- a/research/cv/DeepID/scripts/run_infer_310.sh
+++ b/research/cv/DeepID/scripts/run_infer_310.sh
@@ -65,7 +65,7 @@ function preprocess_data()
     fi
     mkdir bin_data
     cd $scripts_path
-    python3.7 ../preprocess.py --data_url=$data_path &> preprocess.log
+    python ../preprocess.py --data_url=$data_path &> preprocess.log
 }
 
 function compile_app()
@@ -96,7 +96,7 @@ function infer()
 function postprocess()
 {
     cd $scripts_path
-    python3.7 ../postprocess.py --result_path='./result_Files' --ori_path='../bin_data/label' &> postprocess.log
+    python ../postprocess.py --result_path='./result_Files' --ori_path='../bin_data/label' &> postprocess.log
 }
 
 preprocess_data
diff --git a/research/cv/EGnet/scripts/run_infer_310.sh b/research/cv/EGnet/scripts/run_infer_310.sh
index 30657fc97..9d912459b 100644
--- a/research/cv/EGnet/scripts/run_infer_310.sh
+++ b/research/cv/EGnet/scripts/run_infer_310.sh
@@ -59,7 +59,7 @@ function preprocess_data()
     fi
     mkdir preprocess_Result
     mkdir preprocess_Mask_Result
-    python3.7 ../preprocess.py
+    python ../preprocess.py
 }
 function compile_app()
 {
@@ -88,12 +88,12 @@ function post_process()
        rm -rf ./postprocess_Result
     fi
     mkdir postprocess_Result
-    python3.7 ../postprocess.py --bin_path='./result_Files/' --mask_path='./preprocess_Mask_Result/' --output_dir='./postprocess_Result/' &> postprocess.log
+    python ../postprocess.py --bin_path='./result_Files/' --mask_path='./preprocess_Mask_Result/' --output_dir='./postprocess_Result/' &> postprocess.log
 }
 
 function evaluation()
 {
-    python3.7 ../eval_310.py --pred_dir='./postprocess_Result/' &> evaluation.log
+    python ../eval_310.py --pred_dir='./postprocess_Result/' &> evaluation.log
 }
 
 preprocess_data
diff --git a/research/cv/GENet_Res50/ascend310_infer/src/build.sh b/research/cv/GENet_Res50/ascend310_infer/src/build.sh
index 7fac9cff3..724c787b3 100644
--- a/research/cv/GENet_Res50/ascend310_infer/src/build.sh
+++ b/research/cv/GENet_Res50/ascend310_infer/src/build.sh
@@ -14,5 +14,5 @@
 # limitations under the License.
 # ============================================================================
 
-cmake . -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+cmake . -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
\ No newline at end of file
diff --git a/research/cv/GENet_Res50/scripts/run_infer_310.sh b/research/cv/GENet_Res50/scripts/run_infer_310.sh
index 0764ea8f6..186912b62 100644
--- a/research/cv/GENet_Res50/scripts/run_infer_310.sh
+++ b/research/cv/GENet_Res50/scripts/run_infer_310.sh
@@ -80,8 +80,8 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../create_imagenet2012_label.py  --img_path=$data_path
-    python3.7 ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
+    python ../create_imagenet2012_label.py  --img_path=$data_path
+    python ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/HRNetW48_seg/scripts/ascend310_inference.sh b/research/cv/HRNetW48_seg/scripts/ascend310_inference.sh
index c96e1544e..b4a617a75 100644
--- a/research/cv/HRNetW48_seg/scripts/ascend310_inference.sh
+++ b/research/cv/HRNetW48_seg/scripts/ascend310_inference.sh
@@ -66,7 +66,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ./preprocess.py --data_path=$data_path --train_path=./preprocess_Result &> preprocess.log
+    python ./preprocess.py --data_path=$data_path --train_path=./preprocess_Result &> preprocess.log
 }
 
 function infer()
@@ -85,7 +85,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ./postprocess.py --result_path=./result_Files --label_path=./preprocess_Result/label &> acc.log
+    python ./postprocess.py --result_path=./result_Files --label_path=./preprocess_Result/label &> acc.log
     if [ $? -ne 0 ]; then
         echo "Calculate accuracy failed."
         exit 1
diff --git a/research/cv/LightCNN/ascend310_infer/src/build.sh b/research/cv/LightCNN/ascend310_infer/src/build.sh
index 7fac9cff3..724c787b3 100644
--- a/research/cv/LightCNN/ascend310_infer/src/build.sh
+++ b/research/cv/LightCNN/ascend310_infer/src/build.sh
@@ -14,5 +14,5 @@
 # limitations under the License.
 # ============================================================================
 
-cmake . -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+cmake . -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
\ No newline at end of file
diff --git a/research/cv/LightCNN/scripts/run_infer_310.sh b/research/cv/LightCNN/scripts/run_infer_310.sh
index ebea67d5e..93ce0e4ac 100644
--- a/research/cv/LightCNN/scripts/run_infer_310.sh
+++ b/research/cv/LightCNN/scripts/run_infer_310.sh
@@ -64,7 +64,7 @@ function preprocess_data()
     fi
     mkdir bin_data
     cd $scripts_path
-    python3.7 ../preprocess.py --data_path=$data_path &> preprocess.log
+    python ../preprocess.py --data_path=$data_path &> preprocess.log
 }
 
 function compile_app()
@@ -93,7 +93,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_path=./result_Files --mat_files_path=../mat_files &> acc.log
+    python ../postprocess.py --result_path=./result_Files --mat_files_path=../mat_files &> acc.log
 }
 
 preprocess_data
diff --git a/research/cv/OCRNet/scripts/ascend310_inference.sh b/research/cv/OCRNet/scripts/ascend310_inference.sh
index c96e1544e..b4a617a75 100644
--- a/research/cv/OCRNet/scripts/ascend310_inference.sh
+++ b/research/cv/OCRNet/scripts/ascend310_inference.sh
@@ -66,7 +66,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ./preprocess.py --data_path=$data_path --train_path=./preprocess_Result &> preprocess.log
+    python ./preprocess.py --data_path=$data_path --train_path=./preprocess_Result &> preprocess.log
 }
 
 function infer()
@@ -85,7 +85,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ./postprocess.py --result_path=./result_Files --label_path=./preprocess_Result/label &> acc.log
+    python ./postprocess.py --result_path=./result_Files --label_path=./preprocess_Result/label &> acc.log
     if [ $? -ne 0 ]; then
         echo "Calculate accuracy failed."
         exit 1
diff --git a/research/cv/PAMTRI/MultiTaskNet/ascend_310_infer/build.sh b/research/cv/PAMTRI/MultiTaskNet/ascend_310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/PAMTRI/MultiTaskNet/ascend_310_infer/build.sh
+++ b/research/cv/PAMTRI/MultiTaskNet/ascend_310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/PAMTRI/MultiTaskNet/scripts/run_310_infer.sh b/research/cv/PAMTRI/MultiTaskNet/scripts/run_310_infer.sh
index 315ed8a99..b03d0a60e 100644
--- a/research/cv/PAMTRI/MultiTaskNet/scripts/run_310_infer.sh
+++ b/research/cv/PAMTRI/MultiTaskNet/scripts/run_310_infer.sh
@@ -111,7 +111,7 @@ function preprocess_data() {
     fi
     mkdir label
 
-    python3.7 ../preprocess.py --result_dir ./input/ --label_dir ./label/ --data_dir $dataset_path --heatmapaware $use_heatmap --segmentaware $use_segment
+    python ../preprocess.py --result_dir ./input/ --label_dir ./label/ --data_dir $dataset_path --heatmapaware $use_heatmap --segmentaware $use_segment
 }
 
 function compile_app() {
@@ -136,7 +136,7 @@ function infer() {
 }
 
 function cal_acc() {
-    python3.7 ../postprocess.py --input_dir ./ --result_dir ./result_Files/ --label_dir ./label/ > acc.log
+    python ../postprocess.py --input_dir ./ --result_dir ./result_Files/ --label_dir ./label/ > acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/PAMTRI/PoseEstNet/ascend_310_infer/build.sh b/research/cv/PAMTRI/PoseEstNet/ascend_310_infer/build.sh
index 265486af9..32ff98d8f 100644
--- a/research/cv/PAMTRI/PoseEstNet/ascend_310_infer/build.sh
+++ b/research/cv/PAMTRI/PoseEstNet/ascend_310_infer/build.sh
@@ -26,5 +26,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/PAMTRI/PoseEstNet/scripts/run_310_infer.sh b/research/cv/PAMTRI/PoseEstNet/scripts/run_310_infer.sh
index b45c933e2..aa32bd810 100644
--- a/research/cv/PAMTRI/PoseEstNet/scripts/run_310_infer.sh
+++ b/research/cv/PAMTRI/PoseEstNet/scripts/run_310_infer.sh
@@ -85,7 +85,7 @@ function preprocess_data() {
     fi
     mkdir label
 
-    python3.7 ../preprocess.py --cfg ../config.yaml --result_dir ./input/ --label_dir ./label/ --data_dir $dataset_path
+    python ../preprocess.py --cfg ../config.yaml --result_dir ./input/ --label_dir ./label/ --data_dir $dataset_path
 }
 
 function compile_app() {
@@ -110,7 +110,7 @@ function infer() {
 }
 
 function cal_acc() {
-    python3.7 ../postprocess.py --cfg ../config.yaml --data_dir $dataset_path --result_dir ./result_Files/ --label_dir ./label/label.json --input_dir ./input/ > acc.log
+    python ../postprocess.py --cfg ../config.yaml --data_dir $dataset_path --result_dir ./result_Files/ --label_dir ./label/label.json --input_dir ./input/ > acc.log
 }
  
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/PDarts/ascend310_infer/build.sh b/research/cv/PDarts/ascend310_infer/build.sh
index f554472b8..e429f3859 100644
--- a/research/cv/PDarts/ascend310_infer/build.sh
+++ b/research/cv/PDarts/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/PDarts/scripts/run_infer_310.sh b/research/cv/PDarts/scripts/run_infer_310.sh
index 8761ca5a9..be30e4548 100644
--- a/research/cv/PDarts/scripts/run_infer_310.sh
+++ b/research/cv/PDarts/scripts/run_infer_310.sh
@@ -58,7 +58,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 preprocess.py --data_path=$dataset_path 
+    python preprocess.py --data_path=$dataset_path 
 }
 
 function compile_app()
@@ -85,7 +85,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 postprocess.py
+    python postprocess.py
 }
 
 preprocess_data
@@ -107,4 +107,4 @@ cal_acc
 if [ $? -ne 0 ]; then
     echo "calculate accuracy failed"
     exit 1
-fi
\ No newline at end of file
+fi
diff --git a/research/cv/PSPNet/scripts/run_infer_310.sh b/research/cv/PSPNet/scripts/run_infer_310.sh
index aedbfa629..aa850b517 100644
--- a/research/cv/PSPNet/scripts/run_infer_310.sh
+++ b/research/cv/PSPNet/scripts/run_infer_310.sh
@@ -52,7 +52,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 preprocess.py --config=$YAML_PATH --save_path=./preprocess_Result/ --data_path=$DATA_PATH &> preprocess.log
+    python preprocess.py --config=$YAML_PATH --save_path=./preprocess_Result/ --data_path=$DATA_PATH &> preprocess.log
 }
 
 function compile_app()
@@ -81,7 +81,7 @@ function postprocess_data()
         rm -rf ./postprocess_Result
     fi
     mkdir postprocess_Result
-    python3.7 postprocess.py --config=$YAML_PATH --data_path=$DATA_PATH &> postprocess.log
+    python postprocess.py --config=$YAML_PATH --data_path=$DATA_PATH &> postprocess.log
 }
 
 preprocess_data
diff --git a/research/cv/ProtoNet/scripts/run_infer_310.sh b/research/cv/ProtoNet/scripts/run_infer_310.sh
index fcc681ebc..85011fb6f 100644
--- a/research/cv/ProtoNet/scripts/run_infer_310.sh
+++ b/research/cv/ProtoNet/scripts/run_infer_310.sh
@@ -87,7 +87,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_path=./result_Files/ --label_classses_path=$label_classes_path &> acc.log &
+    python ../postprocess.py --result_path=./result_Files/ --label_classses_path=$label_classes_path &> acc.log &
 }
 
 
diff --git a/research/cv/SPPNet/ascend310_infer/src/build.sh b/research/cv/SPPNet/ascend310_infer/src/build.sh
index 7fac9cff3..724c787b3 100644
--- a/research/cv/SPPNet/ascend310_infer/src/build.sh
+++ b/research/cv/SPPNet/ascend310_infer/src/build.sh
@@ -14,5 +14,5 @@
 # limitations under the License.
 # ============================================================================
 
-cmake . -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+cmake . -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
\ No newline at end of file
diff --git a/research/cv/SPPNet/scripts/run_infer_310.sh b/research/cv/SPPNet/scripts/run_infer_310.sh
index 4d1b7adfd..f77e02452 100644
--- a/research/cv/SPPNet/scripts/run_infer_310.sh
+++ b/research/cv/SPPNet/scripts/run_infer_310.sh
@@ -79,8 +79,8 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../create_imagenet2012_label.py  --img_path=$data_path
-    python3.7 ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
+    python ../create_imagenet2012_label.py  --img_path=$data_path
+    python ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/SRGAN/ascend310_infer/build.sh b/research/cv/SRGAN/ascend310_infer/build.sh
index 922df6cb4..a3afcf5a1 100644
--- a/research/cv/SRGAN/ascend310_infer/build.sh
+++ b/research/cv/SRGAN/ascend310_infer/build.sh
@@ -24,5 +24,5 @@ if [ -f "Makefile" ]; then
   make clean
 fi
 
-cmake ..  -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+cmake ..  -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/SRGAN/scripts/run_infer_310.sh b/research/cv/SRGAN/scripts/run_infer_310.sh
index 4f102e90e..9f1dd830c 100644
--- a/research/cv/SRGAN/scripts/run_infer_310.sh
+++ b/research/cv/SRGAN/scripts/run_infer_310.sh
@@ -69,7 +69,7 @@ function preprocess_data()
         rm -rf ./preprocess_path
     fi
     mkdir preprocess_path
-    python3.7 ../preprocess.py --test_LR_path=$test_LR_path --test_GT_path=$test_GT_path  --result_path=./preprocess_path/
+    python ../preprocess.py --test_LR_path=$test_LR_path --test_GT_path=$test_GT_path  --result_path=./preprocess_path/
 }
 
 function compile_app()
@@ -100,7 +100,7 @@ function cal_acc()
         rm -rf ./infer_output
     fi
     mkdir infer_output
-    python3.7 ../postprocess.py --test_LR_path=$test_LR_path --test_GT_path=$test_GT_path --device_id=$device_id &> acc.log
+    python ../postprocess.py --test_LR_path=$test_LR_path --test_GT_path=$test_GT_path --device_id=$device_id &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/STGAN/ascend310_infer/build.sh b/research/cv/STGAN/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/STGAN/ascend310_infer/build.sh
+++ b/research/cv/STGAN/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/SiamFC/ascend310_infer/build.sh b/research/cv/SiamFC/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/SiamFC/ascend310_infer/build.sh
+++ b/research/cv/SiamFC/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/SinGAN/scripts/run_infer_310.sh b/research/cv/SinGAN/scripts/run_infer_310.sh
index c2280b0e1..38bc4646f 100644
--- a/research/cv/SinGAN/scripts/run_infer_310.sh
+++ b/research/cv/SinGAN/scripts/run_infer_310.sh
@@ -65,7 +65,7 @@ do
        rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ./preprocess.py --output_path='./preprocess_Result/' --input_path='./postprocess_Result/' \
+    python ./preprocess.py --output_path='./preprocess_Result/' --input_path='./postprocess_Result/' \
                                 --input_dir=$input_dir --input_name=$input_name --scale_num=$i --noise_amp_path=$noise_amp_dir
 
     if [ $? -ne 0 ]; then
@@ -104,7 +104,7 @@ do
        rm -rf ./postprocess_Result
     fi
     mkdir postprocess_Result
-    python3.7 ./postprocess.py --output_path='./postprocess_Result/' --input_dir=$input_dir \
+    python ./postprocess.py --output_path='./postprocess_Result/' --input_dir=$input_dir \
                                 --input_name=$input_name --scale_num=$i
     if [ $? -ne 0 ]; then
         echo "scale $i: execute post_process failed"
diff --git a/research/cv/StarGAN/ascend310_infer/src/build.sh b/research/cv/StarGAN/ascend310_infer/src/build.sh
index 7fac9cff3..724c787b3 100644
--- a/research/cv/StarGAN/ascend310_infer/src/build.sh
+++ b/research/cv/StarGAN/ascend310_infer/src/build.sh
@@ -14,5 +14,5 @@
 # limitations under the License.
 # ============================================================================
 
-cmake . -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+cmake . -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
\ No newline at end of file
diff --git a/research/cv/StarGAN/scripts/run_infer_310.sh b/research/cv/StarGAN/scripts/run_infer_310.sh
index e0b9459cc..cc7ae1ac8 100644
--- a/research/cv/StarGAN/scripts/run_infer_310.sh
+++ b/research/cv/StarGAN/scripts/run_infer_310.sh
@@ -65,7 +65,7 @@ function preprocess_data()
     fi
     mkdir bin_data
     cd $scripts_path
-    python3.7 ../preprocess.py --celeba_image_dir=$data_path"/img_celeba" --attr_path=$data_path"/list_attr_celeba.txt" &> preprocess.log
+    python ../preprocess.py --celeba_image_dir=$data_path"/img_celeba" --attr_path=$data_path"/list_attr_celeba.txt" &> preprocess.log
 }
 
 function compile_app()
@@ -96,7 +96,7 @@ function infer()
 function postprocess()
 {
     cd $scripts_path
-    python3.7 ../postprocess.py --result_path='./result_Files' --ori_path="../bin_data/img_data" --save_path='../save_images_result' &> postprocess.log
+    python ../postprocess.py --result_path='./result_Files' --ori_path="../bin_data/img_data" --save_path='../save_images_result' &> postprocess.log
 }
 
 preprocess_data
diff --git a/research/cv/TCN/scripts/run_infer_310.sh b/research/cv/TCN/scripts/run_infer_310.sh
index 0dec181d2..43bea9601 100644
--- a/research/cv/TCN/scripts/run_infer_310.sh
+++ b/research/cv/TCN/scripts/run_infer_310.sh
@@ -114,7 +114,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --dataset_name=$dataset_name --result_path=./result_Files --label_path=./preprocess_Result/label &> acc.log
+    python ../postprocess.py --dataset_name=$dataset_name --result_path=./result_Files --label_path=./preprocess_Result/label &> acc.log
     
 }
 
diff --git a/research/cv/U-GAT-IT/scripts/run_infer_310.sh b/research/cv/U-GAT-IT/scripts/run_infer_310.sh
index e7d3abad2..869f7a448 100644
--- a/research/cv/U-GAT-IT/scripts/run_infer_310.sh
+++ b/research/cv/U-GAT-IT/scripts/run_infer_310.sh
@@ -83,7 +83,7 @@ function generate_img()
         rm -rf ./infer_output_img
     fi
     mkdir infer_output_img
-    python3.7 postprocess.py  --bifile_outputdir=./result_Files --eval_outputdir=./infer_output_img --device_id=$device_id &> acc.log
+    python postprocess.py  --bifile_outputdir=./result_Files --eval_outputdir=./infer_output_img --device_id=$device_id &> acc.log
 }
 
 compile_app
diff --git a/research/cv/VehicleNet/script/run_infer_310.sh b/research/cv/VehicleNet/script/run_infer_310.sh
index f5196eb77..c6d78898a 100644
--- a/research/cv/VehicleNet/script/run_infer_310.sh
+++ b/research/cv/VehicleNet/script/run_infer_310.sh
@@ -73,7 +73,7 @@ function preprocess()
     mkdir test
     mkdir query
     cd ../scripts
-    python3.7 ../preprocess.py --test_bin_path $test_bin_path --query_bin_path $query_bin_path --test_path $input1_path --query_path $input2_path
+    python ../preprocess.py --test_bin_path $test_bin_path --query_bin_path $query_bin_path --test_path $input1_path --query_path $input2_path
 }
 
 function compile_app()
@@ -113,7 +113,7 @@ function query_infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --test_label $test_label --query_label $query_label --test_out_path $test_out_path --query_out_path $query_out_path &> acc.log
+    python ../postprocess.py --test_label $test_label --query_label $query_label --test_out_path $test_out_path --query_out_path $query_out_path &> acc.log
 }
 
 preprocess
diff --git a/research/cv/arcface/ascend_310_infer/build.sh b/research/cv/arcface/ascend_310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/arcface/ascend_310_infer/build.sh
+++ b/research/cv/arcface/ascend_310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/arcface/scripts/run_310_infer.sh b/research/cv/arcface/scripts/run_310_infer.sh
index 62677c2f0..4b80d4af6 100644
--- a/research/cv/arcface/scripts/run_310_infer.sh
+++ b/research/cv/arcface/scripts/run_310_infer.sh
@@ -81,7 +81,7 @@ function preprocess_data()
         rm -rf ./label
     fi
     mkdir label
-    python3.7 ../preprocess.py --dataset_path=$dataset_path --result_dir=./preprocess_Result/ --label_dir=./label/
+    python ../preprocess.py --dataset_path=$dataset_path --result_dir=./preprocess_Result/ --label_dir=./label/
 }
 
 function compile_app()
@@ -108,7 +108,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --data_set=$dataset_path --result_dir=./result_Files --label_dir=./label/issame_list.npy &> acc.log
+    python ../postprocess.py --data_set=$dataset_path --result_dir=./result_Files --label_dir=./label/issame_list.npy &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/centernet_resnet50_v1/ascend310_infer/build.sh b/research/cv/centernet_resnet50_v1/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/centernet_resnet50_v1/ascend310_infer/build.sh
+++ b/research/cv/centernet_resnet50_v1/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/centernet_resnet50_v1/scripts/run_infer_310.sh b/research/cv/centernet_resnet50_v1/scripts/run_infer_310.sh
index 272c9f9eb..25f6c4b4a 100644
--- a/research/cv/centernet_resnet50_v1/scripts/run_infer_310.sh
+++ b/research/cv/centernet_resnet50_v1/scripts/run_infer_310.sh
@@ -69,7 +69,7 @@ function preprocess_data()
         rm -rf ./preprocess
     fi
     mkdir preprocess
-    python3.7 ../preprocess.py  --val_data_dir=$dataset_path --predict_dir=./preprocess/ >& preprocess.log
+    python ../preprocess.py  --val_data_dir=$dataset_path --predict_dir=./preprocess/ >& preprocess.log
 }
 
 function compile_app()
@@ -119,7 +119,7 @@ function cal_ap()
         rm -rf ./acc
     fi
     mkdir acc
-    python3.7 ../postprocess.py  --result_path=./result_Files --label_path=$dataset_path/annotations/instances_val2017.json --meta_path=./preprocess/meta --save_path=./acc &> acc.log
+    python ../postprocess.py  --result_path=./result_Files --label_path=$dataset_path/annotations/instances_val2017.json --meta_path=./preprocess/meta --save_path=./acc &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/dcgan/scripts/run_infer_310.sh b/research/cv/dcgan/scripts/run_infer_310.sh
index 867de4259..f807c50f6 100644
--- a/research/cv/dcgan/scripts/run_infer_310.sh
+++ b/research/cv/dcgan/scripts/run_infer_310.sh
@@ -64,7 +64,7 @@ function preprocess_data()
        rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --data_path=$dataset_path
+    python ../preprocess.py --data_path=$dataset_path
 }
 function compile_app()
 {
diff --git a/research/cv/deeplabv3plus/ascend310_infer/build.sh b/research/cv/deeplabv3plus/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/deeplabv3plus/ascend310_infer/build.sh
+++ b/research/cv/deeplabv3plus/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/deeplabv3plus/scripts/run_infer_310.sh b/research/cv/deeplabv3plus/scripts/run_infer_310.sh
index a32317436..d7181137f 100644
--- a/research/cv/deeplabv3plus/scripts/run_infer_310.sh
+++ b/research/cv/deeplabv3plus/scripts/run_infer_310.sh
@@ -81,7 +81,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --data_root=$data_root --data_lst=$data_list_path --scales=1.0 --result_path=./result_Files &> acc.log &
+    python ../postprocess.py --data_root=$data_root --data_lst=$data_list_path --scales=1.0 --result_path=./result_Files &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/efficientnet-b0/ascend310_infer/build.sh b/research/cv/efficientnet-b0/ascend310_infer/build.sh
index 265486af9..32ff98d8f 100644
--- a/research/cv/efficientnet-b0/ascend310_infer/build.sh
+++ b/research/cv/efficientnet-b0/ascend310_infer/build.sh
@@ -26,5 +26,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/efficientnet-b0/scripts/run_infer_310.sh b/research/cv/efficientnet-b0/scripts/run_infer_310.sh
index fce5467eb..969551e2b 100644
--- a/research/cv/efficientnet-b0/scripts/run_infer_310.sh
+++ b/research/cv/efficientnet-b0/scripts/run_infer_310.sh
@@ -76,8 +76,8 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../create_imagenet2012_label.py  --img_path=$data_path
-    python3.7 ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
+    python ../create_imagenet2012_label.py  --img_path=$data_path
+    python ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/efficientnet-b2/ascend310_infer/build.sh b/research/cv/efficientnet-b2/ascend310_infer/build.sh
index 265486af9..32ff98d8f 100644
--- a/research/cv/efficientnet-b2/ascend310_infer/build.sh
+++ b/research/cv/efficientnet-b2/ascend310_infer/build.sh
@@ -26,5 +26,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/efficientnet-b2/scripts/run_infer_310.sh b/research/cv/efficientnet-b2/scripts/run_infer_310.sh
index fce5467eb..969551e2b 100644
--- a/research/cv/efficientnet-b2/scripts/run_infer_310.sh
+++ b/research/cv/efficientnet-b2/scripts/run_infer_310.sh
@@ -76,8 +76,8 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../create_imagenet2012_label.py  --img_path=$data_path
-    python3.7 ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
+    python ../create_imagenet2012_label.py  --img_path=$data_path
+    python ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/efficientnet-b3/ascend310_infer/build.sh b/research/cv/efficientnet-b3/ascend310_infer/build.sh
index 265486af9..32ff98d8f 100644
--- a/research/cv/efficientnet-b3/ascend310_infer/build.sh
+++ b/research/cv/efficientnet-b3/ascend310_infer/build.sh
@@ -26,5 +26,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/efficientnet-b3/scripts/run_infer_310.sh b/research/cv/efficientnet-b3/scripts/run_infer_310.sh
index fce5467eb..969551e2b 100644
--- a/research/cv/efficientnet-b3/scripts/run_infer_310.sh
+++ b/research/cv/efficientnet-b3/scripts/run_infer_310.sh
@@ -76,8 +76,8 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../create_imagenet2012_label.py  --img_path=$data_path
-    python3.7 ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
+    python ../create_imagenet2012_label.py  --img_path=$data_path
+    python ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/ibnnet/ascend310_infer/build.sh b/research/cv/ibnnet/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/ibnnet/ascend310_infer/build.sh
+++ b/research/cv/ibnnet/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/ibnnet/scripts/run_310_infer.sh b/research/cv/ibnnet/scripts/run_310_infer.sh
index db8af43d8..8a09ee6e1 100644
--- a/research/cv/ibnnet/scripts/run_310_infer.sh
+++ b/research/cv/ibnnet/scripts/run_310_infer.sh
@@ -71,7 +71,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path 
+    python ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path 
 }
 
 function compile_app()
@@ -98,7 +98,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --dataset_name=$dataset_name  &> acc.log
+    python ../postprocess.py --dataset_name=$dataset_name  &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/midas/ascend310_infer/build.sh b/research/cv/midas/ascend310_infer/build.sh
index 6e47332f0..2fc704465 100644
--- a/research/cv/midas/ascend310_infer/build.sh
+++ b/research/cv/midas/ascend310_infer/build.sh
@@ -13,5 +13,5 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 # ============================================================================
-cmake . -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+cmake . -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/mobilenetV3_small_x1_0/ascend310_infer/build.sh b/research/cv/mobilenetV3_small_x1_0/ascend310_infer/build.sh
index 265486af9..32ff98d8f 100644
--- a/research/cv/mobilenetV3_small_x1_0/ascend310_infer/build.sh
+++ b/research/cv/mobilenetV3_small_x1_0/ascend310_infer/build.sh
@@ -26,5 +26,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/mobilenetV3_small_x1_0/scripts/run_infer_310.sh b/research/cv/mobilenetV3_small_x1_0/scripts/run_infer_310.sh
index fce5467eb..969551e2b 100644
--- a/research/cv/mobilenetV3_small_x1_0/scripts/run_infer_310.sh
+++ b/research/cv/mobilenetV3_small_x1_0/scripts/run_infer_310.sh
@@ -76,8 +76,8 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../create_imagenet2012_label.py  --img_path=$data_path
-    python3.7 ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
+    python ../create_imagenet2012_label.py  --img_path=$data_path
+    python ../postprocess.py --result_path=./result_Files --label_path=./imagenet_label.json  &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/mobilenetv3_large/ascend310_infer/build.sh b/research/cv/mobilenetv3_large/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/mobilenetv3_large/ascend310_infer/build.sh
+++ b/research/cv/mobilenetv3_large/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/mobilenetv3_large/scripts/run_infer_310.sh b/research/cv/mobilenetv3_large/scripts/run_infer_310.sh
index 7ed961a31..2ddcfe931 100755
--- a/research/cv/mobilenetv3_large/scripts/run_infer_310.sh
+++ b/research/cv/mobilenetv3_large/scripts/run_infer_310.sh
@@ -53,7 +53,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path
+    python ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path
 }
 
 function compile_app()
@@ -79,7 +79,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --dataset_name=$dataset_name  &> acc.log
+    python ../postprocess.py --dataset_name=$dataset_name  &> acc.log
 }
 
 preprocess_data
diff --git a/research/cv/nas-fpn/scripts/run_infer_310.sh b/research/cv/nas-fpn/scripts/run_infer_310.sh
index ec137b452..d2e012d07 100644
--- a/research/cv/nas-fpn/scripts/run_infer_310.sh
+++ b/research/cv/nas-fpn/scripts/run_infer_310.sh
@@ -79,7 +79,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_path=result_Files --dataset_path=$data_path --anno_path=$anno_path &> acc.log
+    python ../postprocess.py --result_path=result_Files --dataset_path=$data_path --anno_path=$anno_path &> acc.log
 }
 
 compile_app
diff --git a/research/cv/ntsnet/scripts/run_infer_310.sh b/research/cv/ntsnet/scripts/run_infer_310.sh
index 6600d79ef..ed328a8d1 100644
--- a/research/cv/ntsnet/scripts/run_infer_310.sh
+++ b/research/cv/ntsnet/scripts/run_infer_310.sh
@@ -55,7 +55,7 @@ function preprocess_data()
        rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --data_path=$dataset_path --result_path=./preprocess_Result/
+    python ../preprocess.py --data_path=$dataset_path --result_path=./preprocess_Result/
 }
 function compile_app()
 {
@@ -79,7 +79,7 @@ function infer()
 function cal_acc()
 {
 
-    python3.7 ../postprocess.py --result_dir=./result_Files --label_dir=./preprocess_Result/label.json   &> acc.log
+    python ../postprocess.py --result_dir=./result_Files --label_dir=./preprocess_Result/label.json   &> acc.log
 
 }
 preprocess_data
diff --git a/research/cv/pnasnet/scripts/run_infer_310.sh b/research/cv/pnasnet/scripts/run_infer_310.sh
index 7434df920..4dbd64692 100644
--- a/research/cv/pnasnet/scripts/run_infer_310.sh
+++ b/research/cv/pnasnet/scripts/run_infer_310.sh
@@ -77,7 +77,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path & #--result_path=./preprocess_Result/
+    python ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path & #--result_path=./preprocess_Result/
 }
 
 function compile_app()
@@ -103,7 +103,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --dataset_name=$dataset_name  &> acc.log
+    python ../postprocess.py --dataset_name=$dataset_name  &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/proxylessnas/scripts/run_infer_310.sh b/research/cv/proxylessnas/scripts/run_infer_310.sh
index 7434df920..4dbd64692 100644
--- a/research/cv/proxylessnas/scripts/run_infer_310.sh
+++ b/research/cv/proxylessnas/scripts/run_infer_310.sh
@@ -77,7 +77,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path & #--result_path=./preprocess_Result/
+    python ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path & #--result_path=./preprocess_Result/
 }
 
 function compile_app()
@@ -103,7 +103,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --dataset_name=$dataset_name  &> acc.log
+    python ../postprocess.py --dataset_name=$dataset_name  &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/relationnet/scripts/run_infer_310.sh b/research/cv/relationnet/scripts/run_infer_310.sh
index 227cf7319..2c73f97bc 100644
--- a/research/cv/relationnet/scripts/run_infer_310.sh
+++ b/research/cv/relationnet/scripts/run_infer_310.sh
@@ -30,7 +30,7 @@ fi
 function prepocess()
 {
     cd ..
-    python3 preprocess.py
+    python preprocess.py
     
 }
 function compile_app()
@@ -66,7 +66,7 @@ function infer()
 function cal_acc()
 {
     cd 。。、
-    python3 postprocess.py
+    python postprocess.py
     if [ $? -ne 0 ]; then
         echo "calculate accuracy failed"
         exit 1
diff --git a/research/cv/resnet3d/ascend310_infer/build.sh b/research/cv/resnet3d/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/resnet3d/ascend310_infer/build.sh
+++ b/research/cv/resnet3d/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/resnet3d/scripts/run_infer_310.sh b/research/cv/resnet3d/scripts/run_infer_310.sh
index 607bf9953..1459faef4 100644
--- a/research/cv/resnet3d/scripts/run_infer_310.sh
+++ b/research/cv/resnet3d/scripts/run_infer_310.sh
@@ -73,7 +73,7 @@ function pre_process_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --config_path ../${dataset}_config.yaml --video_path $video_path --annotation_path \
+    python ../preprocess.py --config_path ../${dataset}_config.yaml --video_path $video_path --annotation_path \
     $annotation_path --batch_size=1
 }
 
@@ -102,7 +102,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --config_path ../${dataset}_config.yaml --annotation_path $annotation_path &> acc.log &
+    python ../postprocess.py --config_path ../${dataset}_config.yaml --annotation_path $annotation_path &> acc.log &
 }
 
 if [ $need_preprocess == 'y' ]; then
diff --git a/research/cv/resnetv2_50_frn/scripts/run_infer_310.sh b/research/cv/resnetv2_50_frn/scripts/run_infer_310.sh
index 57d583861..555b6392b 100644
--- a/research/cv/resnetv2_50_frn/scripts/run_infer_310.sh
+++ b/research/cv/resnetv2_50_frn/scripts/run_infer_310.sh
@@ -91,7 +91,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path  & #--result_path=./preprocess_Result/
+    python ../preprocess.py --dataset_name=$dataset_name --data_path=$dataset_path  & #--result_path=./preprocess_Result/
 }
 
 function compile_app()
@@ -117,7 +117,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --dataset_name=$dataset_name  &> acc.log
+    python ../postprocess.py --dataset_name=$dataset_name  &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/siamRPN/ascend_310_infer/build.sh b/research/cv/siamRPN/ascend_310_infer/build.sh
index 9765335cb..3a30e3ec7 100644
--- a/research/cv/siamRPN/ascend_310_infer/build.sh
+++ b/research/cv/siamRPN/ascend_310_infer/build.sh
@@ -13,6 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 # ============================================================================
-cmake . -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+cmake . -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
 
diff --git a/research/cv/siamRPN/scripts/run_infer_310.sh b/research/cv/siamRPN/scripts/run_infer_310.sh
index eaca26e18..21c721d33 100644
--- a/research/cv/siamRPN/scripts/run_infer_310.sh
+++ b/research/cv/siamRPN/scripts/run_infer_310.sh
@@ -73,7 +73,7 @@ function compile_app()
 }
 function generate_config()
 {
-  python3.7 ../preprocess.py
+  python ../preprocess.py
   if [ $? -ne 0 ]; then
         echo "preprocess failed"
         exit 1
@@ -102,7 +102,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --dataset=$data_path/$dataset_name --predict_dataset=./result_Files/$dataset_name &> acc.log
+    python ../postprocess.py --dataset=$data_path/$dataset_name --predict_dataset=./result_Files/$dataset_name &> acc.log
     if [ $? -ne 0 ]; then
         echo "calculate accuracy failed"
         exit 1
diff --git a/research/cv/simple_baselines/ascend310_infer/build.sh b/research/cv/simple_baselines/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/simple_baselines/ascend310_infer/build.sh
+++ b/research/cv/simple_baselines/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/simple_baselines/scripts/run_infer_310.sh b/research/cv/simple_baselines/scripts/run_infer_310.sh
index 52e3d28b0..f1f2e81f2 100644
--- a/research/cv/simple_baselines/scripts/run_infer_310.sh
+++ b/research/cv/simple_baselines/scripts/run_infer_310.sh
@@ -67,7 +67,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py
+    python ../preprocess.py
 }
 
 function compile_app()
@@ -94,7 +94,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py &> acc.log
+    python ../postprocess.py &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/sknet/ascend310_infer/build.sh b/research/cv/sknet/ascend310_infer/build.sh
index 922df6cb4..a3afcf5a1 100644
--- a/research/cv/sknet/ascend310_infer/build.sh
+++ b/research/cv/sknet/ascend310_infer/build.sh
@@ -24,5 +24,5 @@ if [ -f "Makefile" ]; then
   make clean
 fi
 
-cmake ..  -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+cmake ..  -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/sknet/scripts/run_infer_310.sh b/research/cv/sknet/scripts/run_infer_310.sh
index f642c8797..b72083ef1 100644
--- a/research/cv/sknet/scripts/run_infer_310.sh
+++ b/research/cv/sknet/scripts/run_infer_310.sh
@@ -90,7 +90,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --data_path=$dataset_path #--result_path=./preprocess_Result/
+    python ../preprocess.py --data_path=$dataset_path #--result_path=./preprocess_Result/
 }
 
 function compile_app()
@@ -116,7 +116,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py  &> acc.log
+    python ../postprocess.py  &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/cv/ssd_inceptionv2/scripts/run_infer_310.sh b/research/cv/ssd_inceptionv2/scripts/run_infer_310.sh
index 4c60561d7..903e46b1c 100644
--- a/research/cv/ssd_inceptionv2/scripts/run_infer_310.sh
+++ b/research/cv/ssd_inceptionv2/scripts/run_infer_310.sh
@@ -89,7 +89,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_path=./result_Files --img_path=$data_path --anno_file=$anno --drop &> acc.log &
+    python ../postprocess.py --result_path=./result_Files --img_path=$data_path --anno_file=$anno --drop &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/ssd_resnet34/ascend310_infer/build.sh b/research/cv/ssd_resnet34/ascend310_infer/build.sh
index d8ea19ff8..c7aac7196 100644
--- a/research/cv/ssd_resnet34/ascend310_infer/build.sh
+++ b/research/cv/ssd_resnet34/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
\ No newline at end of file
diff --git a/research/cv/ssd_resnet34/scripts/run_infer_310.sh b/research/cv/ssd_resnet34/scripts/run_infer_310.sh
index 1b08cd267..cf4dea993 100644
--- a/research/cv/ssd_resnet34/scripts/run_infer_310.sh
+++ b/research/cv/ssd_resnet34/scripts/run_infer_310.sh
@@ -89,7 +89,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_path=./result_Files --img_path=$data_path --anno_file=$anno --drop &> acc.log &
+    python ../postprocess.py --result_path=./result_Files --img_path=$data_path --anno_file=$anno --drop &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/stpm/scripts/run_infer_310.sh b/research/cv/stpm/scripts/run_infer_310.sh
index 022225bdb..4de4cd648 100644
--- a/research/cv/stpm/scripts/run_infer_310.sh
+++ b/research/cv/stpm/scripts/run_infer_310.sh
@@ -71,7 +71,7 @@ function preprocess_data() {
     mkdir ./img/$category
     mkdir ./img/$category/label
 
-    python3.7 ../preprocess.py \
+    python ../preprocess.py \
     --data_dir $dataset_path \
     --img_dir ./img/$category \
     --category $category
@@ -103,7 +103,7 @@ function infer() {
 }
 
 function cal_acc() {
-    python3 ../postprocess.py \
+    python ../postprocess.py \
         --result_dir ./img/$category/result/ \
         --data_dir $dataset_path \
         --label_dir ./img/$category/label/ \
diff --git a/research/cv/swin_transformer/ascend310_infer/build.sh b/research/cv/swin_transformer/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/swin_transformer/ascend310_infer/build.sh
+++ b/research/cv/swin_transformer/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/tall/ascend310_infer/build.sh b/research/cv/tall/ascend310_infer/build.sh
index a65ce2176..163be8004 100644
--- a/research/cv/tall/ascend310_infer/build.sh
+++ b/research/cv/tall/ascend310_infer/build.sh
@@ -25,6 +25,6 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
 
diff --git a/research/cv/textfusenet/scripts/run_infer_310.sh b/research/cv/textfusenet/scripts/run_infer_310.sh
index dc86364e0..d8c21b8da 100755
--- a/research/cv/textfusenet/scripts/run_infer_310.sh
+++ b/research/cv/textfusenet/scripts/run_infer_310.sh
@@ -78,7 +78,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --ann_file=$ann_file --img_path=$data_path --result_path=./result_Files &> acc.log &
+    python ../postprocess.py --ann_file=$ann_file --img_path=$data_path --result_path=./result_Files &> acc.log &
 }
 
 compile_app
diff --git a/research/cv/tsn/ascend310_infer/build.sh b/research/cv/tsn/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/cv/tsn/ascend310_infer/build.sh
+++ b/research/cv/tsn/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/cv/tsn/scripts/run_infer_310.sh b/research/cv/tsn/scripts/run_infer_310.sh
index 17c424ad5..9fedcb166 100644
--- a/research/cv/tsn/scripts/run_infer_310.sh
+++ b/research/cv/tsn/scripts/run_infer_310.sh
@@ -119,7 +119,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --test_list=$test_list --modality=$modality --result_dir=./result_Files --label_dir=../ascend310_infer/preprocess_Result/label_ids.npy --save_scores=$score_name  &> acc.log
+    python ../postprocess.py --test_list=$test_list --modality=$modality --result_dir=./result_Files --label_dir=../ascend310_infer/preprocess_Result/label_ids.npy --save_scores=$score_name  &> acc.log
 }
 
 compile_app
diff --git a/research/cv/u2net/scripts/run_infer_310.sh b/research/cv/u2net/scripts/run_infer_310.sh
index 5aeb81266..354f71497 100644
--- a/research/cv/u2net/scripts/run_infer_310.sh
+++ b/research/cv/u2net/scripts/run_infer_310.sh
@@ -57,7 +57,7 @@ function preprocess_data()
        rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --content_path $content_path --output_path='./preprocess_Result/'
+    python ../preprocess.py --content_path $content_path --output_path='./preprocess_Result/'
 }
 function compile_app()
 {
@@ -86,12 +86,12 @@ function post_process()
        rm -rf ./postprocess_Result
     fi
     mkdir postprocess_Result
-    python3.7 ../postprocess.py --bin_path='./result_Files' --content_path $content_path --output_dir='./postprocess_Result/' &> postprocess.log
+    python ../postprocess.py --bin_path='./result_Files' --content_path $content_path --output_dir='./postprocess_Result/' &> postprocess.log
 }
 
 function evaluation()
 {
-    python3.7 ../eval.py --pred_dir='./postprocess_Result/' --label_dir $label_path &> evaluation.log
+    python ../eval.py --pred_dir='./postprocess_Result/' --label_dir $label_path &> evaluation.log
 }
 
 preprocess_data
diff --git a/research/cv/vit_base/scripts/run_infer_310.sh b/research/cv/vit_base/scripts/run_infer_310.sh
index ff2f79e20..b170aa1cc 100644
--- a/research/cv/vit_base/scripts/run_infer_310.sh
+++ b/research/cv/vit_base/scripts/run_infer_310.sh
@@ -81,7 +81,7 @@ function preprocess_data()
     fi
     mkdir preprocess_Result
 
-    python3.7 ../preprocess.py --data_path=$data_path #--output_path=./preprocess_Result
+    python ../preprocess.py --data_path=$data_path #--output_path=./preprocess_Result
 }
 
 function infer()
diff --git a/research/cv/wideresnet/scripts/run_infer_310.sh b/research/cv/wideresnet/scripts/run_infer_310.sh
index 2f4952d8f..016482b26 100755
--- a/research/cv/wideresnet/scripts/run_infer_310.sh
+++ b/research/cv/wideresnet/scripts/run_infer_310.sh
@@ -71,7 +71,7 @@ function preprocess_data()
     fi
     mkdir preprocess_Result
 
-    python3 ../preprocess.py --data_path="$data_path" --output_path=./preprocess_Result --device_id="$device_id" &> preprocess.log
+    python ../preprocess.py --data_path="$data_path" --output_path=./preprocess_Result --device_id="$device_id" &> preprocess.log
 }
 
 function infer()
diff --git a/research/gnn/dgcn/ascend310_infer/build.sh b/research/gnn/dgcn/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/gnn/dgcn/ascend310_infer/build.sh
+++ b/research/gnn/dgcn/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/gnn/dgcn/script/run_infer_310.sh b/research/gnn/dgcn/script/run_infer_310.sh
index 903e32c5d..021fa94f4 100644
--- a/research/gnn/dgcn/script/run_infer_310.sh
+++ b/research/gnn/dgcn/script/run_infer_310.sh
@@ -76,7 +76,7 @@ function preprocess_data()
         rm -rf ./preprocess_Result
     fi
     mkdir preprocess_Result
-    python3.7 ../preprocess.py --data_dir=$dataset_name --result_path=./preprocess_Result/
+    python ../preprocess.py --data_dir=$dataset_name --result_path=./preprocess_Result/
 }
 
 function compile_app()
@@ -103,7 +103,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_path=./result_Files --dataset_name=$dataset_name --label_path=./preprocess_Result/label_onehot.npy --mask_path=./preprocess_Result/test_mask.npy &> acc.log
+    python ../postprocess.py --result_path=./result_Files --dataset_name=$dataset_name --label_path=./preprocess_Result/label_onehot.npy --mask_path=./preprocess_Result/test_mask.npy &> acc.log
 }
 
 if [ $need_preprocess == "y" ]; then
diff --git a/research/gnn/sgcn/ascend310_infer/build.sh b/research/gnn/sgcn/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/gnn/sgcn/ascend310_infer/build.sh
+++ b/research/gnn/sgcn/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/nlp/albert/scripts/run_infer_310.sh b/research/nlp/albert/scripts/run_infer_310.sh
index aff9309a7..4dd2cedd4 100644
--- a/research/nlp/albert/scripts/run_infer_310.sh
+++ b/research/nlp/albert/scripts/run_infer_310.sh
@@ -90,7 +90,7 @@ function preprocess_data()
         rm -rf ./preprocess_result
     fi
     mkdir preprocess_result
-    python3.7 ../preprocess.py --eval_data_file_path=$eval_data_file_path --task_type=$task_type --result_path=./preprocess_result/ --eval_json_path=$eval_json_path --vocab_file_path=$vocab_file_path --spm_model_file=$spm_model_file
+    python ../preprocess.py --eval_data_file_path=$eval_data_file_path --task_type=$task_type --result_path=./preprocess_result/ --eval_json_path=$eval_json_path --vocab_file_path=$vocab_file_path --spm_model_file=$spm_model_file
 }
 
 function compile_app()
@@ -118,7 +118,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_dir=./result_files --task_type=$task_type \
+    python ../postprocess.py --result_dir=./result_files --task_type=$task_type \
     --label_dir=./preprocess_result/03_data --eval_data_file_path=$eval_data_file_path --eval_json_path=$eval_json_path \
     --input1_path=./preprocess_result/01_data &> acc.log
 }
diff --git a/research/nlp/atae_lstm/ascend310_infer/build.sh b/research/nlp/atae_lstm/ascend310_infer/build.sh
index d8ea19ff8..c7aac7196 100644
--- a/research/nlp/atae_lstm/ascend310_infer/build.sh
+++ b/research/nlp/atae_lstm/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
\ No newline at end of file
diff --git a/research/nlp/hypertext/ascend310_infer/build.sh b/research/nlp/hypertext/ascend310_infer/build.sh
index 285514e19..713d7f657 100644
--- a/research/nlp/hypertext/ascend310_infer/build.sh
+++ b/research/nlp/hypertext/ascend310_infer/build.sh
@@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then
 fi
 
 cmake .. \
-    -DMINDSPORE_PATH="`pip3.7 show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
+    -DMINDSPORE_PATH="`pip show mindspore-ascend | grep Location | awk '{print $2"/mindspore"}' | xargs realpath`"
 make
diff --git a/research/recommend/DIEN/scripts/run_infer_book_310.sh b/research/recommend/DIEN/scripts/run_infer_book_310.sh
index b7ee46040..928ab62bb 100644
--- a/research/recommend/DIEN/scripts/run_infer_book_310.sh
+++ b/research/recommend/DIEN/scripts/run_infer_book_310.sh
@@ -76,7 +76,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_path=./result_Files --target_path=$input_path/target --dataset_type=Books &> acc_book.log &
+    python ../postprocess.py --result_path=./result_Files --target_path=$input_path/target --dataset_type=Books &> acc_book.log &
 }
 
 compile_app
@@ -93,4 +93,4 @@ cal_acc
 if [ $? -ne 0 ]; then
     echo "calculate accuracy failed"
     exit 1
-fi
\ No newline at end of file
+fi
diff --git a/research/recommend/DIEN/scripts/run_infer_elec_310.sh b/research/recommend/DIEN/scripts/run_infer_elec_310.sh
index 022c12133..4a456209c 100644
--- a/research/recommend/DIEN/scripts/run_infer_elec_310.sh
+++ b/research/recommend/DIEN/scripts/run_infer_elec_310.sh
@@ -76,7 +76,7 @@ function infer()
 
 function cal_acc()
 {
-    python3.7 ../postprocess.py --result_path=./result_Files --target_path=$input_path/target --dataset_type=Electronics &> acc_elec.log &
+    python ../postprocess.py --result_path=./result_Files --target_path=$input_path/target --dataset_type=Electronics &> acc_elec.log &
 }
 
 compile_app
@@ -93,4 +93,4 @@ cal_acc
 if [ $? -ne 0 ]; then
     echo "calculate accuracy failed"
     exit 1
-fi
\ No newline at end of file
+fi
-- 
GitLab