diff --git a/site/content/en/docs/administration/advanced/installation_automatic_annotation.md b/site/content/en/docs/administration/advanced/installation_automatic_annotation.md index d75e941a..a04fa326 100644 --- a/site/content/en/docs/administration/advanced/installation_automatic_annotation.md +++ b/site/content/en/docs/administration/advanced/installation_automatic_annotation.md @@ -32,7 +32,13 @@ semi-automatic and automatic annotation' - You have to install `nuctl` command line tool to build and deploy serverless functions. Download [version 1.5.16](https://github.com/nuclio/nuclio/releases/tag/1.5.16). It is important that the version you download matches the version in - [docker-compose.serverless.yml](https://github.com/openvinotoolkit/cvat/blob/develop/components/serverless/docker-compose.serverless.yml) + [docker-compose.serverless.yml](https://github.com/openvinotoolkit/cvat/blob/develop/components/serverless/docker-compose.serverless.yml). + For example, using wget. + + ``` + wget https://github.com/nuclio/nuclio/releases/download//nuctl--linux-amd64 + ``` + After downloading the nuclio, give it a proper permission and do a softlink ``` diff --git a/site/content/en/docs/manual/advanced/serverless-tutorial.md b/site/content/en/docs/manual/advanced/serverless-tutorial.md index c2c35c10..38ab683d 100644 --- a/site/content/en/docs/manual/advanced/serverless-tutorial.md +++ b/site/content/en/docs/manual/advanced/serverless-tutorial.md @@ -898,6 +898,42 @@ $ docker logs nuclio-nuclio-pth.shiyinzhang.iog +If before model deployment you see that the `NODE PORT` is 0, you need to assign it manually. +Add the `port: 32001` attribute to the `function.yaml` file of each model, before you deploy the model. +Different ports should be prescribed for different models. + +```diff +triggers: +myHttpTrigger: + maxWorkers: 1 + kind: 'http' + workerAvailabilityTimeoutMilliseconds: 10000 + attributes: ++ port: 32001 + maxRequestBodySize: 33554432 # 32MB +``` + +### Installation serverless functions on Windows 10 with using the Ubuntu subsystem + +If you encounter a problem runningĀ serverless functions on Windows 10, +you can use the Ubuntu subsystem, for this do the following: + +1. Install `WSL 2` and `Docker Desktop` as described in [installation manual][cvat-installation-guide-windows-10] + +1. Install [Ubuntu 18.04 from Microsoft store][ubuntu-1804-microsoft-store]. + +1. Enable integration for Ubuntu-18.04 in the settings of `Docker Desktop` in the `Resources` `WSL integration` tab: + + ![Docker WSL integration Ubuntu 18.04](/images/docker_wsl_integration.jpg) + +1. Then you can download and install `nuctl` on Ubuntu, + using the [automatic annotation guide][cvat-auto-annotation-guide]. + +1. Install `git` and clone repository on Ubuntu, + as described in the [installation manual][cvat-installation-guide-ubuntu-1804]. + +1. After that, run the commands from this tutorial through Ubuntu. + [detectron2-github]: https://github.com/facebookresearch/detectron2 [detectron2-requirements]: https://detectron2.readthedocs.io/en/latest/tutorials/install.html [pytorch-install]: https://pytorch.org/get-started/locally/ @@ -912,13 +948,16 @@ $ docker logs nuclio-nuclio-pth.shiyinzhang.iog [retinanet-main-py]: https://github.com/openvinotoolkit/cvat/blob/b2f616859ca64687c385e636b4a25014fbb9d17c/serverless/pytorch/facebookresearch/detectron2/retinanet/nuclio/main.py [nuclio-homepage]: https://nuclio.io/ [cvat-builtin-serverless]: https://github.com/openvinotoolkit/cvat/tree/develop/serverless -[cvat-auto-annotation-guide]: https://openvinotoolkit.github.io/cvat/docs/administration/advanced/installation_automatic_annotation +[cvat-auto-annotation-guide]: /docs/administration/advanced/installation_automatic_annotation +[cvat-installation-guide-windows-10]: /docs/administration/basics/installation/#windows-10 +[cvat-installation-guide-ubuntu-1804]: /docs/administration/basics/installation/#ubuntu-1804-x86_64amd64 [mscoco-format]: https://cocodataset.org/#format-data [pascal-voc-format]: http://host.robots.ox.ac.uk/pascal/VOC/voc2012/htmldoc/index.html [faas-wiki]: https://en.wikipedia.org/wiki/Function_as_a_service -[cvat-ai-tools-user-guide]: https://openvinotoolkit.github.io/cvat/docs/manual/advanced/ai-tools/ +[cvat-ai-tools-user-guide]: /docs/manual/advanced/ai-tools/ [cvat-github]: https://github.com/openvinotoolkit/cvat [siammask-serverless]: https://github.com/openvinotoolkit/cvat/tree/develop/serverless/pytorch/foolwood/siammask/nuclio [vtest-avi]: https://github.com/opencv/opencv/blob/master/samples/data/vtest.avi?raw=true [intel-openvino-url]: https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit.html -[cvat-auto-annotation-user-guide]: https://openvinotoolkit.github.io/cvat/docs/manual/advanced/automatic-annotation/ +[cvat-auto-annotation-user-guide]: /docs/manual/advanced/automatic-annotation/ +[ubuntu-1804-microsoft-store]: https://www.microsoft.com/en-us/p/ubuntu-1804-lts/9n9tngvndl3q diff --git a/site/content/en/images/docker_wsl_integration.jpg b/site/content/en/images/docker_wsl_integration.jpg new file mode 100644 index 00000000..593bc2ff Binary files /dev/null and b/site/content/en/images/docker_wsl_integration.jpg differ