-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update_table
- Loading branch information
Showing
72 changed files
with
1,929 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Demo | ||
|
||
## Description | ||
|
||
### Basic information | ||
|
||
The script allows you to run the full cycle of the DLI | ||
Benchmark system, demonstrating the operability of the entire | ||
system, from system deployment to conversion of tables with | ||
results. At the moment, a version for Linux systems with | ||
the deployment of the DLI Benchmark using Docker containers | ||
has been implemented. | ||
|
||
### Algorithm | ||
|
||
The application creates two directories on the local machine, | ||
`server` and `client`, which represent the environments | ||
for the FTP server and client, respectively. The output | ||
of the application is CSV, HTML, and XLSX tables with | ||
the results of the experiments measuring the performance | ||
and assessing the quality of the deep `SampleNet` model, | ||
which is a test model for the [AccuracyChecker][accuracy-checker] | ||
tool in [Intel® Distribution of OpenVINO™ Toolkit][openvino-toolkit]. | ||
|
||
### Application results | ||
|
||
The output of the application is a set of CSV, HTML and XLSX | ||
tables with the results of the experiments on measuring performance | ||
and assessing the quality of the test model. | ||
|
||
## Usage | ||
|
||
```bash | ||
chmod a+x linux.sh | ||
./linux.sh -l <login> -p <password> -d <benchmark_datasets> | ||
``` | ||
|
||
Command line arguments: | ||
|
||
- `-l` corresponds to the login to connect to the current machine. | ||
- `-p` corresponds to the password to connect to the current machine. | ||
- `-d` corresponds to the GitHub repository that contains | ||
the benchmarking datasets. It is required that the repository | ||
contains the directory `Datasets/ImageNET/`, in which at least | ||
one image is stored. It is necessary for system deployment. | ||
|
||
Example: | ||
|
||
```bash | ||
chmod a+x linux.sh | ||
./linux.sh -l admin -p admin -d "https://github.com/account/repo.git" | ||
``` | ||
|
||
|
||
<!-- LINKS --> | ||
[openvino-toolkit]: https://software.intel.com/en-us/openvino-toolkit | ||
[accuracy-checker]: https://docs.openvino.ai/latest/omz_tools_accuracy_checker.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Tests> | ||
<Test> | ||
<Model> | ||
<Task>classification</Task> | ||
<Name>samplenet-0000</Name> | ||
<Precision>FP32</Precision> | ||
<SourceFramework>MXNet</SourceFramework> | ||
<Directory>/media/models</Directory> | ||
</Model> | ||
<Parameters> | ||
<InferenceFramework>MXNet</InferenceFramework> | ||
<Device>CPU</Device> | ||
<Config>{CONFIG_PATH}</Config> | ||
</Parameters> | ||
</Test> | ||
</Tests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
models: | ||
- name: SampLeNet_example | ||
launchers: | ||
- framework: mxnet | ||
device: CPU | ||
model: samplenet-0000.params | ||
adapter: classification | ||
inputs: | ||
- name: 'data' | ||
type: INPUT | ||
shape: 3, 32, 32 | ||
|
||
datasets: | ||
- name: sample_dataset | ||
data_source: sample_dataset/test | ||
annotation_conversion: | ||
converter: cifar | ||
data_batch_file: cifar-10-batches-py/test_batch | ||
convert_images: True | ||
converted_images_dir: sample_dataset/test | ||
num_classes: 10 | ||
|
||
preprocessing: | ||
- type: resize | ||
size: 32 | ||
- type: bgr_to_rgb | ||
- type: normalization | ||
mean: (125.307, 122.961, 113.8575) | ||
std: (51.5865, 50.847, 51.255) | ||
|
||
metrics: | ||
- type: accuracy | ||
top_k: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Tests> | ||
<Test> | ||
<Model> | ||
<Task>classification</Task> | ||
<Name>SampleNet</Name> | ||
<Precision>FP32</Precision> | ||
<SourceFramework>ONNXRuntime</SourceFramework> | ||
<Directory>/media/models</Directory> | ||
</Model> | ||
<Parameters> | ||
<InferenceFramework>ONNX Runtime Python</InferenceFramework> | ||
<Device>CPU</Device> | ||
<Config>{CONFIG_PATH}</Config> | ||
</Parameters> | ||
</Test> | ||
</Tests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
models: | ||
- name: SampLeNet_example | ||
launchers: | ||
- framework: onnx_runtime | ||
device: CPU | ||
model: samplenet.onnx | ||
adapter: classification | ||
batch: 1 | ||
inputs: | ||
- type: INPUT | ||
name: data | ||
layout: NCHW | ||
|
||
datasets: | ||
- name: sample_dataset | ||
data_source: sample_dataset/test | ||
annotation_conversion: | ||
converter: cifar | ||
data_batch_file: cifar-10-batches-py/test_batch | ||
convert_images: True | ||
converted_images_dir: sample_dataset/test | ||
num_classes: 10 | ||
|
||
preprocessing: | ||
- type: resize | ||
size: 32 | ||
- type: bgr_to_rgb | ||
- type: normalization | ||
mean: (125.307, 122.961, 113.8575) | ||
std: (51.5865, 50.847, 51.255) | ||
|
||
metrics: | ||
- type: accuracy | ||
top_k: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Tests> | ||
<Test> | ||
<Model> | ||
<Task>classification</Task> | ||
<Name>SampleNet</Name> | ||
<Precision>FP32</Precision> | ||
<SourceFramework>Caffe</SourceFramework> | ||
<Directory>/media/models</Directory> | ||
</Model> | ||
<Parameters> | ||
<InferenceFramework>OpenCV DNN Python</InferenceFramework> | ||
<Device>CPU</Device> | ||
<Config>{CONFIG_PATH}</Config> | ||
</Parameters> | ||
</Test> | ||
</Tests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
models: | ||
- name: SampLeNet_example | ||
launchers: | ||
- framework: opencv | ||
device: CPU | ||
tags: | ||
- FP32 | ||
backend: OCV | ||
inputs: | ||
- name: 'input' | ||
type: INPUT | ||
shape: 3, 32, 32 | ||
model: SampLeNet.prototxt | ||
weights: SampLeNet.caffemodel | ||
adapter: classification | ||
|
||
datasets: | ||
- name: sample_dataset | ||
data_source: sample_dataset/test | ||
annotation_conversion: | ||
converter: cifar | ||
data_batch_file: cifar-10-batches-py/test_batch | ||
convert_images: True | ||
converted_images_dir: sample_dataset/test | ||
num_classes: 10 | ||
|
||
preprocessing: | ||
- type: resize | ||
size: 32 | ||
- type: bgr_to_rgb | ||
- type: normalization | ||
mean: (125.307, 122.961, 113.8575) | ||
std: (51.5865, 50.847, 51.255) | ||
|
||
metrics: | ||
- type: accuracy | ||
top_k: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Tests> | ||
<Test> | ||
<Model> | ||
<Task>classification</Task> | ||
<Name>SampleNet</Name> | ||
<Precision>FP32</Precision> | ||
<SourceFramework>Caffe</SourceFramework> | ||
<Directory>/media/models</Directory> | ||
</Model> | ||
<Parameters> | ||
<InferenceFramework>OpenVINO DLDT</InferenceFramework> | ||
<Device>CPU</Device> | ||
<Config>{CONFIG_PATH}</Config> | ||
</Parameters> | ||
</Test> | ||
</Tests> |
Oops, something went wrong.