提交 3ba4d543 编写于 作者: L LDOUBLEV

python3.7 to

上级 e4a51f40
...@@ -34,7 +34,7 @@ ${python} -m pip install pynvml; ...@@ -34,7 +34,7 @@ ${python} -m pip install pynvml;
${python} -m pip install psutil; ${python} -m pip install psutil;
${python} -m pip install GPUtil; ${python} -m pip install GPUtil;
paddle_info="$(python3.7 -c "import paddle;print(f'paddle_version:{paddle.__version__}');print(f'paddle_commit:{paddle.__git_commit__}')")" paddle_info="$(${python} -c "import paddle;print(f'paddle_version:{paddle.__version__}');print(f'paddle_commit:{paddle.__git_commit__}')")"
echo -e "\033[33m $paddle_info \033[0m" | tee -a ${status_log} echo -e "\033[33m $paddle_info \033[0m" | tee -a ${status_log}
cpu_model=`cat /proc/cpuinfo | grep "model name" | awk -F ':' '{print $2}' | sort | uniq` cpu_model=`cat /proc/cpuinfo | grep "model name" | awk -F ':' '{print $2}' | sort | uniq`
echo -e "\033[33m cpu_info:$cpu_model \033[0m" | tee -a ${status_log} echo -e "\033[33m cpu_info:$cpu_model \033[0m" | tee -a ${status_log}
......
...@@ -75,7 +75,7 @@ ${python} -m pip install psutil; ...@@ -75,7 +75,7 @@ ${python} -m pip install psutil;
${python} -m pip install GPUtil; ${python} -m pip install GPUtil;
${python} -m pip install paddlesim==2.0.0 ${python} -m pip install paddlesim==2.0.0
paddle_info="$(python3.7 -c "import paddle;print(f'paddle_version:{paddle.__version__}');print(f'paddle_commit:{paddle.__git_commit__}')")" paddle_info="$(${python} -c "import paddle;print(f'paddle_version:{paddle.__version__}');print(f'paddle_commit:{paddle.__git_commit__}')")"
echo -e "\033[33m $paddle_info \033[0m" | tee -a ${status_log} echo -e "\033[33m $paddle_info \033[0m" | tee -a ${status_log}
cpu_model=`cat /proc/cpuinfo | grep "model name" | awk -F ':' '{print $2}' | sort | uniq` cpu_model=`cat /proc/cpuinfo | grep "model name" | awk -F ':' '{print $2}' | sort | uniq`
echo -e "\033[33m cpu_info:$cpu_model \033[0m" | tee -a ${status_log} echo -e "\033[33m cpu_info:$cpu_model \033[0m" | tee -a ${status_log}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册