Skip to content

Commit 663255a

Browse files
mayavijxMaajidKhan
authored andcommitted
Alignment correction
1 parent 6d3de0c commit 663255a

File tree

1 file changed

+21
-19
lines changed
  • c_cxx/OpenVINO_EP/Linux/squeezenet_classification

1 file changed

+21
-19
lines changed

c_cxx/OpenVINO_EP/Linux/squeezenet_classification/README.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ export OPENCL_INCS=path/to/your/directory/openvino/thirdparty/ocl/clhpp_headers/
4141
2. Now copy all the files required to run this sample at this same location (/onnxruntime/build/Linux/Release/)
4242

4343
3. compile the sample
44-
a. For general sample
44+
45+
- For general sample
4546
```
4647
g++ -o run_squeezenet squeezenet_cpp_app.cpp -I ../../../include/onnxruntime/core/session/ -I /opt/intel/openvino_2021.4.752/opencv/include/ -I /opt/intel/openvino_2021.4.752/opencv/lib/ -L ./ -lonnxruntime_providers_openvino -lonnxruntime_providers_shared -lonnxruntime -L /opt/intel/openvino_2021.4.752/opencv/lib/ -lopencv_imgcodecs -lopencv_dnn -lopencv_core -lopencv_imgproc
4748
```
4849
Note: This build command is using the opencv location from OpenVINO 2021.4.1 Release Installation. You can use any version of OpenVINO and change the location path accordingly.
49-
b. For the sample using IO Buffer Optimization feature
50+
51+
- For the sample using IO Buffer Optimization feature
5052
Set the OpenCL lib and headers path. For example if you are setting the path from openvino source build folder, the paths will be like:
5153
```
5254
export OPENCL_LIBS=path/to/your/directory/openvino/bin/intel64/Debug/lib/
@@ -59,23 +61,23 @@ export OPENCL_INCS=path/to/your/directory/openvino/thirdparty/ocl/clhpp_headers/
5961
6062
4. Run the sample
6163
62-
To Run the general sample
63-
(using Intel OpenVINO-EP)
64-
```
65-
./run_squeezenet --use_openvino <path_to_onnx_model> <path_to_sample_image> <path_to_labels_file>
66-
```
67-
Example:
68-
```
69-
./run_squeezenet --use_openvino squeezenet1.1-7.onnx demo.jpeg synset.txt (using Intel OpenVINO-EP)
70-
```
71-
(using Default CPU)
72-
```
73-
./run_squeezenet --use_cpu <path_to_onnx_model> <path_to_sample_image> <path_to_labels_file>
74-
```
75-
To Run the sample for IO Buffer Optimization feature
76-
```
77-
./run_squeezenet <path_to_onnx_model> <path_to_sample_image> <path_to_labels_file>
78-
```
64+
- To Run the general sample
65+
(using Intel OpenVINO-EP)
66+
```
67+
./run_squeezenet --use_openvino <path_to_onnx_model> <path_to_sample_image> <path_to_labels_file>
68+
```
69+
Example:
70+
```
71+
./run_squeezenet --use_openvino squeezenet1.1-7.onnx demo.jpeg synset.txt (using Intel OpenVINO-EP)
72+
```
73+
(using Default CPU)
74+
```
75+
./run_squeezenet --use_cpu <path_to_onnx_model> <path_to_sample_image> <path_to_labels_file>
76+
```
77+
- To Run the sample for IO Buffer Optimization feature
78+
```
79+
./run_squeezenet <path_to_onnx_model> <path_to_sample_image> <path_to_labels_file>
80+
```
7981
8082
## References:
8183

0 commit comments

Comments
 (0)