@@ -59,6 +59,7 @@ pip install .
59
59
To convert models from certain frameworks, you may also need to install
60
60
additional dependencies.
61
61
62
+ <!--
62
63
@sphinxdirective
63
64
64
65
.. tab:: PyTorch
@@ -80,6 +81,7 @@ additional dependencies.
80
81
python -mpip install --user -r ./requirements-paddle.in
81
82
82
83
@endsphinxdirective
84
+ -->
83
85
84
86
## Model Downloader Usage
85
87
@@ -95,6 +97,7 @@ section.
95
97
96
98
### Model Downloader Starting Parameters
97
99
100
+ <!--
98
101
@sphinxdirective
99
102
100
103
+---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+
@@ -113,7 +116,7 @@ section.
113
116
| ``--progress_format`` | By default, the script outputs progress information as unstructured, human-readable text. You can also set this option to `text` to explicitly request the default text format. When this option is set to `json`, the script's standard output is replaced by a machine-readable progress report, whose format is documented in the "JSON progress report format" section. This option does not affect errors and warnings, which will still be printed to the standard error stream in a human-readable format. Use this option, if you want to consume progress information programmatically. | ``omz_downloader --all --progress_format=json`` |
114
117
+---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+
115
118
@endsphinxdirective
116
-
119
+ -->
117
120
118
121
See the "Shared options" section for information on other options accepted by
119
122
the script.
@@ -130,6 +133,7 @@ additional members it contains.
130
133
131
134
The following event types are currently defined:
132
135
136
+ <!--
133
137
@sphinxdirective
134
138
135
139
+------------------------------------+-------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -150,7 +154,7 @@ The following event types are currently defined:
150
154
| ``model_postprocessing_end`` | ``model`` | The script stopped post-download processing on the model named by ``model``. |
151
155
+------------------------------------+-------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
152
156
@endsphinxdirective
153
-
157
+ -->
154
158
155
159
Additional event types and members may be added in the future.
156
160
@@ -182,6 +186,7 @@ a subset of models. See the "Shared options" section.
182
186
183
187
### Model Converter Starting Parameters
184
188
189
+ <!--
185
190
@sphinxdirective
186
191
187
192
+-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
@@ -202,7 +207,7 @@ a subset of models. See the "Shared options" section.
202
207
| ``-p``/``--python`` | By default, the script will run Model Optimizer using the same Python executable that was used to run the script itself. Apply this parameter to use a different Python executable. | ``omz_converter --all --python my/python`` |
203
208
+-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
204
209
@endsphinxdirective
205
-
210
+ -->
206
211
207
212
The script will attempt to locate Model Optimizer using several methods:
208
213
@@ -242,6 +247,7 @@ are ignored.
242
247
The ` --all ` option can be replaced with other filter options to quantize only
243
248
a subset of models. See the "Shared options" section.
244
249
250
+ <!--
245
251
@sphinxdirective
246
252
247
253
+---------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+
@@ -260,7 +266,7 @@ a subset of models. See the "Shared options" section.
260
266
| ``-p``/``--python`` | By default, the script will run Model Optimizer using the same Python executable that was used to run the script itself. Apply this parameter to use a different Python executable. | ``omz_quantizer --all --dataset_dir <DATASET_DIR> --python my/python`` |
261
267
+---------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+
262
268
@endsphinxdirective
263
-
269
+ -->
264
270
265
271
The script will attempt to locate Post-Training Optimization Toolkit using several methods:
266
272
@@ -295,6 +301,7 @@ This will print to standard output information about all models. The script's ou
295
301
describing a single model. Each such object has the following keys:
296
302
297
303
304
+ <!--
298
305
@sphinxdirective
299
306
300
307
+--------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -365,7 +372,7 @@ describing a single model. Each such object has the following keys:
365
372
+--------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
366
373
+--------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
367
374
@endsphinxdirective
368
-
375
+ -->
369
376
370
377
## Shared Options
371
378
@@ -379,6 +386,7 @@ omz_TOOL --help
379
386
There are several mutually exclusive filter options that select the models the
380
387
tool will process:
381
388
389
+ <!--
382
390
@sphinxdirective
383
391
384
392
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+
@@ -391,7 +399,7 @@ tool will process:
391
399
| ``--list`` | takes a path to a file that must contain a list of patterns and selects models that match at least one of those patterns. For composite models, the name of composite model is accepted, as well as the names of individual models it consists of | ``omz_TOOL --list my.lst`` |
392
400
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+
393
401
@endsphinxdirective
394
-
402
+ -->
395
403
396
404
397
405
To see the available models, you can use the ` --print_all ` option. When this
0 commit comments