From 7a239c3856505dc52dc7fe5e44c1b1813797a452 Mon Sep 17 00:00:00 2001 From: Pavel Esir Date: Tue, 1 Jun 2021 10:50:23 +0300 Subject: [PATCH] [docs] corrected link in one billion convert doc, added DEPRECATED to dlrm (#5931) * DEPRECATED dlrm convert instructions, corrected link in one billion model * added DEPRECATED to dlrm title --- .../convert_model/onnx_specific/Convert_DLRM.md | 7 +++++-- .../tf_specific/Convert_lm_1b_From_Tensorflow.md | 2 +- docs/doxygen/ie_docs.xml | 10 +++++----- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/MO_DG/prepare_model/convert_model/onnx_specific/Convert_DLRM.md b/docs/MO_DG/prepare_model/convert_model/onnx_specific/Convert_DLRM.md index 341ad42c955..ab93e4bf80a 100644 --- a/docs/MO_DG/prepare_model/convert_model/onnx_specific/Convert_DLRM.md +++ b/docs/MO_DG/prepare_model/convert_model/onnx_specific/Convert_DLRM.md @@ -1,10 +1,13 @@ -# Convert ONNX* DLRM to the Intermediate Representation {#openvino_docs_MO_DG_prepare_model_convert_model_onnx_specific_Convert_DLRM} +[DEPRECATED] Convert ONNX* DLRM to the Intermediate Representation {#openvino_docs_MO_DG_prepare_model_convert_model_onnx_specific_Convert_DLRM} +=============================== > **NOTE**: These instructions are currently deprecated. Since OpenVINO™ 2020.4 version, no specific steps are needed to convert ONNX\* DLRM models. For general instructions on converting ONNX models, please refer to [Converting a ONNX* Model](../Convert_Model_From_ONNX.md) topic. These instructions are applicable only to the DLRM converted to the ONNX* file format from the [facebookresearch/dlrm model](https://github.com/facebookresearch/dlrm). -**Step 1**. Save trained Pytorch* model to ONNX* format. If you train the model using the [script provided in model repository](https://github.com/facebookresearch/dlrm/blob/master/dlrm_s_pytorch.py), just add the `--save-onnx` flag to the command line parameters and you'll get the `dlrm_s_pytorch.onnx` file containing the model serialized in ONNX* format. +**Step 1**. Save trained Pytorch* model to ONNX* format or download pretrained ONNX* from +[MLCommons/inference/recommendation/dlrm](https://github.com/mlcommons/inference/tree/r1.0/recommendation/dlrm/pytorch#supported-models) repository. +If you train the model using the [script provided in model repository](https://github.com/facebookresearch/dlrm/blob/master/dlrm_s_pytorch.py), just add the `--save-onnx` flag to the command line parameters and you'll get the `dlrm_s_pytorch.onnx` file containing the model serialized in ONNX* format. **Step 2**. To generate the Intermediate Representation (IR) of the model, change your current working directory to the Model Optimizer installation directory and run the Model Optimizer with the following parameters: ```sh diff --git a/docs/MO_DG/prepare_model/convert_model/tf_specific/Convert_lm_1b_From_Tensorflow.md b/docs/MO_DG/prepare_model/convert_model/tf_specific/Convert_lm_1b_From_Tensorflow.md index 21fb9ff3278..4d9d49d8d6e 100644 --- a/docs/MO_DG/prepare_model/convert_model/tf_specific/Convert_lm_1b_From_Tensorflow.md +++ b/docs/MO_DG/prepare_model/convert_model/tf_specific/Convert_lm_1b_From_Tensorflow.md @@ -2,7 +2,7 @@ ## Download the Pre-trained Language Model on One Billion Word Benchmark -TensorFlow* provides [a pre-trained Language Model on One Billion Word Benchmark](https://github.com/tensorflow/models/tree/master/research/lm_1b). +TensorFlow* provides [a pre-trained Language Model on One Billion Word Benchmark](https://github.com/tensorflow/models/tree/r2.3.0/research/lm_1b). To download the model for IR conversion, please follow the instruction: 1. Create new directory to store the model: diff --git a/docs/doxygen/ie_docs.xml b/docs/doxygen/ie_docs.xml index 76fe06457d6..f287487913d 100644 --- a/docs/doxygen/ie_docs.xml +++ b/docs/doxygen/ie_docs.xml @@ -53,12 +53,12 @@ limitations under the License. - + - - - - + + + +