Skip to content

jczaja/test-paddlepaddle-fluid-inference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

test-paddlepaddle-fluid-inference

Test Inference FLUID High Level API of PaddlePaddle.

Building PaddlePaddle

mkdir build; cd build cmake -DFLUID_INSTALL_DIR= -DCMAKE_BUILD_TYPE=Release -DWITH_FLUID_ONLY=ON -DWITH_SWIG_PY=OFF -DWITH_PYTHON=OFF -DWITH_MKL=ON -DWITH_GPU=OFF ../ make make inference_lib_dist

Building inference example

mkdir build; cd build PADDLEROOT= cmake -DCMAKE_BUILD_TYPE=Release ../ make

Running Inference examples

ResNet-50, dummy data, MKLDNN , 100 iterations

FLAGS_use_mkldnn=true ./test-paddle-fluid --modeldir=../resnet50-imagenet-predict-cpu --iterations 100

ResNet-50, dummy data, Reference CPU , 100 iterations

./test-paddle-fluid --modeldir=../resnet50-imagenet-predict-cpu --iterations 100

About

Test C FLUID API of PaddlePaddle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published