Jump to content

R2Inference/Examples/NCSDK: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 3: Line 3:
</noinclude>
</noinclude>
{{DISPLAYTITLE:R2Inference - NCSDK Examples|noerror}}
{{DISPLAYTITLE:R2Inference - NCSDK Examples|noerror}}
__TOC__


R2Inference provide several examples to highlight its usage with different architectures and frameworks. The models used for this examples can be downloaded from our [[R2Inference/Model Zoo|Model Zoo]].
R2Inference provide several examples to highlight its usage with different architectures and frameworks. The models used for this 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 caffe or tensorflow model files with the mvNCCompile tool.
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.
Line 15: Line 17:
This command will output the '''graph''' and '''output_expected.npy''' files. We will use the graph file for the examples and ignore the other one. This model can also be downloaded from our [[R2Inference/Model Zoo|Model Zoo]].
This command will output the '''graph''' and '''output_expected.npy''' files. We will use the graph file for the examples and ignore the other one. This model can also be downloaded from our [[R2Inference/Model Zoo|Model Zoo]].


= Inception v2 =
== Inception v2 ==


This example is located in <code> r2inference/examples/r2i/ncsdk </code>.
This example is located in <code> r2inference/examples/r2i/ncsdk </code>.
Line 43: Line 45:
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 ==


This example is located in <code> r2inference/examples/r2i/ncsdk </code>.
This example is located in <code> r2inference/examples/r2i/ncsdk </code>.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.