Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6552 Discussions

Converting TensorFlow to OpenVINO can't work with openvino-dev==2022.1.0

Mostafa-
Employee
1,118 Views

While trying to run the notebook from GitHub, I got the below error. 

https://github.com/openvinotoolkit/openvino_notebooks/tree/main/notebooks/101-tensorflow-to-openvino

 

ModuleNotFoundError: No module named 'tensorflow.python'

 

The error resolved when installing openvino[tensorflow].

pip install openvino-dev[tensorflow2]

 

the question is why it doesn't run when installing openvino-dev==2022.1.0?

pip install openvino-dev

 

Thanks,

Mostafa

(Virus scan in progress ...)
0 Kudos
1 Solution
Wan_Intel
Moderator
1,068 Views

Hi Mostafa-,

Thanks for pointing out the error.

For your information, in the latest commit, we have updated the requirements file.

pip install -r requirements.txt

Collecting openvino-dev[onnx,tensorflow2]==2022.1.0

Downloading openvino_dev-2022.1.0-7019-py3-none-any.whl (5.8 MB)

 

 

Regards,

Wan


View solution in original post

0 Kudos
4 Replies
Wan_Intel
Moderator
1,093 Views

Hi Mostafa,

Thanks for reaching out to us.

May I know which operating system are you using on your end?

For your information, you may refer to the Installation Guide to install the required files for your operating system or environment before starting OpenVINO™ Notebooks.

 

Hope it helps.

 

 

Regards,

Wan


0 Kudos
Mostafa-
Employee
1,087 Views

I am running these notebook on Windows 10.

 

I did install the requirements.txt file and it contains openvino.

 

https://github.com/openvinotoolkit/openvino_notebooks

 

Thanks,

Mostafa

0 Kudos
Wan_Intel
Moderator
1,069 Views

Hi Mostafa-,

Thanks for pointing out the error.

For your information, in the latest commit, we have updated the requirements file.

pip install -r requirements.txt

Collecting openvino-dev[onnx,tensorflow2]==2022.1.0

Downloading openvino_dev-2022.1.0-7019-py3-none-any.whl (5.8 MB)

 

 

Regards,

Wan


0 Kudos
Wan_Intel
Moderator
1,052 Views

Hi Mostafa-,

Thank you for your question.

If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored.

 

 

Regards,

Wan


0 Kudos
Reply