[关闭]
@yanbo01haomiao 2019-03-24T01:17:49.000000Z 字数 812 阅读 524

环境配置记录

记录


安装Anaconda

考虑到与Tensorflow和pytorch的版本兼容问题,选择默认python3.6的版本,详细版本号:Anaconda3-5.2.0-Windows-x86_64.exe

创建虚拟环境
没有GPU直接放弃,直接在root环境下进行安装

root
1. tensorflow

配置远程仓库——码云

1 创建远程仓库,选择一个本地文件夹,右键 选择 “” GIT Bash here “” 进如 Git 界面
2 首次使用码云配置 输入

  1. git config --global user.email "you@example.com"
  2. git config --global user.name Your Name

3(对文件夹首次链接使用)对目标仓库克隆,输入

  1. git clone https://gitee.com/码云名字/项目名称.git

4 对当前目录进行初始化

  1. git init

5 更新本地存储库(首次链接不需要,但是以后使用需要先跟新本地,后同步码云)

  1. git pull 项目名 master --allow-unrelated-histories

注释 :master是项目的默认分支,
“–allow-unrelated-histories”,是为了防止git pull 失败 ,提示:fatal: refusing to merge unrelated histories(拒绝合并无关的历史)

6 将当前文件夹中的所有文件都提交

  1. git add .

7 对提交的动作进行说明

  1. git commit -m ‘说明内容’

8 连接远程仓库

  1. git remote add yyyy https://gitee.com/** **/****.git

9 update

  1. git push yyyy master

在pycharm与vscode中使用类似,都有基于git的支持,更加方便快捷

ADDA码云地址:https://gitee.com/yanbo01haomiao/adda

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注