- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I met the below error during running the Image Classification demo script after installing with below:
sudo ./demo_squeezenet_download_convert_run.sh
Anyone met same issue and does anyone know how to fix the problem? Thanks a lot!
Huang Hai
-----------------------------
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Huang,
the prerequisites installation such as numpy library should have happened before this error, can you show the debug output in between "Configure Model Optimizer" and this error?
Doing pip3 install numpy should solve your issue, but we need to investigate why the pre-requisites call did not work properly in your case.
Best,
Severine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Severine, Thanks for looking into my issue. The information you requested as below:
###################################################
[setupvars.sh] OpenVINO environment initialized
Found existing environment. Skipping installing dependencies for Model Optimizer.
If you want to install again, remove venv directory. Then run the script again
And I can't find the file 'setvars.sh', also in our install instruction, don't mention need to run it. Thanks!
Huang Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am try to install the numpy as you mentioned, but it is already install, so this issue may caused by another reason. Thanks!
---------------------
[root@localhost ~]# yum install numpy
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: ftp.jaist.ac.jp
* extras: mirrors.163.com
* ius: mirrors.kernel.org
* nux-dextop: mirror.li.nux.ro
* updates: mirrors.nju.edu.cn
Package 1:numpy-1.7.1-13.el7.x86_64 already installed and latest version
Nothing to do
[root@localhost ~]#
--------------------
Huang Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Huang,
you can find the documentation on how to setup the environment variables here: https://software.intel.com/en-us/articles/OpenVINO-Install-Linux (search Set the Environment Variables). However, this is not the issue here.
I see you use CentOS, I was trying to reproduce your error with Ubuntu. I need to investigate what is causing the issue, it is maybe the virtual environment activation. This could explain the mismatch of numpy installation.
Best,
Severine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Huang,
it seems to be the virtual environment activation. If you comment the line 154, source $prereqs_mo_path/../venv/bin/activate , is it working?
Best,
Severine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Severine!
As your suggestion, after I removed the venv folder and upgrade the cmake from 2.8 to 3.12, the issue fixed. Thanks!
Huang Hai
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page