20,290
edits
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
__TOC__ | __TOC__ | ||
R2Inference | R2Inference provides several examples to highlight its usage with different architectures and frameworks. The models used for these examples can be downloaded from our [[R2Inference/Model Zoo|Model Zoo]]. | ||
== Preparation == | == Preparation == | ||
To test the NCSDK examples you will need a NCSDK C API compatible graph file. You can generate it from | To test the NCSDK examples you will need a NCSDK C API compatible graph file. You can generate it from Caffe or TensorFlow model files with the mvNCCompile tool. | ||
For example, given a caffe model (googlenet.caffemodel) and a network description (deploy.prototxt): | For example, given a caffe model (googlenet.caffemodel) and a network description (deploy.prototxt): | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
Line 25: | Line 25: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
For example evaluating this image: | For example, evaluating this image: | ||
[[File:Plane example input.jpg|1800px|center|thumb|GoogLeNet example input]] | [[File:Plane example input.jpg|1800px|center|thumb|GoogLeNet example input]] | ||
Line 43: | Line 43: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
According to the [https://gist.github.com/yrevar/942d3a0ac09ec9e5eb3a ImageNet labels] 404 corresponds to an 'airliner'. | According to the [https://gist.github.com/yrevar/942d3a0ac09ec9e5eb3a ImageNet labels], 404 corresponds to an 'airliner'. | ||
== TinyYOLO v2 == | == TinyYOLO v2 == | ||
Line 53: | Line 53: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
For example evaluating this image: | For example, evaluating this image: | ||
[[File:Yolo example input.jpg|1800px|center|thumb|TinyYOLO example input]] | [[File:Yolo example input.jpg|1800px|center|thumb|TinyYOLO example input]] |