File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ cd Paddle
89
89
# to `FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04` and similarly for other configurations
90
90
nvidia-docker build -t paddle:float16 .
91
91
# After running this, different results will be written to different log files in Paddle/contrib/float16/
92
- nvidia-docker run -it -v $PWD :/paddle paddle:float16 /paddle/contrib/float16/run_float16_demo.sh
92
+ nvidia-docker run -it -v $PWD :/paddle paddle:float16 /paddle/paddle/ contrib/float16/run_float16_demo.sh
93
93
```
94
94
95
95
#### Accuracy
Original file line number Diff line number Diff line change 3
3
BUILD_PATH=/paddle/fp16_build
4
4
WHEEL_PATH=$BUILD_PATH /python/dist
5
5
INFER_PATH=$BUILD_PATH /paddle/fluid/inference/tests/book
6
- DEMO_PATH=/paddle/contrib/float16
6
+ DEMO_PATH=/paddle/paddle/ contrib/float16
7
7
8
8
# Use the single most powerful CUDA GPU on your machine
9
9
export CUDA_VISIBLE_DEVICES=0
50
50
--repeat=1 \
51
51
52
52
$INFER_PATH /test_inference_image_classification_vgg \
53
- --data_set=imagenet \
54
53
--dirname=$DEMO_PATH /image_classification_imagenet_vgg.inference.model \
55
54
--fp16_dirname=$DEMO_PATH /float16_image_classification_imagenet_vgg.inference.model \
56
55
--repeat=$REPEAT \
68
67
--repeat=1 \
69
68
70
69
$INFER_PATH /test_inference_image_classification_resnet \
71
- --data_set=imagenet \
72
70
--dirname=$DEMO_PATH /image_classification_imagenet_resnet.inference.model \
73
71
--fp16_dirname=$DEMO_PATH /float16_image_classification_imagenet_resnet.inference.model \
74
72
--repeat=$REPEAT \
86
84
--repeat=1 \
87
85
88
86
$INFER_PATH /test_inference_image_classification_vgg \
89
- --data_set=cifar10 \
90
87
--dirname=$DEMO_PATH /image_classification_cifar10_vgg.inference.model \
91
88
--fp16_dirname=$DEMO_PATH /float16_image_classification_cifar10_vgg.inference.model \
92
89
--repeat=$REPEAT \
104
101
--repeat=1 \
105
102
106
103
$INFER_PATH /test_inference_image_classification_vgg \
107
- --data_set=cifar10 \
108
104
--dirname=$DEMO_PATH /image_classification_cifar10_resnet.inference.model \
109
105
--fp16_dirname=$DEMO_PATH /float16_image_classification_cifar10_resnet.inference.model \
110
106
--repeat=$REPEAT \
You can’t perform that action at this time.
0 commit comments