Skip to content
Snippets Groups Projects
Commit 894ecb45 authored by GongLiyao's avatar GongLiyao
Browse files

changed the 'pip3' to 'pip' for Ascend310 inference scripts.

parent bbae380b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment