Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
a62bbd1d
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
a62bbd1d
编写于
5月 25, 2018
作者:
K
Kexin Zhao
提交者:
GitHub
5月 25, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix float16 demo location issue (#10948)
上级
fb43c6b4
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
6 deletion
+2
-6
paddle/contrib/float16/README.md
paddle/contrib/float16/README.md
+1
-1
paddle/contrib/float16/run_float16_demo.sh
paddle/contrib/float16/run_float16_demo.sh
+1
-5
未找到文件。
paddle/contrib/float16/README.md
浏览文件 @
a62bbd1d
...
@@ -89,7 +89,7 @@ cd Paddle
...
@@ -89,7 +89,7 @@ cd Paddle
# to `FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04` and similarly for other configurations
# to `FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04` and similarly for other configurations
nvidia-docker build
-t
paddle:float16
.
nvidia-docker build
-t
paddle:float16
.
# After running this, different results will be written to different log files in Paddle/contrib/float16/
# After running this, different results will be written to different log files in Paddle/contrib/float16/
nvidia-docker run
-it
-v
$PWD
:/paddle paddle:float16 /paddle/contrib/float16/run_float16_demo.sh
nvidia-docker run
-it
-v
$PWD
:/paddle paddle:float16 /paddle/
paddle/
contrib/float16/run_float16_demo.sh
```
```
#### Accuracy
#### Accuracy
...
...
paddle/contrib/float16/run_float16_demo.sh
浏览文件 @
a62bbd1d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
BUILD_PATH
=
/paddle/fp16_build
BUILD_PATH
=
/paddle/fp16_build
WHEEL_PATH
=
$BUILD_PATH
/python/dist
WHEEL_PATH
=
$BUILD_PATH
/python/dist
INFER_PATH
=
$BUILD_PATH
/paddle/fluid/inference/tests/book
INFER_PATH
=
$BUILD_PATH
/paddle/fluid/inference/tests/book
DEMO_PATH
=
/paddle/contrib/float16
DEMO_PATH
=
/paddle/
paddle/
contrib/float16
# Use the single most powerful CUDA GPU on your machine
# Use the single most powerful CUDA GPU on your machine
export
CUDA_VISIBLE_DEVICES
=
0
export
CUDA_VISIBLE_DEVICES
=
0
...
@@ -50,7 +50,6 @@ do
...
@@ -50,7 +50,6 @@ do
--repeat
=
1
\
--repeat
=
1
\
$INFER_PATH
/test_inference_image_classification_vgg
\
$INFER_PATH
/test_inference_image_classification_vgg
\
--data_set
=
imagenet
\
--dirname
=
$DEMO_PATH
/image_classification_imagenet_vgg.inference.model
\
--dirname
=
$DEMO_PATH
/image_classification_imagenet_vgg.inference.model
\
--fp16_dirname
=
$DEMO_PATH
/float16_image_classification_imagenet_vgg.inference.model
\
--fp16_dirname
=
$DEMO_PATH
/float16_image_classification_imagenet_vgg.inference.model
\
--repeat
=
$REPEAT
\
--repeat
=
$REPEAT
\
...
@@ -68,7 +67,6 @@ do
...
@@ -68,7 +67,6 @@ do
--repeat
=
1
\
--repeat
=
1
\
$INFER_PATH
/test_inference_image_classification_resnet
\
$INFER_PATH
/test_inference_image_classification_resnet
\
--data_set
=
imagenet
\
--dirname
=
$DEMO_PATH
/image_classification_imagenet_resnet.inference.model
\
--dirname
=
$DEMO_PATH
/image_classification_imagenet_resnet.inference.model
\
--fp16_dirname
=
$DEMO_PATH
/float16_image_classification_imagenet_resnet.inference.model
\
--fp16_dirname
=
$DEMO_PATH
/float16_image_classification_imagenet_resnet.inference.model
\
--repeat
=
$REPEAT
\
--repeat
=
$REPEAT
\
...
@@ -86,7 +84,6 @@ do
...
@@ -86,7 +84,6 @@ do
--repeat
=
1
\
--repeat
=
1
\
$INFER_PATH
/test_inference_image_classification_vgg
\
$INFER_PATH
/test_inference_image_classification_vgg
\
--data_set
=
cifar10
\
--dirname
=
$DEMO_PATH
/image_classification_cifar10_vgg.inference.model
\
--dirname
=
$DEMO_PATH
/image_classification_cifar10_vgg.inference.model
\
--fp16_dirname
=
$DEMO_PATH
/float16_image_classification_cifar10_vgg.inference.model
\
--fp16_dirname
=
$DEMO_PATH
/float16_image_classification_cifar10_vgg.inference.model
\
--repeat
=
$REPEAT
\
--repeat
=
$REPEAT
\
...
@@ -104,7 +101,6 @@ do
...
@@ -104,7 +101,6 @@ do
--repeat
=
1
\
--repeat
=
1
\
$INFER_PATH
/test_inference_image_classification_vgg
\
$INFER_PATH
/test_inference_image_classification_vgg
\
--data_set
=
cifar10
\
--dirname
=
$DEMO_PATH
/image_classification_cifar10_resnet.inference.model
\
--dirname
=
$DEMO_PATH
/image_classification_cifar10_resnet.inference.model
\
--fp16_dirname
=
$DEMO_PATH
/float16_image_classification_cifar10_resnet.inference.model
\
--fp16_dirname
=
$DEMO_PATH
/float16_image_classification_cifar10_resnet.inference.model
\
--repeat
=
$REPEAT
\
--repeat
=
$REPEAT
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录