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.72k stars 3.02k forks source link

Build error for Deep Extreme Cut #1484

Closed luiztauffer closed 4 years ago

luiztauffer commented 4 years ago

My actions before raising this issue

When trying to run docker build to use DeepExtreme Cut segmentation, as described here, an installation error occurs in the install.sh file part.

Current Behaviour

Error track:

Step 20/53 : RUN if [ "$OPENVINO_TOOLKIT" = "yes" ]; then         /tmp/components/openvino/install.sh &&         mkdir ${REID_MODEL_DIR} &&         curl https://download.01.org/openvinotoolkit/2018_R5/open_model_zoo/person-reidentification-retail-0079/FP32/person-reidentification-retail-0079.xml -o reid/reid.xml &&         curl 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
 ---> Running in 48c5f89561ec

tar: option requires an argument -- 'f'
Try 'tar --help' or 'tar --usage' for more information.

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} &&         curl https://download.01.org/openvinotoolkit/2018_R5/open_model_zoo/person-reidentification-retail-0079/FP32/person-reidentification-retail-0079.xml -o reid/reid.xml &&         curl 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

Possible Solution

I tried changing tar options in the problematic line, but to no avail.

Steps to Reproduce (for bugs)

docker-compose -f docker-compose.yml -f components/openvino/docker-compose.openvino.yml -f cvat/apps/dextr_segmentation/docker-compose.dextr.yml build

Your Environment

Git commit: 034268e87dbf72b6ca08f017152b962882cc1d84 Docker: 19.03.8 OS: Linux

luiztauffer commented 4 years ago

My mistake, I didn't put the OpenVINO file in the right location: cvat/components/openvino