Publishing 2019 R1 content
[platform/upstream/dldt.git] / tools / accuracy_checker / accuracy_checker / launcher / caffe_launcher_readme.md
1 # How to configure Caffe launcher
2
3 For enabling Caffe launcher you need to add `framework: caffe` in launchers section of your configuration file and provide following parameters:
4
5 * `device` - specifies which device will be used for infer (`cpu`, `gpu_0` and so on).
6 * `model` - path to prototxt file with Caffe model for your topology.
7 * `weights` - path to caffemodel file with weights for your topology.
8 * `adapter` - approach how raw output will be converted to representation of dataset problem, some adapters can be specific to framework. You can find detailed instruction how to use adapters [here][adapters].
9
10 You also can specify batch size for your model using `batch` and allow to reshape input layer to data shape, using specific parameter: `allow_reshape_input` (default value is False).
11
12 Caffe launcher config example:
13
14 ```yml
15 launchers:
16   - framework: caffe
17     device: CPU
18     model: path_to_model/alexnet.prototxt
19     weights: path_to_weights/alexnet.caffemodel
20     adapter: classification
21     batch: 4
22 ```
23
24 [adapters]: ./tools/accuracy_checker/accuracy_checker/adapters/README.md