Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specification to ONNX external data feature #2939

Merged
merged 13 commits into from
Nov 17, 2020

Conversation

mbencer
Copy link
Contributor

@mbencer mbencer commented Nov 2, 2020

No description provided.

@mbencer mbencer added the category: docs OpenVINO documentation label Nov 2, 2020
@mbencer mbencer requested a review from a team as a code owner November 2, 2020 09:21
@mbencer mbencer self-assigned this Nov 2, 2020
Copy link
Contributor

@ilyachur ilyachur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrew-zaytsev @aalborov @avladimi Please have a look.

docs/IE_DG/protecting_model_guide.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/protecting_model_guide.md Outdated Show resolved Hide resolved
Co-authored-by: Michał Karzyński <[email protected]>
@mbencer mbencer requested a review from postrational November 10, 2020 09:36
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/protecting_model_guide.md Outdated Show resolved Hide resolved
@ilyachur ilyachur self-requested a review November 11, 2020 10:57
@ilyachur ilyachur self-assigned this Nov 11, 2020
Unsupported types of tensors:
**Weights saved in external files:**

OpenVINO™ supports ONNX models which use weights saved in external files. It is especially useful for models larger than 2GB because of protobuf limitations.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
OpenVINO™ supports ONNX models which use weights saved in external files. It is especially useful for models larger than 2GB because of protobuf limitations.
OpenVINO™ supports ONNX models that use weights saved in external files. It is especially useful for models larger than 2GB because of protobuf limitations.

Copy link
Contributor

@postrational postrational Nov 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also say "that store weights in external files"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

**Weights saved in external files:**

OpenVINO™ supports ONNX models which use weights saved in external files. It is especially useful for models larger than 2GB because of protobuf limitations.
If you want to read such model you should use `ReadNetwork` overload which takes `modelPath` as input parameter (both `std::string` and `std::wstring`).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you want to read such model you should use `ReadNetwork` overload which takes `modelPath` as input parameter (both `std::string` and `std::wstring`).
To read such model, use the `ReadNetwork` overload that takes `modelPath` as an input parameter (both `std::string` and `std::wstring`).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"such models" or "such a model"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/ONNX_Support.md Outdated Show resolved Hide resolved
docs/IE_DG/protecting_model_guide.md Outdated Show resolved Hide resolved
Copy link
Contributor

@postrational postrational left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address comments from @avladimi

Mateusz Bencer and others added 2 commits November 16, 2020 12:37
@mbencer mbencer requested a review from avladimi November 16, 2020 11:44
@ilyachur ilyachur added this to the 2021.2 milestone Nov 17, 2020
@ilyachur ilyachur merged commit 89f0658 into openvinotoolkit:master Nov 17, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Nov 17, 2020
* Added external weights files doc

* review remarks

* review remarks

* review remarks

Co-authored-by: Michał Karzyński <[email protected]>

* review remarks. part 2

Co-authored-by: Michał Karzyński <[email protected]>

* fixed info about nullptr

* Apply suggestions from code review

Co-authored-by: Anastasiya Ageeva <[email protected]>

* review remarks. part 2

Co-authored-by: Michał Karzyński <[email protected]>
Co-authored-by: Anastasiya Ageeva <[email protected]>
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Dec 16, 2020
* Added external weights files doc

* review remarks

* review remarks

* review remarks

Co-authored-by: Michał Karzyński <[email protected]>

* review remarks. part 2

Co-authored-by: Michał Karzyński <[email protected]>

* fixed info about nullptr

* Apply suggestions from code review

Co-authored-by: Anastasiya Ageeva <[email protected]>

* review remarks. part 2

Co-authored-by: Michał Karzyński <[email protected]>
Co-authored-by: Anastasiya Ageeva <[email protected]>
@mbencer mbencer deleted the mbencer/OnnxExternalDataDoc branch March 4, 2021 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: docs OpenVINO documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants