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

IEPlugin removed from upcoming OpenVINO versions #1830

Closed
benhoff opened this issue Jul 2, 2020 · 2 comments · Fixed by #1767
Closed

IEPlugin removed from upcoming OpenVINO versions #1830

benhoff opened this issue Jul 2, 2020 · 2 comments · Fixed by #1767
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@benhoff
Copy link
Contributor

benhoff commented Jul 2, 2020

Currently the Auto Annotation app uses the class IEPlugin from openvino. See here: https://github.com/opencv/cvat/blob/76280be4ad4c6143533b6a3960a429d33e7f10a8/cvat/apps/auto_annotation/inference_engine.py#L5

In upcoming versions of OpenVINO, this class has been removed. See here for more information:
openvinotoolkit/openvino#920

This will cause new installations of CVAT to break when using newer versions of OpenVINO with an error of:
ImportError: cannot import name 'IEPlugin' from 'openvino.inference_engine'

I believe the core of this is already handled in this commit: 1408443

Probably need to put a try/catch around IEPlugin to degrade gracefully.

@benhoff
Copy link
Contributor Author

benhoff commented Jul 2, 2020

Related to OpenVINO API changes:

cvat/apps/auto_annotation/model_loader.py:28: DeprecationWarning: 'inputs' property of IENetwork class is deprecated. To access DataPtrs user need to use 'input_data' property of InputInfoPtr objects which can be accessed by 'input_info' property.
  iter_inputs = iter(network.inputs

@nmanovic
Copy link
Contributor

Should be fixed by #1767

@nmanovic nmanovic linked a pull request Jul 29, 2020 that will close this issue
18 tasks
@nmanovic nmanovic self-assigned this Jul 29, 2020
@nmanovic nmanovic added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Jul 29, 2020
@nmanovic nmanovic added this to the 1.1.0-beta milestone Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants