[POC PYTHON API] Implement read_network #21
Merged
akuporos merged 6 commits intoakuporos:mk/ov_pybind_pocfrom May 20, 2021
Merged
[POC PYTHON API] Implement read_network #21akuporos merged 6 commits intoakuporos:mk/ov_pybind_pocfrom
akuporos merged 6 commits intoakuporos:mk/ov_pybind_pocfrom
Conversation
Author
|
@jiwaszki Can you please review this PR? It seems I have no permissions in this repo to add you to the reviewers. |
jiwaszki
suggested changes
Apr 23, 2021
6bc6cc0 to
d1d555e
Compare
jiwaszki
suggested changes
Apr 28, 2021
| array = np.fromfile(path_to_bin_file,dtype=np.uint8) | ||
| tensor_desc = TensorDesc("U8", array.shape, "C") | ||
| return BlobWrapper(tensor_desc,array) | ||
|
No newline at end of file |
383db25 to
2d973d1
Compare
jiwaszki
approved these changes
Apr 29, 2021
akuporos
requested changes
May 5, 2021
Owner
There was a problem hiding this comment.
Please, add the next test which checks read network from buffer:
ie = IECore()
with open(test_net_bin, 'rb') as f:
bin = f.read()
with open(model_path()[0], 'rb') as f:
xml = f.read()
net = ie.read_network(model=xml, weights=bin)
assert isinstance(net, IENetwork)Looks like it'll fail.
akuporos
requested changes
May 5, 2021
847b98b to
71c1b53
Compare
49b94f0 to
942ef21
Compare
942ef21 to
74a17f1
Compare
akuporos
approved these changes
May 20, 2021
akuporos
added a commit
that referenced
this pull request
Sep 29, 2021
…d_network [POC PYTHON API] Implement read_network
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tickets: