Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
book
提交
507e3e3e
B
book
项目概览
PaddlePaddle
/
book
通知
16
Star
4
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
40
列表
看板
标记
里程碑
合并请求
37
Wiki
5
Wiki
分析
仓库
DevOps
项目成员
Pages
B
book
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
40
Issue
40
列表
看板
标记
里程碑
合并请求
37
合并请求
37
Pages
分析
分析
仓库分析
DevOps
Wiki
5
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
507e3e3e
编写于
10月 17, 2018
作者:
S
Shan Yi
提交者:
GitHub
10月 17, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #630 from shippingwang/wsp-book-py3
Remove v2
上级
9e9fa8e0
79b8060e
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
14 addition
and
14 deletion
+14
-14
.tools/cache_dataset.py
.tools/cache_dataset.py
+1
-1
02.recognize_digits/README.cn.md
02.recognize_digits/README.cn.md
+1
-1
02.recognize_digits/README.md
02.recognize_digits/README.md
+1
-1
02.recognize_digits/index.cn.html
02.recognize_digits/index.cn.html
+1
-1
02.recognize_digits/index.html
02.recognize_digits/index.html
+1
-1
03.image_classification/README.cn.md
03.image_classification/README.cn.md
+1
-1
03.image_classification/README.md
03.image_classification/README.md
+1
-1
03.image_classification/index.cn.html
03.image_classification/index.cn.html
+1
-1
03.image_classification/index.html
03.image_classification/index.html
+1
-1
05.recommender_system/README.cn.md
05.recommender_system/README.cn.md
+1
-1
05.recommender_system/README.md
05.recommender_system/README.md
+1
-1
05.recommender_system/index.cn.html
05.recommender_system/index.cn.html
+1
-1
05.recommender_system/index.html
05.recommender_system/index.html
+1
-1
serve/main.py
serve/main.py
+1
-1
未找到文件。
.tools/cache_dataset.py
浏览文件 @
507e3e3e
#!/bin/env python
import
paddle.
v2.
dataset
as
dataset
import
paddle.dataset
as
dataset
import
nltk
#cifar
...
...
02.recognize_digits/README.cn.md
浏览文件 @
507e3e3e
...
...
@@ -321,7 +321,7 @@ def event_handler(event):
```
python
from
paddle.
v2.plot
import
Ploter
from
paddle.
utils
import
Ploter
train_title
=
"Train cost"
test_title
=
"Test cost"
...
...
02.recognize_digits/README.md
浏览文件 @
507e3e3e
...
...
@@ -320,7 +320,7 @@ def event_handler(event):
![png](./image/train_and_test.png)
```
python
from paddle.
v2.plot
import Ploter
from paddle.
utils
import Ploter
train_title = "Train cost"
test_title = "Test cost"
...
...
02.recognize_digits/index.cn.html
浏览文件 @
507e3e3e
...
...
@@ -363,7 +363,7 @@ def event_handler(event):
```python
from paddle.
v2.plot
import Ploter
from paddle.
utils
import Ploter
train_title = "Train cost"
test_title = "Test cost"
...
...
02.recognize_digits/index.html
浏览文件 @
507e3e3e
...
...
@@ -362,7 +362,7 @@ def event_handler(event):
![png](./image/train_and_test.png)
```python
from paddle.
v2.plot
import Ploter
from paddle.
utils
import Ploter
train_title = "Train cost"
test_title = "Test cost"
...
...
03.image_classification/README.cn.md
浏览文件 @
507e3e3e
...
...
@@ -385,7 +385,7 @@ test_reader = paddle.batch(
```
python
params_dirname
=
"image_classification_resnet.inference.model"
from
paddle.
v2.plot
import
Ploter
from
paddle.
utils
import
Ploter
train_title
=
"Train cost"
test_title
=
"Test cost"
...
...
03.image_classification/README.md
浏览文件 @
507e3e3e
...
...
@@ -383,7 +383,7 @@ Callback function `event_handler` will be called during training when a pre-defi
```
python
params_dirname
=
"image_classification_resnet.inference.model"
from
paddle.
v2.plot
import
Ploter
from
paddle.
utils
import
Ploter
train_title
=
"Train cost"
test_title
=
"Test cost"
...
...
03.image_classification/index.cn.html
浏览文件 @
507e3e3e
...
...
@@ -427,7 +427,7 @@ test_reader = paddle.batch(
```python
params_dirname = "image_classification_resnet.inference.model"
from paddle.
v2.plot
import Ploter
from paddle.
utils
import Ploter
train_title = "Train cost"
test_title = "Test cost"
...
...
03.image_classification/index.html
浏览文件 @
507e3e3e
...
...
@@ -425,7 +425,7 @@ Callback function `event_handler` will be called during training when a pre-defi
```python
params_dirname = "image_classification_resnet.inference.model"
from paddle.
v2.plot
import Ploter
from paddle.
utils
import Ploter
train_title = "Train cost"
test_title = "Test cost"
...
...
05.recommender_system/README.cn.md
浏览文件 @
507e3e3e
...
...
@@ -431,7 +431,7 @@ feed_order = [
# Specify the directory path to save the parameters
params_dirname
=
"recommender_system.inference.model"
from
paddle.
v2.plot
import
Ploter
from
paddle.
utils
import
Ploter
test_title
=
"Test cost"
plot_cost
=
Ploter
(
test_title
)
...
...
05.recommender_system/README.md
浏览文件 @
507e3e3e
...
...
@@ -406,7 +406,7 @@ For example, we can check the cost by `trainer.test` when `EndStepEvent` occurs
# Specify the directory path to save the parameters
params_dirname
=
"recommender_system.inference.model"
from
paddle.
v2.plot
import
Ploter
from
paddle.
utils
import
Ploter
test_title
=
"Test cost"
plot_cost
=
Ploter
(
test_title
)
...
...
05.recommender_system/index.cn.html
浏览文件 @
507e3e3e
...
...
@@ -473,7 +473,7 @@ feed_order = [
# Specify the directory path to save the parameters
params_dirname = "recommender_system.inference.model"
from paddle.
v2.plot
import Ploter
from paddle.
utils
import Ploter
test_title = "Test cost"
plot_cost = Ploter(test_title)
...
...
05.recommender_system/index.html
浏览文件 @
507e3e3e
...
...
@@ -448,7 +448,7 @@ For example, we can check the cost by `trainer.test` when `EndStepEvent` occurs
# Specify the directory path to save the parameters
params_dirname = "recommender_system.inference.model"
from paddle.
v2.plot
import Ploter
from paddle.
utils
import Ploter
test_title = "Test cost"
plot_cost = Ploter(test_title)
...
...
serve/main.py
浏览文件 @
507e3e3e
import
os
import
traceback
import
paddle
.v2
as
paddle
import
paddle
as
paddle
from
flask
import
Flask
,
jsonify
,
request
from
flask_cors
import
CORS
from
Queue
import
Queue
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录