Skip to content

Commit

Permalink
Remove references to prototxt from documentation and docstrings (open…
Browse files Browse the repository at this point in the history
  • Loading branch information
postrational authored and akuporos committed Sep 29, 2021
1 parent 4d3f255 commit 6665542
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/IE_DG/Integrate_with_customer_application_new_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Integration process includes the following steps:

@snippet snippets/Integrate_with_customer_application_new_API.cpp part1

**Or read the model from ONNX format** (.onnx and .prototxt are supported formats). You can find more information about the ONNX format support in the document [ONNX format support in the OpenVINO™](./ONNX_Support.md).
**Or read the model from ONNX format**. You can find more information about the ONNX format support in the document [ONNX format support in the OpenVINO™](./ONNX_Support.md).

@snippet snippets/Integrate_with_customer_application_new_API.cpp part2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ cdef class IECore:
return versions

## Reads a network from Intermediate Representation (IR) or ONNX formats and creates an `IENetwork`.
# @param model: A `.xml`, `.onnx`or `.prototxt` model file or string with IR.
# @param model: A `.xml` or `.onnx` model file or string with IR.
# @param weights: A `.bin` file of the IR. Depending on `init_from_buffer` value, can be a string path or
# bytes with file content.
# @param init_from_buffer: Defines the way of how `model` and `weights` attributes are interpreted.
Expand Down
2 changes: 1 addition & 1 deletion inference-engine/samples/benchmark_app/benchmark_app.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static const char input_message[] =

/// @brief message for model argument
static const char model_message[] =
"Required. Path to an .xml/.onnx/.prototxt file with a trained model or to a .blob files with "
"Required. Path to an .xml/.onnx file with a trained model or to a .blob files with "
"a trained compiled model.";

/// @brief message for execution mode
Expand Down
4 changes: 2 additions & 2 deletions inference-engine/src/inference_engine/include/ie/ie_core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class INFERENCE_ENGINE_API_CLASS(Core) {
* For IR format (*.bin):
* * if path is empty, will try to read bin file with the same name as xml and
* * if bin file with the same name was not found, will load IR without weights.
* For ONNX format (*.onnx or *.prototxt):
* For ONNX format (*.onnx):
* * binPath parameter is not used.
* @return CNNNetwork
*/
Expand All @@ -73,7 +73,7 @@ class INFERENCE_ENGINE_API_CLASS(Core) {
* For IR format (*.bin):
* * if path is empty, will try to read bin file with the same name as xml and
* * if bin file with the same name was not found, will load IR without weights.
* For ONNX format (*.onnx or *.prototxt):
* For ONNX format (*.onnx):
* * binPath parameter is not used.
* @return CNNNetwork
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class INFERENCE_ENGINE_API_CLASS(Core) {
* For IR format (*.bin):
* * if path is empty, will try to read bin file with the same name as xml and
* * if bin file with the same name was not found, will load IR without weights.
* For ONNX format (*.onnx or *.prototxt):
* For ONNX format (*.onnx):
* * binPath parameter is not used.
* @return Function
*/
Expand All @@ -83,7 +83,7 @@ class INFERENCE_ENGINE_API_CLASS(Core) {
* For IR format (*.bin):
* * if path is empty, will try to read bin file with the same name as xml and
* * if bin file with the same name was not found, will load IR without weights.
* For ONNX format (*.onnx or *.prototxt):
* For ONNX format (*.onnx):
* * binPath parameter is not used.
* @return Function
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/time_tests/scripts/run_timetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def cli_parser():
required=True,
dest="model",
type=Path,
help='path to an .xml/.onnx/.prototxt file with a trained model or'
help='path to an .xml/.onnx file with a trained model or'
' to a .blob files with a trained compiled model')
parser.add_argument('-d',
required=True,
Expand Down
2 changes: 1 addition & 1 deletion tests/time_tests/src/timetests_helper/cli.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ static const char help_message[] = "Print a usage message";

/// @brief message for model argument
static const char model_message[] =
"Required. Path to an .xml/.onnx/.prototxt file with a trained model or to "
"Required. Path to an .xml/.onnx file with a trained model or to "
"a .blob files with a trained compiled model.";

/// @brief message for target device argument
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def parse_args():
help='Optional. '
'Path to a folder with images and/or binaries or to specific image or binary file.')
args.add_argument('-m', '--path_to_model', type=str, required=True,
help='Required. Path to an .xml/.onnx/.prototxt file with a trained model or '
help='Required. Path to an .xml/.onnx file with a trained model or '
'to a .blob file with a trained compiled model.')
args.add_argument('-d', '--target_device', type=str, required=False, default='CPU',
help='Optional. Specify a target device to infer on (the list of available devices is shown below). '
Expand Down

0 comments on commit 6665542

Please sign in to comment.