1,下载预训练权重失败
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-91-generic x86_64)
* Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Last login: Sat Jun 16 12:03:26 2018 from 119.29.22.146
aptcha/captcha.zipuntu:~$ wget http://tensorflow-1253902462.cosgz.myqcloud.com/c
--2018-06-16 12:10:53-- http://tensorflow-1253902462.cosgz.myqcloud.com/captcha/captcha.zip
Resolving tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.com)... 10.59.220.3, 10.59.220.4, 10.59.220.5, ...
Connecting to tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.com)|10.59.220.3|:80... connected.
HTTP request sent, awaiting response... 451 Unavailable For Legal Reasons
2018-06-16 12:10:53 ERROR 451: Unavailable For Legal Reasons.
ubuntu@VM-10-18-ubuntu:~$ unzip -q captcha.zip
unzip: cannot find or open captcha.zip, captcha.zip.zip or captcha.zip.ZIP.
aptcha/captcha.zipuntu:~$ wget http://tensorflow-1253902462.cosgz.myqcloud.com/c
--2018-06-16 12:13:21-- http://tensorflow-1253902462.cosgz.myqcloud.com/captcha/captcha.zip
Resolving tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.com)... 10.148.214.21, 10.148.214.22, 10.148.214.5, ...
Connecting to tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.com)|10.148.214.21|:80... connected.
HTTP request sent, awaiting response... 451 Unavailable For Legal Reasons
2018-06-16 12:13:21 ERROR 451: Unavailable For Legal Reasons.
ubuntu@VM-10-18-ubuntu:~$ unzip -q captcha.zip
unzip: cannot find or open captcha.zip, captcha.zip.zip or captcha.zip.ZIP.
ubuntu@VM-10-18-ubuntu:~$ 示例代码:
示例代码:: command not found
tcha.py,内容可参考:u:~$ 现在您可以在 /home/ubuntu 目录下创建源文件 predict_cap
现在您可以在: command not found
ubuntu@VM-10-18-ubuntu:~$ predict_captcha.py
predict_captcha.py: command not found
ubuntu@VM-10-18-ubuntu:~$ 然后执行:
然后执行:: command not found
ubuntu@VM-10-18-ubuntu:~$ cd /home/ubuntu;
ubuntu@VM-10-18-ubuntu:~$ python predict_captcha.py captcha/0hWn.jpg
Traceback (most recent call last):
File "predict_captcha.py", line 14, in <module>
gray_image = Image.open(sys.argv[1]).convert('L')
File "/home/ubuntu/lib/python3.5/site-packages/PIL/Image.py", line 2548, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'captcha/0hWn.jpg'
ubuntu@VM-10-18-ubuntu:~$ 执行结果:
执行结果:: command not found
ubuntu@VM-10-18-ubuntu:~$ 0hWn
0hWn: command not found
ubuntu@VM-10-18-ubuntu:~$ 完成实验
完成实验: command not found
ubuntu@VM-10-18-ubuntu:~$ 实验内容已完成
实验内容已完成: command not found
ubuntu@VM-10-18-ubuntu:~$ 您可进行更多关于机器学习教程:
您可进行更多关于机器学习教程:: command not found
ubuntu@VM-10-18-ubuntu:~$ 实验列表 - 机器学习
实验列表: command not found
ubuntu@VM-10-18-ubuntu:~$ 关于 TensorFlow 的更多资料可参考 TensorFlow 官网 。
关于: command not found
ubuntu@VM-10-18-ubuntu:~$
aptcha/captcha.zipuntu:~$ wget http://tensorflow-1253902462.cosgz.myqcloud.com/c
--2018-06-16 12:13:30-- http://tensorflow-1253902462.cosgz.myqcloud.com/captcha/captcha.zip
Resolving tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.com)... 10.59.222.140, 10.59.224.23, 10.59.224.24, ...
Connecting to tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.com)|10.59.222.140|:80... connected.
HTTP request sent, awaiting response... 451 Unavailable For Legal Reasons
2018-06-16 12:13:30 ERROR 451: Unavailable For Legal Reasons.
ubuntu@VM-10-18-ubuntu:~$ unzip -q captcha.zip
unzip: cannot find or open captcha.zip, captcha.zip.zip or captcha.zip.ZIP.
ubuntu@VM-10-18-ubuntu:~$ 示例代码:
示例代码:: command not found
tcha.py,内容可参考:u:~$ 现在您可以在 /home/ubuntu 目录下创建源文件 predict_cap
现在您可以在: command not found
ubuntu@VM-10-18-ubuntu:~$ predict_captcha.py
predict_captcha.py: command not found
ubuntu@VM-10-18-ubuntu:~$ 然后执行:
然后执行:: command not found
ubuntu@VM-10-18-ubuntu:~$ cd /home/ubuntu;
ubuntu@VM-10-18-ubuntu:~$ python predict_captcha.py captcha/0hWn.jpg
Traceback (most recent call last):
File "predict_captcha.py", line 14, in <module>
gray_image = Image.open(sys.argv[1]).convert('L')
File "/home/ubuntu/lib/python3.5/site-packages/PIL/Image.py", line 2548, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'captcha/0hWn.jpg'
ubuntu@VM-10-18-ubuntu:~$ 执行结果:
执行结果:: command not found
ubuntu@VM-10-18-ubuntu:~$ 0hWn
0hWn: command not found
ubuntu@VM-10-18-ubuntu:~$ 完成实验
完成实验: command not found
ubuntu@VM-10-18-ubuntu:~$ 实验内容已完成
实验内容已完成: command not found
aptcha/captcha.zipuntu:~$ wget http://tensorflow-1253902462.cosgz.myqcloud.com/c
--2018-06-16 12:13:46-- http://tensorflow-1253902462.cosgz.myqcloud.com/captcha/captcha.zip
Resolving tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.com)..
. 10.59.220.6, 10.59.222.139, 10.59.222.140, ...
Connecting to tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.co
m)|10.59.220.6|:80... connected.
HTTP request sent, awaiting response... 451 Unavailable For Legal Reasons
2018-06-16 12:13:46 ERROR 451: Unavailable For Legal Reasons.
ubuntu@VM-10-18-ubuntu:~$ unzip -q captcha.zip
unzip: cannot find or open captcha.zip, captcha.zip.zip or captcha.zip.ZIP.
ubuntu@VM-10-18-ubuntu:~$ 示例代码:
示例代码:: command not found
tcha.py,内容可参考:u:~$ 现在您可以在 /home/ubuntu 目录下创建源文件 predict_cap
现在您可以在: command not found
ubuntu@VM-10-18-ubuntu:~$ predict_captcha.py
predict_captcha.py: command not found
ubuntu@VM-10-18-ubuntu:~$ 然后执行:
然后执行:: command not found
ubuntu@VM-10-18-ubuntu:~$ cd /home/ubuntu;
ubuntu@VM-10-18-ubuntu:~$ python predict_captcha.py captcha/0hWn.jpg
Traceback (most recent call last):
File "predict_captcha.py", line 14, in <module>
gray_image = Image.open(sys.argv[1]).convert('L')
File "/home/ubuntu/lib/python3.5/site-packages/PIL/Image.py", line 2548, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'captcha/0hWn.jpg'
ubuntu@VM-10-18-ubuntu:~$ 执行结果:
执行结果:: command not found
ubuntu@VM-10-18-ubuntu:~$ 0hWn
0hWn: command not found
ubuntu@VM-10-18-ubuntu:~$ 完成实验
完成实验: command not found
ubuntu@VM-10-18-ubuntu:~$ 实验内容已完成
实验内容已完成: command not found
aptcha/captcha.zipuntu:~$ wget http://tensorflow-1253902462.cosgz.myqcloud.com/c
--2018-06-16 12:14:04-- http://tensorflow-1253902462.cosgz.myqcloud.com/captcha/captcha.zip
Resolving tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.com)..
. 10.148.214.14, 10.148.214.21, 10.148.214.22, ...
Connecting to tensorflow-1253902462.cosgz.myqcloud.com (tensorflow-1253902462.cosgz.myqcloud.co
m)|10.148.214.14|:80... connected.
HTTP request sent, awaiting response... 451 Unavailable For Legal Reasons
2018-06-16 12:14:04 ERROR 451: Unavailable For Legal Reasons.
ubuntu@VM-10-18-ubuntu:~$ unzip -q captcha.zip
unzip: cannot find or open captcha.zip, captcha.zip.zip or captcha.zip.ZIP.
ubuntu@VM-10-18-ubuntu:~$
2,下载测试数据失败
ubuntu@VM-10-18-ubuntu:~$ unzip -q captcha.zip
unzip: cannot find or open captcha.zip, captcha.zip.zip or captcha.zip.ZIP.
ubuntu@VM-10-18-ubuntu:~$