[DOCS] link fix (#17658)

This commit is contained in:
Maciej Smyk 2023-05-23 07:31:19 +02:00 committed by GitHub
parent 7351859ec2
commit 4e8d5f3798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 18 additions and 18 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ce302e9a2f7f39cbce63a6d3bc3866909da364d24384c6503069cfdfe0d0fcd
oid sha256:5adda5656edc4bbe13c6aea87465f19d6e9457ef07fd9fb48fe4a25c674937e8
size 165861

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ce302e9a2f7f39cbce63a6d3bc3866909da364d24384c6503069cfdfe0d0fcd
oid sha256:5adda5656edc4bbe13c6aea87465f19d6e9457ef07fd9fb48fe4a25c674937e8
size 165861

View File

@ -42,7 +42,7 @@ ov::CompiledModel compiled_model = core.compile_model("model.tflite", "AUTO");
auto create_model = []() {
std::shared_ptr<ov::Model> model;
// To construct a model, please follow
// https://docs.openvino.ai/latest/openvino_docs_OV_UG_Model_Representation.html
// https://docs.openvino.ai/2023.0/openvino_docs_OV_UG_Model_Representation.html
return model;
};
std::shared_ptr<ov::Model> model = create_model();

View File

@ -59,7 +59,7 @@ OpenVINO provides bindings for different languages. To get the full list of supp
## Core developer topics
* [OpenVINO architecture](./docs/architecture.md)
* [Plugin Development](https://docs.openvino.ai/latest/openvino_docs_ie_plugin_dg_overview.html)
* [Plugin Development](https://docs.openvino.ai/2023.0/openvino_docs_ie_plugin_dg_overview.html)
* [Thread safety](#todo)
* [Performance](#todo)

View File

@ -582,13 +582,13 @@ ext_modules = find_prebuilt_extensions(get_install_dirs_list(PY_INSTALL_CFG)) if
description_md = SCRIPT_DIR.parents[3] / "docs" / "install_guides" / "pypi-openvino-rt.md"
md_files = [description_md, SCRIPT_DIR.parents[3] / "docs" / "install_guides" / "pre-release-note.md"]
docs_url = "https://docs.openvino.ai/latest/index.html"
docs_url = "https://docs.openvino.ai/2023.0/index.html"
if (os.getenv("CI_BUILD_DEV_TAG")):
output = Path.cwd() / "build" / "pypi-openvino-rt.md"
output.parent.mkdir(exist_ok=True)
description_md = concat_files(output, md_files)
docs_url = "https://docs.openvino.ai/nightly/index.html"
docs_url = "https://docs.openvino.ai/2023.0/index.html"
OPENVINO_VERSION = WHEEL_VERSION[0:8]
setup(

View File

@ -14,7 +14,7 @@ namespace pass {
* @brief Decompose MVN operation
* See official OpenVINO documentation for the MVN formula
* implemented partially by this decomposition:
* https://docs.openvino.ai/latest/openvino_docs_ops_normalization_MVN_6.html
* https://docs.openvino.ai/2023.0/openvino_docs_ops_normalization_MVN_6.html
*
*/
class DecomposeMVN : public ngraph::pass::MatcherPass {

View File

@ -135,7 +135,7 @@ static void CreateConstantOp(Program& p, const std::shared_ptr<ngraph::op::v0::C
// [N] --> [1, N, 1, 1]
//
// 2. Multi-dims slope tensor is handled by the numpy broadcasting rule that is defined at
// 'https://docs.openvino.ai/latest/openvino_docs_ops_broadcast_rules.html'.
// 'https://docs.openvino.ai/2023.0/openvino_docs_ops_broadcast_rules.html'.
// ex) [N, 1, 1] --> [1, N, 1, 1]
// [N, M, 1] --> [1, N, M, 1]
auto input_shape = outOp->get_input_partial_shape(0);

View File

@ -83,6 +83,6 @@ class TensorFlowObjectDetectionAPIAnalysis(AnalyzeAction):
"\t--input_shape (optional)\n" \
"\t--reverse_input_channels (if you convert a model to use with the Inference Engine sample applications)\n" \
"Detailed information about conversion of this model can be found at\n" \
"https://docs.openvino.ai/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html"
"https://docs.openvino.ai/2023.0/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html"
return {'model_type': {'TF_OD_API': result}}, message
return None, None

View File

@ -74,7 +74,7 @@ class TensorFlowYOLOV1V2Analysis(AnalyzeAction):
"\t--batch 1\n" \
"\t--transformations_config <PYTHON_SITE_PACKAGES>/openvino/tools/mo/front/tf/<yolo_config>.json\n" \
"All detailed information about conversion of this model can be found at\n" \
"https://docs.openvino.ai/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html"
"https://docs.openvino.ai/2023.0/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html"
return {'model_type': {'YOLO': get_YOLO_params_by_flavor(flavor)}}, message
else:
return None, None
@ -101,7 +101,7 @@ class TensorFlowYOLOV3Analysis(AnalyzeAction):
"\t--batch 1\n" \
"\t--transformations_config <PYTHON_SITE_PACKAGES>/openvino/tools/mo/front/tf/yolo_v3.json\n" \
"Detailed information about conversion of this model can be found at\n" \
"https://docs.openvino.ai/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html"
"https://docs.openvino.ai/2023.0/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html"
return {'model_type': {'YOLO': get_YOLO_params_by_flavor(flavor)}}, message
else:
return None, None

View File

@ -5,7 +5,7 @@
The file contains necessary transformations to convert models created with a TensorFlow Object Detection framework from
the https://github.com/tensorflow/models/blob/master/research/object_detection/ repository. There is a dedicated
OpenVINO document describing overall procedure of conversion these models with the Model Optimizer:
https://docs.openvino.ai/latest/openvino_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html
https://docs.openvino.ai/2023.0/openvino_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html
Conversion of most of the TF OD API models requires execution of several transformations defined in this file. The list
of transformations to be executed for a particular model type (meta-architecture) is defined in the transformation

View File

@ -17,7 +17,7 @@ def get_ov_update_message():
def get_ov_api20_message():
link = "https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html"
link = "https://docs.openvino.ai/2023.0/openvino_2_0_transition_guide.html"
message = '[ INFO ] The model was converted to IR v11, the latest model format that corresponds to the source DL framework ' \
'input/output format. While IR v11 is backwards compatible with OpenVINO Inference Engine API v1.0, ' \
'please use API v2.0 (as of 2022.1) to take advantage of the latest improvements in IR v11.\n' \
@ -27,7 +27,7 @@ def get_ov_api20_message():
def get_tf_fe_message():
link = "https://docs.openvino.ai/latest/openvino_docs_MO_DG_TensorFlow_Frontend.html"
link = "https://docs.openvino.ai/2023.0/openvino_docs_MO_DG_TensorFlow_Frontend.html"
message = '[ INFO ] IR generated by new TensorFlow Frontend is compatible only with API v2.0. Please make sure to use API v2.0.\n' \
'Find more information about new TensorFlow Frontend at {}'.format(link)
@ -35,7 +35,7 @@ def get_tf_fe_message():
def get_compression_message():
link = "https://docs.openvino.ai/latest/openvino_docs_MO_DG_FP16_Compression.html"
link = "https://docs.openvino.ai/2023.0/openvino_docs_MO_DG_FP16_Compression.html"
message = '[ INFO ] Generated IR will be compressed to FP16. ' \
'If you get lower accuracy, please consider disabling compression ' \
'by removing argument --compress_to_fp16 or set it to false --compress_to_fp16=False.\n' \

View File

@ -26,7 +26,7 @@ def refer_to_faq_msg(question_num: int):
pass
return '\n For more information please refer to Model Optimizer FAQ, question #{0}. ' \
'(https://docs.openvino.ai/latest/openvino_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html' \
'(https://docs.openvino.ai/2023.0/openvino_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html' \
'?question={0}#question-{0})'.format(question_num)

View File

@ -287,13 +287,13 @@ def concat_files(output_file, input_files):
description_md = SCRIPT_DIR.parents[1] / 'docs' / 'install_guides' / 'pypi-openvino-dev.md'
md_files = [description_md, SCRIPT_DIR.parents[1] / 'docs' / 'install_guides' / 'pre-release-note.md']
docs_url = 'https://docs.openvino.ai/latest/index.html'
docs_url = 'https://docs.openvino.ai/2023.0/index.html'
if(os.getenv('CI_BUILD_DEV_TAG')):
output = Path.cwd() / 'build' / 'pypi-openvino-dev.md'
output.parent.mkdir(exist_ok=True)
description_md = concat_files(output, md_files)
docs_url = 'https://docs.openvino.ai/nightly/index.html'
docs_url = 'https://docs.openvino.ai/2023.0/index.html'
setup(
name='openvino-dev',