Update docs (#21326)
This commit is contained in:
1 parent
441427abc8
commit
c241405c5e
9 files changed
+13
-13
No files matched your search
+1
-1
@@ -43,7 +43,7 @@ Installing OpenVINO Runtime with Conan Package Manager
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
python3 -m pip install conan
|
||||
python3 -m pip install conan>=2.0.8
|
||||
|
||||
2. Create a ``conanfile.txt`` file for your OpenVINO project and add "*openvino*" dependency in there:
|
||||
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ Run the command below:
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
python -c "from openvino.runtime import Core; print(Core().available_devices)"
|
||||
python -c "from openvino import Core; print(Core().available_devices)"
|
||||
|
||||
If installation was successful, you will see the list of available devices.
|
||||
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
python -c "from openvino.runtime import Core; print(Core().available_devices)"
|
||||
python -c "from openvino import Core; print(Core().available_devices)"
|
||||
|
||||
If OpenVINO was successfully installed, you will see a list of available devices.
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ This step is similar to the :doc:`Basic 8-bit quantization <basic_quantization_f
|
||||
Prepare validation function
|
||||
############################
|
||||
|
||||
Validation function receives ``openvino.runtime.CompiledModel`` object and validation dataset and returns accuracy metric value. The following code snippet shows an example of validation function for OpenVINO model:
|
||||
Validation function receives ``openvino.CompiledModel`` object and validation dataset and returns accuracy metric value. The following code snippet shows an example of validation function for OpenVINO model:
|
||||
|
||||
.. tab-set::
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ Supported Input Parameter Types
|
||||
|
||||
If the model has a single input, the following input types are supported in ``example_input``:
|
||||
|
||||
* ``openvino.runtime.Tensor``
|
||||
* ``openvino.Tensor``
|
||||
* ``torch.Tensor``
|
||||
* ``tuple`` or any nested combination of tuples
|
||||
|
||||
|
||||
@@ -190,11 +190,11 @@ Here are code examples of how to use these methods with different model formats:
|
||||
.. tab-item:: CLI
|
||||
:sync: cli
|
||||
|
||||
You can use ``mo`` command-line tool to convert a model to IR. The obtained IR can then be read by ``read_model()`` and inferred.
|
||||
You can use ``ovc`` command-line tool to convert a model to IR. The obtained IR can then be read by ``read_model()`` and inferred.
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
mo --input_model <INPUT_MODEL>.pb
|
||||
ovc <INPUT_MODEL>.pb
|
||||
|
||||
For details on the conversion, refer to the
|
||||
:doc:`article <openvino_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow>`.
|
||||
@@ -312,7 +312,7 @@ Here are code examples of how to use these methods with different model formats:
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
mo --input_model <INPUT_MODEL>.tflite
|
||||
ovc <INPUT_MODEL>.tflite
|
||||
|
||||
For details on the conversion, refer to the
|
||||
:doc:`article <openvino_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow_Lite>`.
|
||||
@@ -427,7 +427,7 @@ Here are code examples of how to use these methods with different model formats:
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
mo --input_model <INPUT_MODEL>.onnx
|
||||
ovc <INPUT_MODEL>.onnx
|
||||
|
||||
For details on the conversion, refer to the
|
||||
:doc:`article <openvino_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_ONNX>`
|
||||
@@ -549,7 +549,7 @@ Here are code examples of how to use these methods with different model formats:
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
mo --input_model <INPUT_MODEL>.pdmodel
|
||||
ovc <INPUT_MODEL>.pdmodel
|
||||
|
||||
For details on the conversion, refer to the
|
||||
:doc:`article <openvino_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_Paddle>`.
|
||||
|
||||
@@ -241,7 +241,7 @@ With the following methods, you can collect profiling information with various p
|
||||
.. tab-item:: Python
|
||||
:sync: py
|
||||
|
||||
``openvino.runtime.InferRequest.get_profiling_info``
|
||||
``openvino.InferRequest.get_profiling_info``
|
||||
|
||||
.. tab-item:: C++
|
||||
:sync: cpp
|
||||
|
||||
@@ -107,7 +107,7 @@ For example, to install and configure the components for working with TensorFlow
|
||||
|
||||
- To verify that OpenVINO Runtime from the **runtime package** is available, run the command below:
|
||||
```sh
|
||||
python -c "from openvino.runtime import Core; print(Core().available_devices)"
|
||||
python -c "from openvino import Core; print(Core().available_devices)"
|
||||
```
|
||||
If installation was successful, you will see a list of available devices.
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ Run the command below: <br>
|
||||
|
||||
Run the command below:
|
||||
```sh
|
||||
python -c "from openvino.runtime import Core; print(Core().available_devices)"
|
||||
python -c "from openvino import Core; print(Core().available_devices)"
|
||||
```
|
||||
|
||||
If installation was successful, you will see the list of available devices.
|
||||
|
||||
Reference in new issue
Block a user