Skip to content

Commit 0a7d66c

Browse files
fixed wrong option description (#2524)
* fixed wrong option description * add sample picture * Update demos/time_series_forecasting_demo/python/README.md Co-authored-by: Zlobin Vladimir <[email protected]> * Update demos/time_series_forecasting_demo/python/README.md Co-authored-by: Zlobin Vladimir <[email protected]> Co-authored-by: Zlobin Vladimir <[email protected]>
1 parent a1ea4c8 commit 0a7d66c

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

demos/time_series_forecasting_demo/python/README.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Time Series Forecasting Python\* Demo
22

3+
![example](./time_series_forecasting_demo.jpg)
4+
35
This README describes the Time Series Forecasting demo application.
46

57
## How It Works
@@ -10,7 +12,12 @@ The program provides an interactive CLI interface that gets a test dataset in .p
1012

1113
## Preparing to Run
1214

13-
For demo input image or video files you may refer to [Media Files Available for Demos](../../README.md#Media-Files-Available-for-Demos).
15+
Install required dependencies with command:
16+
17+
```sh
18+
pip install -r requirements.txt
19+
```
20+
1421
The list of models supported by the demo is in `<omz_dir>/demos/whiteboard_inpainting_demo/python/models.lst` file.
1522
This file can be used as a parameter for [Model Downloader](../../../tools/downloader/README.md) and Converter to download and, if necessary, convert models to OpenVINO Inference Engine format (\*.xml + \*.bin).
1623

@@ -26,6 +33,12 @@ An example of using the Model Converter:
2633
python3 <omz_dir>/tools/downloader/converter.py --list models.lst
2734
```
2835

36+
### Supported Models
37+
38+
* time-series-forecasting-electricity-0001
39+
40+
> **NOTE**: Refer to the tables [Intel's Pre-Trained Models Device Support](../../../models/intel/device_support.md) and [Public Pre-Trained Models Device Support](../../../models/public/device_support.md) for the details on models inference support at different devices.
41+
2942
### Supported datasets
3043

3144
* [Electricity](https://archive.ics.uci.edu/ml/machine-learning-databases/00321/LD2011_2014.txt.zip).
@@ -36,7 +49,8 @@ The demo works with the test dataset in the .pickle format provided by accuracy_
3649

3750
* Install accuracy_checker following to the [instruction](../../../tools/accuracy_checker/README.md).
3851
* Convert test dataset:
39-
```
52+
53+
```sh
4054
wget https://archive.ics.uci.edu/ml/machine-learning-databases/00321/LD2011_2014.txt.zip
4155
unzip LD2011_2014.txt.zip
4256
convert_annotation electricity --data_path_file LD2011_2014.txt
@@ -57,17 +71,24 @@ optional arguments:
5771
Optional. Name of the models input node.
5872
--output-name OUTPUT_NAME
5973
Optional. Name of the models output node.
60-
--data-path DATA_PATH
74+
-i INPUT, --input INPUT
6175
Required. Path to the dataset file in .pickle format.
6276
--quantiles QUANTILES
6377
Optional. Names of predicted quantiles.
6478
```
6579

80+
Running the application with the empty list of options yields the usage message given above and an error message.
81+
82+
You can use the following command to do inference on CPU on the converted dataset using a pre-trained time-series-forecasting-electricity network:
83+
84+
```sh
85+
python3 time_series_forecasting_demo.py -i electricity.pickle -m <path_to_model>/time-series-forecasting-electricity-0001.xml
86+
```
87+
6688
## Demo Output
6789

6890
The application draws predicted quantiles and ground truth curves.
6991

70-
7192
## See Also
7293

7394
* [Open Model Zoo Demos](../../README.md)
28.5 KB
Loading

0 commit comments

Comments
 (0)