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.
6551 Discussions

MacOS OpenVINO built, what next (and more)?

Nap
Beginner
680 Views
[MacBook Pro 2014, MacOS 13.3.1, OpenVINO `master`, OpenCV 4.7.0] With an abstract understanding of deep learning and several of it's sub-fields, I would like to tinker. So, after following the OpenVINO build instructions for Intel MacOS (`master` branch), I have OpenVINO installed on my computer (in `/usr/local/OpenVINO`) and my NCS2 plugged into my USB port. At this point, thinking I have everything I need to start using OpenVINO, I created my working folder with a virtualenv. Looking at the `Hello Classification C++ Sample` documentation page, it suggests to download the `googlenet-v1` model. When I tried to do that, the `omz_downloader` script was not found. When I looked around my filesystem, I could not find the script in my OpenVINO install location but I did find it in the openvino workspace I cloned from github, under `./build/tools/openvino_dev/build/usr/local/bin/`. However, when I run `omz_downloader` directly from that location, I got an error `importlib.metadata.PackageNotFoundError: No package metadata was found for omz-tools`. Prior to the model download step, the `Hello Classification C++ Sample` documentation page says to install `openvino-dev`, but I was reluctant to do this since I had just built everything and, to my mind, already have `omz-tools`. Whilst composing this question, I decided to try installing `openvino-dev` anyway, thinking that maybe it would only download/install this particular part and any other dependencies that are needed. But, to my surprise, pip started installing openvino_dev-2022.3.0-9052-py3-none-any.whl. Sadly, this install failed! So now I seem to have two versions of OpenVINO on my system; the nightly I built and a broken 2022.3.0. Attempting to install `omz-tools`, pip complained: ``` pip install omz-tools ERROR: Could not find a version that satisfies the requirement omz-tools (from versions: none) ERROR: No matching distribution found for omz-tools ``` So, now I have two questions: 1) How do I remove all the files that were downloaded as a result of trying to install `openvino-dev`? 2) How do I get `omz_downloader` that I already have to work? Do I need to install, clone, build anything else?
0 Kudos
2 Replies
Iffa_Intel
Moderator
670 Views

Hi,

 

I answered all of your inquiries on this GitHub page where you asked similar questions there.

 

Here's recap:

 

1.How do I remove all the files that were downloaded as a result of trying to install openvino-dev?

The best is not to remove those folders as they are dependencies to make the OV work

 

2.How do I get the omz_downloader that I already have to work? Do I need to install, clone, build anything else?

There are 2 steps to obtain the omz_downloader tool:

 

3.Could it be that I haven't installed everything I need, e.g. OMZ-Tools and other stuff, since I only did what was stated in the build guide.

 

Option 1: Install using PyPI and you'll get a working OV with the tools required. You'll need to build OMZ from source afterward, if you need to use OV samples.

Option 2: Install OV from source, compile & build required files. Then, do the same for OMZ. Note that, the omz_downloader tool does not automatically available once you built the OV from src.

 

Please help to view the answer on GitHub page to view screenshots of the omz_downloader tools that I built from source.

 

 

Cordially,

Iffa

 

0 Kudos
Iffa_Intel
Moderator
626 Views

Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question. 



Cordially,

Iffa


0 Kudos
Reply