推荐使用的超级简单paddlepaddle机器学习入门

微笑折腾了大半天,最后发现自己只需要这样的一个环境jupyter:


新手真的不建议去手动编译什么的(国内的网络)硬是搞得残废了~~~~


大前提是你成功安装了docker容器(能够成功运行hello-world)


一、安装paddlepaddle/book docker镜像

houwenbin@houwenbin-GA-6UASL3:~$
houwenbin@houwenbin-GA-6UASL3:~$ docker run -p 8888:8888 paddlepaddle/book
Unable to find image 'paddlepaddle/book:latest' locally
latest: Pulling from paddlepaddle/book
d5c6f90da05d: Already exists 
bbbe761fcb56: Already exists 
7afa5ede606f: Already exists 
f6b7253b56f4: Already exists 
2b8db33536d4: Already exists 
493d753a2466: Pull complete 
dadb73e30a61: Pull complete 
1dbd4fb2d808: Pull complete 
f5d1619a17ab: Pull complete 
5d296564ad1e: Pull complete 
ab8dae01c202: Pull complete 
25f0b8a4662d: Pull complete 
1420185fb301: Pull complete 
29c3511cc1f3: Pull complete 
Digest: sha256:69800a75317f3bcc196a2a5ac7b6f0058f42e5280df04a7c4b225d5c18aff2ca
Status: Downloaded newer image for paddlepaddle/book:latest
[I 09:44:00.530 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[W 09:44:00.758 NotebookApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[I 09:44:00.764 NotebookApp] Serving notebooks from local directory: /book
[I 09:44:00.764 NotebookApp] 0 active kernels
[I 09:44:00.764 NotebookApp] The Jupyter Notebook is running at:
[I 09:44:00.764 NotebookApp] http://0.0.0.0:8888/
[I 09:44:00.765 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 10:00:54.113 NotebookApp] 302 GET / (10.12.13.51) 0.80ms
[W 10:00:54.796 NotebookApp] 404 GET /i18n/zh-CN/LC_MESSAGES/nbjs.json?v=20171213094400 (10.12.13.51) 12.76ms referer=http://10.12.13.54:8888/tree?
[W 10:00:54.799 NotebookApp] 404 GET /static/components/moment/locale/zh-cn.js?v=20171213094400 (10.12.13.51) 2.91ms referer=http://10.12.13.54:8888/tree?
[W 10:00:57.760 NotebookApp] 404 GET /i18n/zh-CN/LC_MESSAGES/nbjs.json?v=20171213094400 (10.12.13.51) 1.78ms referer=http://10.12.13.54:8888/tree/01.fit_a_line
[W 10:00:57.762 NotebookApp] 404 GET /static/components/moment/locale/zh-cn.js?v=20171213094400 (10.12.13.51) 1.98ms referer=http://10.12.13.54:8888/tree/01.fit_a_line
[I 10:01:05.361 NotebookApp] Writing notebook-signing key to /root/.local/share/jupyter/notebook_secret
[W 10:01:05.364 NotebookApp] Notebook 01.fit_a_line/README.cn.ipynb is not trusted
[W 10:01:05.392 NotebookApp] 404 GET /i18n/zh-CN/LC_MESSAGES/nbjs.json?v=20171213094400 (10.12.13.51) 1.53ms referer=http://10.12.13.54:8888/notebooks/01.fit_a_line/README.cn.ipynb
[W 10:01:05.396 NotebookApp] 404 GET /static/components/moment/locale/zh-cn.js?v=20171213094400 (10.12.13.51) 1.70ms referer=http://10.12.13.54:8888/notebooks/01.fit_a_line/README.cn.ipynb
[W 10:01:05.399 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20171213094400 (10.12.13.51) 1.73ms referer=http://10.12.13.54:8888/notebooks/01.fit_a_line/README.cn.ipynb
[I 10:01:06.100 NotebookApp] Kernel started: c48d745d-0936-472a-9109-932b55c0fa0f
[I 10:01:06.107 NotebookApp] 302 GET /notebooks/01.fit_a_line/image/train_and_test.png (10.12.13.51) 1.15ms
[I 10:01:06.108 NotebookApp] 302 GET /notebooks/01.fit_a_line/image/ranges.png (10.12.13.51) 1.09ms
[I 10:01:06.110 NotebookApp] 302 GET /notebooks/01.fit_a_line/image/predictions.png (10.12.13.51) 1.07ms
[I 10:01:06.724 NotebookApp] Adapting to protocol v5.1 for kernel c48d745d-0936-472a-9109-932b55c0fa0f
I1213 10:01:25.377439    15 Util.cpp:166] commandline:  --use_gpu=False --trainer_count=1 
I1213 10:01:46.085991    15 GradientMachine.cpp:94] Initing parameters..
I1213 10:01:46.086041    15 GradientMachine.cpp:101] Init parameters done.
[I 10:03:06.129 NotebookApp] Saving file at /01.fit_a_line/README.cn.ipynb
[I 10:03:09.196 NotebookApp] Starting buffering for c48d745d-0936-472a-9109-932b55c0fa0f:DAD4BF56351A45059C491AC29D3E6DA0

二、浏览器打开 http://10.12.13.54:8888/ 开始paddlepaddle机器学习之旅吧!!!


题外话:

突然源码的时候,发现了CTC Loss原来这个是百度美研院开发的啊,赞一个!


  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值