下载MNIST(使用GIT)

下载MNIST:

Tensorflow的代码仓库已经从 GoogleSource 迁移到了 Github,所以指南上提供的链接已经下载不了了。

克隆 TensorFlow 仓库:git clone [email protected]:tensorflow/tensorflow.git

下载完毕后进入tensorflow/examples/tutorials/mnist/目录,这里存放着MNIST的所有代码。

(from:https://keifergu.github.io/2016/11/22/tensorflow-learning-note/)


SSH连接配置:

由于出现以下warning,需要配置ssh

Warning: Permanently added 'github.com,52.74.223.119' (RSA) to the list of known hosts.

[email protected]: Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.


下载MNIST(使用GIT)_第1张图片

前提是新建好了一个库test-git

创建一个版本库非常简单,选择一个合适的地方,创建一个空目录:

在Git Bash中输入命令:

下载MNIST(使用GIT)_第2张图片
下载MNIST(使用GIT)_第3张图片

配置SSH连接:

下载MNIST(使用GIT)_第4张图片
下载MNIST(使用GIT)_第5张图片
下载MNIST(使用GIT)_第6张图片
下载MNIST(使用GIT)_第7张图片

key在id_rsa.pub里(id_rsa.pub如何查看:使用cd命令进入.ssh目录,再使用more id_rsa.pub命令查看公钥的内容)

下载MNIST(使用GIT)_第8张图片

然后克隆 TensorFlow 仓库:

git clone [email protected]:tensorflow/tensorflow.git


下载MNIST(使用GIT)_第9张图片
-- from:https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/0013743256916071d599b3aed534aaab22a0db6c4e07fd0000&http://www.linmuxi.com/2016/02/24/github-config-ssh/

你可能感兴趣的:(下载MNIST(使用GIT))