cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.5k stars 3k forks source link

auto annotation using OpenVino no a Mac #873

Closed cbasavaraj closed 4 years ago

cbasavaraj commented 4 years ago

Hi, is it possible to use OpenVino auto annotation on a MacBook Pro? This link https://github.com/opencv/cvat/tree/develop/components/openvino mentions only Ubuntu, but OpenVino is supported on Mac: OpenVino on Mac. I managed to install OpenVino and test it as described on the Intel site, but on the other hand when I run docker-compose -f docker-compose.yml -f components/openvino/docker-compose.openvino.yml build, I get

ERROR:Service 'cvat' failed to build: The command '/bin/sh -c if [ "$OPENVINO_TOOLKIT" = "yes" ]; then /tmp/components/openvino/install.sh && mkdir ${REID_MODEL_DIR} && wget https://download.01.org/openvinotoolkit/2018_R5/open_model_zoo/person-reidentification-retail-0079/FP32/person-reidentification-retail-0079.xml -O reid/reid.xml && wget https://download.01.org/openvinotoolkit/2018_R5/open_model_zoo/person-reidentification-retail-0079/FP32/person-reidentification-retail-0079.bin -O reid/reid.bin; fi' returned a non-zero code: 64

nmanovic commented 4 years ago

@cbasavaraj ,

You don't need to run OpenVINO on Mac natively. It should be run inside Docker. Just follow instructions and download OpenVINO for Ubuntu, put it into the corresponding directory and build CVAT with appropriate options.

Please ask such questions in our gitter channel. I will close the issue for now.