2.4 执行安装
执行脚本./install_rel_2_6.sh 安装 NDK2.6,在安装过程中会有一些提示信息,需要用户确认。对应提示信息的确认指引如下(可能因为电脑环境不同而出现不一样的指引)。
●INSTALLER: Install the IMG NNVM NDK Tools in the above directory? [Y/n]
- 主要确认” INSTALLATION_DIR”路径是否正确,选择”Y”继续安装,选择”n”终止安装
●INSTALLER: Do you wish to use the existing version of Numpy? [y/N]
- 如检测到已安装 Numpy,则会让用户选择是否直接使用现有 Numpy 版本,选择”y”跳过 Numpy 安装。
●INSTALLER: Do you wish to use the existing version of scikit-image? [y/N]
- 如检测到已安装 scikit-image,则会让用户选择是否直接使用现有 scikit-image 版本,选择”y”跳过scikit-image 安装。
●INSTALLER: Do you wish to use the existing version of TensorFlow? [y/N]
- 如检测到已安装 TensorFlow,则会让用户选择是否直接使用现有 TensorFlow 版本,选择”y”跳过TensorFlow 安装,选择”N”安装 TensorFlow2.2 版本。
●INSTALLER: Do you wish to use the existing version of ONNX? [y/N]
- 如检测到已安装 ONNX,则会让用户选择是否直接使用现有 ONNX 版本,选择”y”跳过 ONNX 安装。
●INSTALLER: Do you wish to use the existing version of Pillow? [y/N]
- 如检测到已安装 Pillow,则会让用户选择是否直接使用现有 Pillow 版本,选择”y”跳过 Pillow 安装。
●INSTALLER: Do you wish to use the existing version of pathlib? [y/N]
- 如检测到已安装 pathlib,则会让用户选择是否直接使用现有 pathlib 版本,选择”y”跳过 pathlib 安装。
安装完成后,会执行基本功能验证,输出如下信息表示 NDK 安装成功,如有出现”FAILED”项,则 NDK安装有失败项,需要根据具体安装 Log 分析失败原因。