|
|
|
|
@ -898,6 +898,42 @@ $ docker logs nuclio-nuclio-pth.shiyinzhang.iog
|
|
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
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:
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|