NNOM训练环境搭建(Windows)

目录

一、安装Anaconda

二、安装nnom编译环境

1. 创建并激活虚拟环境

2. 统一安装所有安装包

三、编译NNOM


一、安装Anaconda

windows版本:Anaconda3-2019.10-Windows-x86_64.exe

勾选添加进系统环境变量,其他使用默认选项进行安装。

二、安装nnom编译环境

1. 创建并激活虚拟环境

打开Anaconda Prompt (Anaconda3),创建一个虚拟环境(注意指定python版本):

激活虚拟环境:

2. 统一安装所有安装包

新建文件requirements.txt,内容如下:

tensorflow-cpu==2.3.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

keras==2.3.1 -i https://pypi.tuna.tsinghua.edu.cn/simple

scipy==1.4.1 -i https://pypi.tuna.tsinghua.edu.cn/simple

numpy==1.17.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

matplotlib==3.1.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

tqdm==4.60.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

Pillow==8.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

h5py==2.10.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

scikit-learn -i https://pypi.tuna.tsinghua.edu.cn/simple

在虚拟环境下执行(注意requirements.txt所在的路径):

安装结束:

三、编译NNOM

开始训练:

结束:

相关推荐

  1. windowsElasticsearch环境

    2024-07-22 00:18:03       41 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-22 00:18:03       101 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-22 00:18:03       109 阅读
  3. 在Django里面运行非项目文件

    2024-07-22 00:18:03       87 阅读
  4. Python语言-面向对象

    2024-07-22 00:18:03       96 阅读

热门阅读

  1. 《C++并发编程实战》笔记(三)

    2024-07-22 00:18:03       24 阅读
  2. 决策树:简单而强大的机器学习算法

    2024-07-22 00:18:03       29 阅读
  3. 过拟合和欠拟合的解决办法

    2024-07-22 00:18:03       27 阅读
  4. mac电脑显示隐藏文件

    2024-07-22 00:18:03       27 阅读
  5. 十、继承

    2024-07-22 00:18:03       25 阅读
  6. Dubbo 的服务降级

    2024-07-22 00:18:03       22 阅读
  7. iOS 语言基础&初探 Xcode 工具

    2024-07-22 00:18:03       26 阅读
  8. python编程技巧——list计算

    2024-07-22 00:18:03       28 阅读
  9. C语言用顺序表实现二叉树

    2024-07-22 00:18:03       26 阅读
  10. AQS源码

    2024-07-22 00:18:03       26 阅读
  11. 嵌入式软件工作能力

    2024-07-22 00:18:03       23 阅读