diff --git a/official/cv/octsqueeze/ascend310_infer/build.sh b/official/cv/octsqueeze/ascend310_infer/build.sh index f29bc3806a179a7bdda05df8eee78ae9a660c145..24c2168a310b97c87c2b9514858684f5e0a3c9ef 100644 --- a/official/cv/octsqueeze/ascend310_infer/build.sh +++ b/official/cv/octsqueeze/ascend310_infer/build.sh @@ -19,5 +19,5 @@ if [ ! -d builds ]; then fi cd builds || exit cmake .. \ - -DMINDSPORE_PATH="`pip3 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/DeepID/ascend310_infer/src/build.sh b/research/cv/DeepID/ascend310_infer/src/build.sh index f1945fe52b0924fe9826042de2f1b7c7f02ebe98..abcb999930ca5d62345b204d7fcfe4e097e8f0bb 100644 --- a/research/cv/DeepID/ascend310_infer/src/build.sh +++ b/research/cv/DeepID/ascend310_infer/src/build.sh @@ -14,5 +14,5 @@ # limitations under the License. # ============================================================================ -cmake . -DMINDSPORE_PATH="`pip3 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/E-NET/ascend310_infer/src/build.sh b/research/cv/E-NET/ascend310_infer/src/build.sh index 3ce73616587671628c4a603ede3113772186fa5c..afa87fa4f3e60ec00817f41b98b22724b87a304e 100644 --- a/research/cv/E-NET/ascend310_infer/src/build.sh +++ b/research/cv/E-NET/ascend310_infer/src/build.sh @@ -15,6 +15,6 @@ # ============================================================================ mkdir build cd build -cmake .. -DMINDSPORE_PATH="`pip3 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/research/cv/slowfast/ascend_310_infer/build.sh b/research/cv/slowfast/ascend_310_infer/build.sh index bb6551bf9b626eae593099ea6ca8985389150491..e429f3859b6cfd1f606608c9465ec90cecb20535 100644 --- a/research/cv/slowfast/ascend_310_infer/build.sh +++ b/research/cv/slowfast/ascend_310_infer/build.sh @@ -25,5 +25,5 @@ if [ -f "Makefile" ]; then fi cmake .. \ - -DMINDSPORE_PATH="`pip3 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/wideresnet/ascend310_infer/src/build.sh b/research/cv/wideresnet/ascend310_infer/src/build.sh index f1ebf69d755fd91972f13ecc86f8bd743e95d0fb..724c787b3646000019ded20c52854b2039cf295b 100644 --- a/research/cv/wideresnet/ascend310_infer/src/build.sh +++ b/research/cv/wideresnet/ascend310_infer/src/build.sh @@ -14,5 +14,5 @@ # limitations under the License. # ============================================================================ -cmake . -DMINDSPORE_PATH="`pip3 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