You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paddle/paddle/contrib/inference/demo
tensor-tang 64e44e929c
add option to compile inference demo
7 years ago
..
CMakeLists.txt add option to compile inference demo 7 years ago
README.md add feature/vis infer demos (#11708) 7 years ago
simple_on_word2vec.cc add feature/vis infer demos (#11708) 7 years ago
utils.h add feature/vis infer demos (#11708) 7 years ago
vis_demo.cc add feature/vis infer demos (#11708) 7 years ago

README.md

Infernce Demos

Input data format:

  • Each line contains a single record
  • Each record's format is
<space splitted floats as data>\t<space splitted ints as shape>

Follow the C++ codes in vis_demo.cc.

MobileNet

To execute the demo, simply run

./mobilenet_inference_demo --modeldir <model> --data <datafile>

SE-ResNeXt-50

To execute the demo, simply run

./se_resnext50_inference_demo --modeldir <model> --data <datafile>

OCR

To execute the demo, simply run

./ocr_inference_demo --modeldir <model> --data <datafile>