Closed miseonkang closed 3 years ago
Hi,
Try to re-deploy the model. Probably related #2280
Hi,
Try to re-deploy the model. Probably related #2280
my problem is not related #2280. i am testing the work on the CVAT site(cvat.org). not localhost:8080 site. I haven't installed cvat on my machine. Only logging into the site and testing.
@miseonkang ,
We have fixed the issue on CVAT.org. Could you please specify a task where it doesn't work? I will double check.
@miseonkang ,
We have fixed the issue on CVAT.org. Could you please specify a task where it doesn't work? I will double check.
When I run it on the site now, the auto anotation function is running. Thanks for fixing it.
May I ask you one more question,
I am installing cvat on local. While installing the semi-automation function, the nuctl-linux-1.5.16 version file in git bash is not installed due to the following problems.
chmod +x nuctl-linux-1.5.16
Command does not apply. How can this be solved?
./nuctl-1.5.16-linux-amd64
File properties are not changed to executable files. The windows version file is executed, but the semi-automation function cannot be installed because this file cannot be executed.
And, among the semi-automation functions in cvat, there is a video that automatically performs segmentation by spotting it. Is this using ai tool or which tool is used?
@miseonkang
chmod +x nuctl-linux-1.5.16 ./nuctl-1.5.16-linux-amd64
I see you try to add executable flag and run different files
@miseonkang
chmod +x nuctl-linux-1.5.16 ./nuctl-1.5.16-linux-amd64
I see you try to add executable flag and run different files
Is there any different file?? I downloaded it from the site here(https://github.com/nuclio/nuclio/releases/tag/1.5.16) Are there any other download sites?
my OS : Windows 10, docker, git-bash window...
@miseonkang
You apply chmod +x
to file "nuctl-linux-1.5.16". Then you try to run "nuctl-1.5.16-linux-amd64". They have different names, don't they?
@miseonkang
You apply
chmod +x
to file "nuctl-linux-1.5.16". Then you try to run "nuctl-1.5.16-linux-amd64". They have different names, don't they?
i tried to chmod +x nuctl-linux-1.5.16.. that doesn't work.
chmod: cannot access 'nuctl-linux-1.5.16': No such file or directory
@miseonkang
You apply
chmod +x
to file "nuctl-linux-1.5.16". Then you try to run "nuctl-1.5.16-linux-amd64". They have different names, don't they?
so i install ubuntu 16.04 cvat.. success install nuctl..
but i have error message like this (when install => nuctl deploy --project-name cvat \
--path serverless/openvino/dextr/nuclio \
--volume pwd
/serverless/openvino/common:/opt/nuclio/common \
--platform local)
21.02.23 07:54:17.485 cessor.healthcheck.server (I) Listening {"listenAddress": ":8082"} 21.02.23 07:54:17.485 processor.http (D) Creating worker pool {"num": 2} 21.02.23 07:54:17.485 sor.http.w1.python.logger (D) Creating listener socket {"path": "/tmp/nuclio-rpc-c0qb9aflufhca7t2blug.sock"} 21.02.23 07:54:17.485 sor.http.w0.python.logger (D) Creating listener socket {"path": "/tmp/nuclio-rpc-c0qb9aflufhca7t2blv0.sock"} 21.02.23 07:54:17.485 sor.http.w1.python.logger (D) Using Python wrapper script path {"path": "/opt/nuclio/_nuclio_wrapper.py"} 21.02.23 07:54:17.485 sor.http.w1.python.logger (D) Using Python handler {"handler": "main:handler"} 21.02.23 07:54:17.486 sor.http.w1.python.logger (E) Can't find Python exe {"error": "exec: \"/opt/nuclio/common/openvino/python3\": stat /opt/nuclio/common/openvino/python3: no such file or directory"} 21.02.23 07:54:17.486 sor.http.w0.python.logger (D) Using Python wrapper script path {"path": "/opt/nuclio/_nuclio_wrapper.py"} 21.02.23 07:54:17.486 sor.http.w0.python.logger (D) Using Python handler {"handler": "main:handler"} 21.02.23 07:54:17.486 sor.http.w0.python.logger (E) Can't find Python exe {"error": "exec: \"/opt/nuclio/common/openvino/python3\": stat /opt/nuclio/common/openvino/python3: no such file or directory"}
Error - exec: "/opt/nuclio/common/openvino/python3": stat /opt/nuclio/common/openvino/python3: no such file or directory ...//nuclio/pkg/processor/runtime/rpc/abstract.go:231
how can i solve???
I have version 1.5.16 but still the problem
Error - exec: "/opt/nuclio/common/openvino/python3": stat /opt/nuclio/common/openvino/python3: no such file or directory
...//nuclio/pkg/processor/runtime/rpc/abstract.go:231
Maybe I didn't write the correct path? Version:
nuctl version
Client version:
"Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3"%
I have version 1.5.16 but still the problem
Error - exec: "/opt/nuclio/common/openvino/python3": stat /opt/nuclio/common/openvino/python3: no such file or directory ...//nuclio/pkg/processor/runtime/rpc/abstract.go:231
Maybe I didn't write the correct path? Version:
nuctl version Client version: "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3"%
So, what version can be installed to use the Semi-automatic and Automatic Annotation tool?
Can I install a lower version?
@miseonkang ,
nuctl version
command and post outputnmanovic@nmanovic-dl-node:~/Workspace/synergy-core/build/bin$ nuctl version
Client version:
"Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3"
nmanovic@nmanovic-dl-node:~/Workspace/cvat/serverless$ ./deploy_cpu.sh openvino/dextr/
Deploying openvino/dextr function...
21.02.24 14:55:42.932 nuctl (I) Deploying function {"name": ""}
21.02.24 14:55:42.932 nuctl (I) Building {"versionInfo": "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3", "name": ""}
21.02.24 14:55:43.319 nuctl (I) Cleaning up before deployment {"functionName": "openvino-dextr"}
21.02.24 14:55:43.361 nuctl (I) Staging files and preparing base images
21.02.24 14:55:43.362 nuctl (I) Building processor image {"imageName": "cvat/openvino.dextr:latest"}
21.02.24 14:55:43.363 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/handler-builder-python-onbuild:1.5.16-amd64"}
21.02.24 14:55:48.303 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/uhttpc:0.0.1-amd64"}
21.02.24 14:55:51.749 nuctl.platform (I) Building docker image {"image": "cvat/openvino.dextr:latest"}
....
base) ➜ cvat git:(develop) ✗ nuctl version
Client version:
"Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3"%
nuctl deploy --project-name cvat \
--path serverless/openvino/omz/public/yolo-v3-tf/nuclio \
--volume `pwd`/serverless/openvino/common:/opt/nuclio/common \
--platform local
21.02.24 14:08:06.407 nuctl (I) Deploying function {"name": ""}
21.02.24 14:08:06.407 nuctl (I) Building {"versionInfo": "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3", "name": ""}
21.02.24 14:08:06.589 nuctl (I) Cleaning up before deployment {"functionName": "openvino-omz-public-yolo-v3-tf"}
21.02.24 14:08:06.613 nuctl (I) Staging files and preparing base images
21.02.24 14:08:06.613 nuctl (I) Building processor image {"imageName": "cvat/openvino.omz.public.yolo-v3-tf:latest"}
21.02.24 14:08:06.613 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/handler-builder-python-onbuild:1.5.16-amd64"}
21.02.24 14:08:09.311 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/uhttpc:0.0.1-amd64"}
21.02.24 14:08:13.519 nuctl.platform (I) Building docker image {"image": "cvat/openvino.omz.public.yolo-v3-tf:latest"}
21.02.24 14:11:25.863 nuctl.platform (I) Pushing docker image into registry {"image": "cvat/openvino.omz.public.yolo-v3-tf:latest", "registry": ""}
21.02.24 14:11:25.863 nuctl.platform (I) Docker image was successfully built and pushed into docker registry {"image": "cvat/openvino.omz.public.yolo-v3-tf:latest"}
21.02.24 14:11:25.863 nuctl (I) Build complete {"result": {"Image":"cvat/openvino.omz.public.yolo-v3-tf:latest","UpdatedFunctionConfig":{"metadata":{"name":"openvino-omz-public-yolo-v3-tf","namespace":"nuclio","labels":{"nuclio.io/project-name":"cvat"},"annotations":{"framework":"openvino","name":"YOLO v3","spec":"[\n { \"id\": 0, \"name\": \"person\" },\n { \"id\": 1, \"name\": \"bicycle\" },\n { \"id\": 2, \"name\": \"car\" },\n { \"id\": 3, \"name\": \"motorbike\" },\n { \"id\": 4, \"name\": \"aeroplane\" },\n { \"id\": 5, \"name\": \"bus\" },\n { \"id\": 6, \"name\": \"train\" },\n { \"id\": 7, \"name\": \"truck\" },\n { \"id\": 8, \"name\": \"boat\" },\n { \"id\": 9, \"name\": \"traffic light\" },\n { \"id\": 10, \"name\": \"fire hydrant\" },\n { \"id\": 11, \"name\": \"stop sign\" },\n { \"id\": 12, \"name\": \"parking meter\" },\n { \"id\": 13, \"name\": \"bench\" },\n { \"id\": 14, \"name\": \"bird\" },\n { \"id\": 15, \"name\": \"cat\" },\n { \"id\": 16, \"name\": \"dog\" },\n { \"id\": 17, \"name\": \"horse\" },\n { \"id\": 18, \"name\": \"sheep\" },\n { \"id\": 19, \"name\": \"cow\" },\n { \"id\": 20, \"name\": \"elephant\" },\n { \"id\": 21, \"name\": \"bear\" },\n { \"id\": 22, \"name\": \"zebra\" },\n { \"id\": 23, \"name\": \"giraffe\" },\n { \"id\": 24, \"name\": \"backpack\" },\n { \"id\": 25, \"name\": \"umbrella\" },\n { \"id\": 26, \"name\": \"handbag\" },\n { \"id\": 27, \"name\": \"tie\" },\n { \"id\": 28, \"name\": \"suitcase\" },\n { \"id\": 29, \"name\": \"frisbee\" },\n { \"id\": 30, \"name\": \"skis\" },\n { \"id\": 31, \"name\": \"snowboard\" },\n { \"id\": 32, \"name\": \"sports ball\" },\n { \"id\": 33, \"name\": \"kite\" },\n { \"id\": 34, \"name\": \"baseball bat\" },\n { \"id\": 35, \"name\": \"baseball glove\" },\n { \"id\": 36, \"name\": \"skateboard\" },\n { \"id\": 37, \"name\": \"surfboard\" },\n { \"id\": 38, \"name\": \"tennis racket\" },\n { \"id\": 39, \"name\": \"bottle\" },\n { \"id\": 40, \"name\": \"wine glass\" },\n { \"id\": 41, \"name\": \"cup\" },\n { \"id\": 42, \"name\": \"fork\" },\n { \"id\": 43, \"name\": \"knife\" },\n { \"id\": 44, \"name\": \"spoon\" },\n { \"id\": 45, \"name\": \"bowl\" },\n { \"id\": 46, \"name\": \"banana\" },\n { \"id\": 47, \"name\": \"apple\" },\n { \"id\": 48, \"name\": \"sandwich\" },\n { \"id\": 49, \"name\": \"orange\" },\n { \"id\": 50, \"name\": \"broccoli\" },\n { \"id\": 51, \"name\": \"carrot\" },\n { \"id\": 52, \"name\": \"hot dog\" },\n { \"id\": 53, \"name\": \"pizza\" },\n { \"id\": 54, \"name\": \"donut\" },\n { \"id\": 55, \"name\": \"cake\" },\n { \"id\": 56, \"name\": \"chair\" },\n { \"id\": 57, \"name\": \"sofa\" },\n { \"id\": 58, \"name\": \"pottedplant\" },\n { \"id\": 59, \"name\": \"bed\" },\n { \"id\": 60, \"name\": \"diningtable\" },\n { \"id\": 61, \"name\": \"toilet\" },\n { \"id\": 62, \"name\": \"tvmonitor\" },\n { \"id\": 63, \"name\": \"laptop\" },\n { \"id\": 64, \"name\": \"mouse\" },\n { \"id\": 65, \"name\": \"remote\" },\n { \"id\": 66, \"name\": \"keyboard\" },\n { \"id\": 67, \"name\": \"cell phone\" },\n { \"id\": 68, \"name\": \"microwave\" },\n { \"id\": 69, \"name\": \"oven\" },\n { \"id\": 70, \"name\": \"toaster\" },\n { \"id\": 71, \"name\": \"sink\" },\n { \"id\": 72, \"name\": \"refrigerator\" },\n { \"id\": 73, \"name\": \"book\" },\n { \"id\": 74, \"name\": \"clock\" },\n { \"id\": 75, \"name\": \"vase\" },\n { \"id\": 76, \"name\": \"scissors\" },\n { \"id\": 77, \"name\": \"teddy bear\" },\n { \"id\": 78, \"name\": \"hair drier\" },\n { \"id\": 79, \"name\": \"toothbrush\" }\n]\n","type":"detector"}},"spec":{"description":"YOLO v3 via Intel OpenVINO","handler":"main:handler","runtime":"python:3.6","env":[{"name":"NUCLIO_PYTHON_EXE_PATH","value":"/opt/nuclio/common/openvino/python3"}],"resources":{},"image":"cvat/openvino.omz.public.yolo-v3-tf:latest","targetCPU":75,"triggers":{"myHttpTrigger":{"class":"","kind":"http","name":"myHttpTrigger","maxWorkers":2,"workerAvailabilityTimeoutMilliseconds":10000,"attributes":{"maxRequestBodySize":33554432}}},"volumes":[{"volume":{"name":"volume-1","hostPath":{"path":"/home/omorykon/work/cvat/serverless/openvino/common"}},"volumeMount":{"name":"volume-1","mountPath":"/opt/nuclio/common"}}],"build":{"image":"cvat/openvino.omz.public.yolo-v3-tf","baseImage":"openvino/ubuntu18_dev:2020.2","directives":{"preCopy":[{"kind":"USER","value":"root"},{"kind":"WORKDIR","value":"/opt/nuclio"},{"kind":"RUN","value":"ln -s /usr/bin/pip3 /usr/bin/pip"},{"kind":"RUN","value":"/opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader/downloader.py --name yolo-v3-tf -o /opt/nuclio/open_model_zoo"},{"kind":"RUN","value":"/opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader/converter.py --name yolo-v3-tf --precisions FP32 -d /opt/nuclio/open_model_zoo -o /opt/nuclio/open_model_zoo"}]},"codeEntryType":"image"},"platform":{"attributes":{"mountMode":"volume","restartPolicy":{"maximumRetryCount":3,"name":"always"}}},"readinessTimeoutSeconds":60,"securityContext":{},"eventTimeout":"30s"}}}}
21.02.24 14:11:26.589 nuctl.platform (I) Waiting for function to be ready {"timeout": 60}
Then a very long log output. The end of the output looks like this:
21.02.24 12:12:20.321 processor (I) Starting processor {"version": "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3"}
21.02.24 12:12:20.321 processor (D) Read configuration {"config": "{\n \"metadata\": {\n \"name\": \"openvino-omz-public-yolo-v3-tf\",\n \"namespace\": \"nuclio\",\n \"labels\": {\n \"nuclio.io/project-name\": \"cvat\"\n },\n \"annotations\": {\n \"framework\": \"openvino\",\n \"name\": \"YOLO v3\",\n \"spec\": \"[\\n { \\\"id\\\": 0, \\\"name\\\": \\\"person\\\" },\\n { \\\"id\\\": 1, \\\"name\\\": \\\"bicycle\\\" },\\n { \\\"id\\\": 2, \\\"name\\\": \\\"car\\\" },\\n { \\\"id\\\": 3, \\\"name\\\": \\\"motorbike\\\" },\\n { \\\"id\\\": 4, \\\"name\\\": \\\"aeroplane\\\" },\\n { \\\"id\\\": 5, \\\"name\\\": \\\"bus\\\" },\\n { \\\"id\\\": 6, \\\"name\\\": \\\"train\\\" },\\n { \\\"id\\\": 7, \\\"name\\\": \\\"truck\\\" },\\n { \\\"id\\\": 8, \\\"name\\\": \\\"boat\\\" },\\n { \\\"id\\\": 9, \\\"name\\\": \\\"traffic light\\\" },\\n { \\\"id\\\": 10, \\\"name\\\": \\\"fire hydrant\\\" },\\n { \\\"id\\\": 11, \\\"name\\\": \\\"stop sign\\\" },\\n { \\\"id\\\": 12, \\\"name\\\": \\\"parking meter\\\" },\\n { \\\"id\\\": 13, \\\"name\\\": \\\"bench\\\" },\\n { \\\"id\\\": 14, \\\"name\\\": \\\"bird\\\" },\\n { \\\"id\\\": 15, \\\"name\\\": \\\"cat\\\" },\\n { \\\"id\\\": 16, \\\"name\\\": \\\"dog\\\" },\\n { \\\"id\\\": 17, \\\"name\\\": \\\"horse\\\" },\\n { \\\"id\\\": 18, \\\"name\\\": \\\"sheep\\\" },\\n { \\\"id\\\": 19, \\\"name\\\": \\\"cow\\\" },\\n { \\\"id\\\": 20, \\\"name\\\": \\\"elephant\\\" },\\n { \\\"id\\\": 21, \\\"name\\\": \\\"bear\\\" },\\n { \\\"id\\\": 22, \\\"name\\\": \\\"zebra\\\" },\\n { \\\"id\\\": 23, \\\"name\\\": \\\"giraffe\\\" },\\n { \\\"id\\\": 24, \\\"name\\\": \\\"backpack\\\" },\\n { \\\"id\\\": 25, \\\"name\\\": \\\"umbrella\\\" },\\n { \\\"id\\\": 26, \\\"name\\\": \\\"handbag\\\" },\\n { \\\"id\\\": 27, \\\"name\\\": \\\"tie\\\" },\\n { \\\"id\\\": 28, \\\"name\\\": \\\"suitcase\\\" },\\n { \\\"id\\\": 29, \\\"name\\\": \\\"frisbee\\\" },\\n { \\\"id\\\": 30, \\\"name\\\": \\\"skis\\\" },\\n { \\\"id\\\": 31, \\\"name\\\": \\\"snowboard\\\" },\\n { \\\"id\\\": 32, \\\"name\\\": \\\"sports ball\\\" },\\n { \\\"id\\\": 33, \\\"name\\\": \\\"kite\\\" },\\n { \\\"id\\\": 34, \\\"name\\\": \\\"baseball bat\\\" },\\n { \\\"id\\\": 35, \\\"name\\\": \\\"baseball glove\\\" },\\n { \\\"id\\\": 36, \\\"name\\\": \\\"skateboard\\\" },\\n { \\\"id\\\": 37, \\\"name\\\": \\\"surfboard\\\" },\\n { \\\"id\\\": 38, \\\"name\\\": \\\"tennis racket\\\" },\\n { \\\"id\\\": 39, \\\"name\\\": \\\"bottle\\\" },\\n { \\\"id\\\": 40, \\\"name\\\": \\\"wine glass\\\" },\\n { \\\"id\\\": 41, \\\"name\\\": \\\"cup\\\" },\\n { \\\"id\\\": 42, \\\"name\\\": \\\"fork\\\" },\\n { \\\"id\\\": 43, \\\"name\\\": \\\"knife\\\" },\\n { \\\"id\\\": 44, \\\"name\\\": \\\"spoon\\\" },\\n { \\\"id\\\": 45, \\\"name\\\": \\\"bowl\\\" },\\n { \\\"id\\\": 46, \\\"name\\\": \\\"banana\\\" },\\n { \\\"id\\\": 47, \\\"name\\\": \\\"apple\\\" },\\n { \\\"id\\\": 48, \\\"name\\\": \\\"sandwich\\\" },\\n { \\\"id\\\": 49, \\\"name\\\": \\\"orange\\\" },\\n { \\\"id\\\": 50, \\\"name\\\": \\\"broccoli\\\" },\\n { \\\"id\\\": 51, \\\"name\\\": \\\"carrot\\\" },\\n { \\\"id\\\": 52, \\\"name\\\": \\\"hot dog\\\" },\\n { \\\"id\\\": 53, \\\"name\\\": \\\"pizza\\\" },\\n { \\\"id\\\": 54, \\\"name\\\": \\\"donut\\\" },\\n { \\\"id\\\": 55, \\\"name\\\": \\\"cake\\\" },\\n { \\\"id\\\": 56, \\\"name\\\": \\\"chair\\\" },\\n { \\\"id\\\": 57, \\\"name\\\": \\\"sofa\\\" },\\n { \\\"id\\\": 58, \\\"name\\\": \\\"pottedplant\\\" },\\n { \\\"id\\\": 59, \\\"name\\\": \\\"bed\\\" },\\n { \\\"id\\\": 60, \\\"name\\\": \\\"diningtable\\\" },\\n { \\\"id\\\": 61, \\\"name\\\": \\\"toilet\\\" },\\n { \\\"id\\\": 62, \\\"name\\\": \\\"tvmonitor\\\" },\\n { \\\"id\\\": 63, \\\"name\\\": \\\"laptop\\\" },\\n { \\\"id\\\": 64, \\\"name\\\": \\\"mouse\\\" },\\n { \\\"id\\\": 65, \\\"name\\\": \\\"remote\\\" },\\n { \\\"id\\\": 66, \\\"name\\\": \\\"keyboard\\\" },\\n { \\\"id\\\": 67, \\\"name\\\": \\\"cell phone\\\" },\\n { \\\"id\\\": 68, \\\"name\\\": \\\"microwave\\\" },\\n { \\\"id\\\": 69, \\\"name\\\": \\\"oven\\\" },\\n { \\\"id\\\": 70, \\\"name\\\": \\\"toaster\\\" },\\n { \\\"id\\\": 71, \\\"name\\\": \\\"sink\\\" },\\n { \\\"id\\\": 72, \\\"name\\\": \\\"refrigerator\\\" },\\n { \\\"id\\\": 73, \\\"name\\\": \\\"book\\\" },\\n { \\\"id\\\": 74, \\\"name\\\": \\\"clock\\\" },\\n { \\\"id\\\": 75, \\\"name\\\": \\\"vase\\\" },\\n { \\\"id\\\": 76, \\\"name\\\": \\\"scissors\\\" },\\n { \\\"id\\\": 77, \\\"name\\\": \\\"teddy bear\\\" },\\n { \\\"id\\\": 78, \\\"name\\\": \\\"hair drier\\\" },\\n { \\\"id\\\": 79, \\\"name\\\": \\\"toothbrush\\\" }\\n]\\n\",\n \"type\": \"detector\"\n }\n },\n \"spec\": {\n \"description\": \"YOLO v3 via Intel OpenVINO\",\n \"handler\": \"main:handler\",\n \"runtime\": \"python:3.6\",\n \"env\": [\n {\n \"name\": \"NUCLIO_PYTHON_EXE_PATH\",\n \"value\": \"/opt/nuclio/common/openvino/python3\"\n }\n ],\n \"resources\": {},\n \"image\": \"cvat/openvino.omz.public.yolo-v3-tf:latest\",\n \"targetCPU\": 75,\n \"triggers\": {\n \"myHttpTrigger\": {\n \"class\": \"\",\n \"kind\": \"http\",\n \"name\": \"myHttpTrigger\",\n \"maxWorkers\": 2,\n \"workerAvailabilityTimeoutMilliseconds\": 10000,\n \"attributes\": {\n \"maxRequestBodySize\": 33554432\n }\n }\n },\n \"volumes\": [\n {\n \"volume\": {\n \"name\": \"volume-1\",\n \"hostPath\": {\n \"path\": \"/home/omorykon/work/cvat/serverless/openvino/common\"\n }\n },\n \"volumeMount\": {\n \"name\": \"volume-1\",\n \"mountPath\": \"/opt/nuclio/common\"\n }\n }\n ],\n \"build\": {\n \"image\": \"cvat/openvino.omz.public.yolo-v3-tf\",\n \"baseImage\": \"openvino/ubuntu18_dev:2020.2\",\n \"directives\": {\n \"preCopy\": [\n {\n \"kind\": \"USER\",\n \"value\": \"root\"\n },\n {\n \"kind\": \"WORKDIR\",\n \"value\": \"/opt/nuclio\"\n },\n {\n \"kind\": \"RUN\",\n \"value\": \"ln -s /usr/bin/pip3 /usr/bin/pip\"\n },\n {\n \"kind\": \"RUN\",\n \"value\": \"/opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader/downloader.py --name yolo-v3-tf -o /opt/nuclio/open_model_zoo\"\n },\n {\n \"kind\": \"RUN\",\n \"value\": \"/opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader/converter.py --name yolo-v3-tf --precisions FP32 -d /opt/nuclio/open_model_zoo -o /opt/nuclio/open_model_zoo\"\n }\n ]\n },\n \"codeEntryType\": \"image\",\n \"timestamp\": 1614168685\n },\n \"platform\": {\n \"attributes\": {\n \"mountMode\": \"volume\",\n \"restartPolicy\": {\n \"maximumRetryCount\": 3,\n \"name\": \"always\"\n }\n }\n },\n \"readinessTimeoutSeconds\": 60,\n \"securityContext\": {},\n \"eventTimeout\": \"30s\"\n },\n \"PlatformConfig\": null\n}", "platformConfig": "{\n \"kind\": \"local\",\n \"webAdmin\": {\n \"enabled\": true,\n \"listenAddress\": \":8081\"\n },\n \"healthCheck\": {\n \"enabled\": true,\n \"listenAddress\": \":8082\"\n },\n \"logger\": {\n \"sinks\": {\n \"stdout\": {\n \"kind\": \"stdout\"\n }\n },\n \"system\": [\n {\n \"level\": \"debug\",\n \"sink\": \"stdout\"\n }\n ],\n \"functions\": [\n {\n \"level\": \"debug\",\n \"sink\": \"stdout\"\n }\n ]\n },\n \"metrics\": {},\n \"scaleToZero\": {},\n \"autoScale\": {},\n \"cronTriggerCreationMode\": \"processor\",\n \"ingressConfig\": {},\n \"kube\": {\n \"defaultServiceType\": \"ClusterIP\"\n },\n \"imageRegistryOverrides\": {}\n}"}
21.02.24 12:12:20.321 cessor.healthcheck.server (I) Listening {"listenAddress": ":8082"}
21.02.24 12:12:20.321 processor.http (D) Creating worker pool {"num": 2}
21.02.24 12:12:20.321 sor.http.w0.python.logger (D) Creating listener socket {"path": "/tmp/nuclio-rpc-c0r4594c56jn10vinob0.sock"}
21.02.24 12:12:20.321 sor.http.w1.python.logger (D) Creating listener socket {"path": "/tmp/nuclio-rpc-c0r4594c56jn10vinoag.sock"}
21.02.24 12:12:20.321 sor.http.w0.python.logger (D) Using Python wrapper script path {"path": "/opt/nuclio/_nuclio_wrapper.py"}
21.02.24 12:12:20.322 sor.http.w1.python.logger (D) Using Python wrapper script path {"path": "/opt/nuclio/_nuclio_wrapper.py"}
21.02.24 12:12:20.322 sor.http.w0.python.logger (D) Using Python handler {"handler": "main:handler"}
21.02.24 12:12:20.322 sor.http.w1.python.logger (D) Using Python handler {"handler": "main:handler"}
21.02.24 12:12:20.322 sor.http.w0.python.logger (E) Can't find Python exe {"error": "exec: \"/opt/nuclio/common/openvino/python3\": stat /opt/nuclio/common/openvino/python3: no such file or directory"}
21.02.24 12:12:20.322 sor.http.w1.python.logger (E) Can't find Python exe {"error": "exec: \"/opt/nuclio/common/openvino/python3\": stat /opt/nuclio/common/openvino/python3: no such file or directory"}
Error - exec: "/opt/nuclio/common/openvino/python3": stat /opt/nuclio/common/openvino/python3: no such file or directory
...//nuclio/pkg/processor/runtime/rpc/abstract.go:231
Call stack:
Can't run wrapper
...//nuclio/pkg/processor/runtime/rpc/abstract.go:231
Failed to run wrapper
...//nuclio/pkg/processor/runtime/rpc/abstract.go:106
Failed to start runtime
/nuclio/pkg/processor/worker/factory.go:101
Failed to create worker
/nuclio/pkg/processor/worker/factory.go:122
Failed to create workers
/nuclio/pkg/processor/worker/factory.go:132
/nuclio/pkg/platform/local/platform.go:1001
Failed to deploy function
...//nuclio/pkg/platform/abstract/platform.go:182
If you find the command in documentation, need to update it. The path to the volume wasn't correct. Please use the command below:
nuctl deploy --project-name cvat \
--path serverless/openvino/omz/public/yolo-v3-tf/nuclio \
--volume `pwd`/serverless/common:/opt/nuclio/common \
--platform local
Also it is better to use scripts inside serverless directory. They should work out of the box: ./deploy_cpu.sh
Thank you very much, i did as you said above and it worked
(base) ➜ serverless git:(develop) ✗ ./deploy_cpu.sh openvino/omz/public/yolo-v3-tf
Deploying openvino/omz/public/yolo-v3-tf function...
21.02.24 14:24:19.986 nuctl (I) Deploying function {"name": ""}
21.02.24 14:24:19.986 nuctl (I) Building {"versionInfo": "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3", "name": ""}
21.02.24 14:24:20.172 nuctl (I) Cleaning up before deployment {"functionName": "openvino-omz-public-yolo-v3-tf"}
21.02.24 14:24:20.223 nuctl (I) Function already exists, deleting function containers {"functionName": "openvino-omz-public-yolo-v3-tf"}
21.02.24 14:24:20.254 nuctl (I) Staging files and preparing base images
21.02.24 14:24:20.254 nuctl (I) Building processor image {"imageName": "cvat/openvino.omz.public.yolo-v3-tf:latest"}
21.02.24 14:24:20.254 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/handler-builder-python-onbuild:1.5.16-amd64"}
21.02.24 14:24:23.123 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/uhttpc:0.0.1-amd64"}
21.02.24 14:24:26.860 nuctl.platform (I) Building docker image {"image": "cvat/openvino.omz.public.yolo-v3-tf:latest"}
21.02.24 14:24:27.063 nuctl.platform (I) Pushing docker image into registry {"image": "cvat/openvino.omz.public.yolo-v3-tf:latest", "registry": ""}
21.02.24 14:24:27.063 nuctl.platform (I) Docker image was successfully built and pushed into docker registry {"image": "cvat/openvino.omz.public.yolo-v3-tf:latest"}
21.02.24 14:24:27.063 nuctl (I) Build complete {"result": {"Image":"cvat/openvino.omz.public.yolo-v3-tf:latest","UpdatedFunctionConfig":{"metadata":{"name":"openvino-omz-public-yolo-v3-tf","namespace":"nuclio","labels":{"nuclio.io/project-name":"cvat"},"annotations":{"framework":"openvino","name":"YOLO v3","spec":"[\n { \"id\": 0, \"name\": \"person\" },\n { \"id\": 1, \"name\": \"bicycle\" },\n { \"id\": 2, \"name\": \"car\" },\n { \"id\": 3, \"name\": \"motorbike\" },\n { \"id\": 4, \"name\": \"aeroplane\" },\n { \"id\": 5, \"name\": \"bus\" },\n { \"id\": 6, \"name\": \"train\" },\n { \"id\": 7, \"name\": \"truck\" },\n { \"id\": 8, \"name\": \"boat\" },\n { \"id\": 9, \"name\": \"traffic light\" },\n { \"id\": 10, \"name\": \"fire hydrant\" },\n { \"id\": 11, \"name\": \"stop sign\" },\n { \"id\": 12, \"name\": \"parking meter\" },\n { \"id\": 13, \"name\": \"bench\" },\n { \"id\": 14, \"name\": \"bird\" },\n { \"id\": 15, \"name\": \"cat\" },\n { \"id\": 16, \"name\": \"dog\" },\n { \"id\": 17, \"name\": \"horse\" },\n { \"id\": 18, \"name\": \"sheep\" },\n { \"id\": 19, \"name\": \"cow\" },\n { \"id\": 20, \"name\": \"elephant\" },\n { \"id\": 21, \"name\": \"bear\" },\n { \"id\": 22, \"name\": \"zebra\" },\n { \"id\": 23, \"name\": \"giraffe\" },\n { \"id\": 24, \"name\": \"backpack\" },\n { \"id\": 25, \"name\": \"umbrella\" },\n { \"id\": 26, \"name\": \"handbag\" },\n { \"id\": 27, \"name\": \"tie\" },\n { \"id\": 28, \"name\": \"suitcase\" },\n { \"id\": 29, \"name\": \"frisbee\" },\n { \"id\": 30, \"name\": \"skis\" },\n { \"id\": 31, \"name\": \"snowboard\" },\n { \"id\": 32, \"name\": \"sports ball\" },\n { \"id\": 33, \"name\": \"kite\" },\n { \"id\": 34, \"name\": \"baseball bat\" },\n { \"id\": 35, \"name\": \"baseball glove\" },\n { \"id\": 36, \"name\": \"skateboard\" },\n { \"id\": 37, \"name\": \"surfboard\" },\n { \"id\": 38, \"name\": \"tennis racket\" },\n { \"id\": 39, \"name\": \"bottle\" },\n { \"id\": 40, \"name\": \"wine glass\" },\n { \"id\": 41, \"name\": \"cup\" },\n { \"id\": 42, \"name\": \"fork\" },\n { \"id\": 43, \"name\": \"knife\" },\n { \"id\": 44, \"name\": \"spoon\" },\n { \"id\": 45, \"name\": \"bowl\" },\n { \"id\": 46, \"name\": \"banana\" },\n { \"id\": 47, \"name\": \"apple\" },\n { \"id\": 48, \"name\": \"sandwich\" },\n { \"id\": 49, \"name\": \"orange\" },\n { \"id\": 50, \"name\": \"broccoli\" },\n { \"id\": 51, \"name\": \"carrot\" },\n { \"id\": 52, \"name\": \"hot dog\" },\n { \"id\": 53, \"name\": \"pizza\" },\n { \"id\": 54, \"name\": \"donut\" },\n { \"id\": 55, \"name\": \"cake\" },\n { \"id\": 56, \"name\": \"chair\" },\n { \"id\": 57, \"name\": \"sofa\" },\n { \"id\": 58, \"name\": \"pottedplant\" },\n { \"id\": 59, \"name\": \"bed\" },\n { \"id\": 60, \"name\": \"diningtable\" },\n { \"id\": 61, \"name\": \"toilet\" },\n { \"id\": 62, \"name\": \"tvmonitor\" },\n { \"id\": 63, \"name\": \"laptop\" },\n { \"id\": 64, \"name\": \"mouse\" },\n { \"id\": 65, \"name\": \"remote\" },\n { \"id\": 66, \"name\": \"keyboard\" },\n { \"id\": 67, \"name\": \"cell phone\" },\n { \"id\": 68, \"name\": \"microwave\" },\n { \"id\": 69, \"name\": \"oven\" },\n { \"id\": 70, \"name\": \"toaster\" },\n { \"id\": 71, \"name\": \"sink\" },\n { \"id\": 72, \"name\": \"refrigerator\" },\n { \"id\": 73, \"name\": \"book\" },\n { \"id\": 74, \"name\": \"clock\" },\n { \"id\": 75, \"name\": \"vase\" },\n { \"id\": 76, \"name\": \"scissors\" },\n { \"id\": 77, \"name\": \"teddy bear\" },\n { \"id\": 78, \"name\": \"hair drier\" },\n { \"id\": 79, \"name\": \"toothbrush\" }\n]\n","type":"detector"}},"spec":{"description":"YOLO v3 via Intel OpenVINO","handler":"main:handler","runtime":"python:3.6","env":[{"name":"NUCLIO_PYTHON_EXE_PATH","value":"/opt/nuclio/common/openvino/python3"}],"resources":{},"image":"cvat/openvino.omz.public.yolo-v3-tf:latest","targetCPU":75,"triggers":{"myHttpTrigger":{"class":"","kind":"http","name":"myHttpTrigger","maxWorkers":2,"workerAvailabilityTimeoutMilliseconds":10000,"attributes":{"maxRequestBodySize":33554432}}},"volumes":[{"volume":{"name":"volume-1","hostPath":{"path":"/home/omorykon/work/cvat/serverless/common"}},"volumeMount":{"name":"volume-1","mountPath":"/opt/nuclio/common"}}],"build":{"image":"cvat/openvino.omz.public.yolo-v3-tf","baseImage":"openvino/ubuntu18_dev:2020.2","directives":{"preCopy":[{"kind":"USER","value":"root"},{"kind":"WORKDIR","value":"/opt/nuclio"},{"kind":"RUN","value":"ln -s /usr/bin/pip3 /usr/bin/pip"},{"kind":"RUN","value":"/opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader/downloader.py --name yolo-v3-tf -o /opt/nuclio/open_model_zoo"},{"kind":"RUN","value":"/opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader/converter.py --name yolo-v3-tf --precisions FP32 -d /opt/nuclio/open_model_zoo -o /opt/nuclio/open_model_zoo"}]},"codeEntryType":"image"},"platform":{"attributes":{"mountMode":"volume","restartPolicy":{"maximumRetryCount":3,"name":"always"}}},"readinessTimeoutSeconds":60,"securityContext":{},"eventTimeout":"30s"}}}}
21.02.24 14:24:27.766 nuctl.platform (I) Waiting for function to be ready {"timeout": 60}
21.02.24 14:24:29.863 nuctl (I) Function deploy complete {"functionName": "openvino-omz-public-yolo-v3-tf", "httpPort": 49280}
NAMESPACE | NAME | PROJECT | STATE | NODE PORT | REPLICAS
nuclio | openvino-dextr | cvat | ready | 49255 | 1/1
nuclio | openvino-omz-public-yolo-v3-tf | cvat | ready | 49280 | 1/1
nuclio | pth-saic-vul-fbrs | cvat | ready | 49276 | 1/1
@miseonkang ,
- please run
nuctl version
command and post output- please post here exact command which you are using to deploy a serverless function and its output. For example, in my case
nmanovic@nmanovic-dl-node:~/Workspace/synergy-core/build/bin$ nuctl version Client version: "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3"
nmanovic@nmanovic-dl-node:~/Workspace/cvat/serverless$ ./deploy_cpu.sh openvino/dextr/ Deploying openvino/dextr function... 21.02.24 14:55:42.932 nuctl (I) Deploying function {"name": ""} 21.02.24 14:55:42.932 nuctl (I) Building {"versionInfo": "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3", "name": ""} 21.02.24 14:55:43.319 nuctl (I) Cleaning up before deployment {"functionName": "openvino-dextr"} 21.02.24 14:55:43.361 nuctl (I) Staging files and preparing base images 21.02.24 14:55:43.362 nuctl (I) Building processor image {"imageName": "cvat/openvino.dextr:latest"} 21.02.24 14:55:43.363 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/handler-builder-python-onbuild:1.5.16-amd64"} 21.02.24 14:55:48.303 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/uhttpc:0.0.1-amd64"} 21.02.24 14:55:51.749 nuctl.platform (I) Building docker image {"image": "cvat/openvino.dextr:latest"} ....
i run nuctl version`
user01@kmsDeepServer01:~/cvat$ nuctl version Client version: "Label: 1.5.16, Git commit: ae43a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux,
user01@kmsDeepServer01:~/cvat/serverless$ ./deploy_cpu.sh openvino/dextr/ Deploying openvino/dextr function... 21.02.25 09:02:14.011 nuctl (I) Deploying function {"name": ""} 21.02.25 09:02:14.011 nuctl (I) Building {"versionInfo": "Label: 1.5.16, Git commit: ae4 3a6a560c2bec42d7ccfdf6e8e11a1e3cc3774, OS: linux, Arch: amd64, Go version: go1.14.3", "name": ""} 21.02.25 09:02:14.353 nuctl (I) Cleaning up before deployment {"functionName": "openvino -dextr"} 21.02.25 09:02:14.447 nuctl (I) Function already exists, deleting function containers {" functionName": "openvino-dextr"} 21.02.25 09:02:14.569 nuctl (I) Staging files and preparing base images 21.02.25 09:02:14.570 nuctl (I) Building processor image {"imageName": "cvat/openvino.de xtr:latest"} 21.02.25 09:02:14.570 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/handler-buil der-python-onbuild:1.5.16-amd64"} 21.02.25 09:02:18.798 nuctl.platform.docker (I) Pulling image {"imageName": "quay.io/nuclio/uhttpc:0.0.1 -amd64"} 21.02.25 09:02:24.332 nuctl.platform (I) Building docker image {"image": "cvat/openvino.dextr:lat est"} 21.02.25 09:02:24.655 nuctl.platform (I) Pushing docker image into registry {"image": "cvat/openv ino.dextr:latest", "registry": ""} 21.02.25 09:02:24.655 nuctl.platform (I) Docker image was successfully built and pushed into dock er registry {"image": "cvat/openvino.dextr:latest"} 21.02.25 09:02:24.655 nuctl (I) Build complete {"result": {"Image":"cvat/openvino.dextr: latest","UpdatedFunctionConfig":{"metadata":{"name":"openvino-dextr","namespace":"nuclio","labels":{"nuclio. io/project-name":"cvat"},"annotations":{"framework":"openvino","min_pos_points":"4","name":"DEXTR","spec":"" ,"type":"interactor"}},"spec":{"description":"Deep Extreme Cut","handler":"main:handler","runtime":"python:3 .6","env":[{"name":"NUCLIO_PYTHON_EXE_PATH","value":"/opt/nuclio/common/openvino/python3"}],"resources":{}," image":"cvat/openvino.dextr:latest","targetCPU":75,"triggers":{"myHttpTrigger":{"class":"","kind":"http","na me":"myHttpTrigger","maxWorkers":2,"workerAvailabilityTimeoutMilliseconds":10000,"attributes":{"maxRequestBo dySize":33554432}}},"volumes":[{"volume":{"name":"volume-1","hostPath":{"path":"/home/user01/cvat/serverless /common"}},"volumeMount":{"name":"volume-1","mountPath":"/opt/nuclio/common"}}],"build":{"image":"cvat/openv ino.dextr","baseImage":"openvino/ubuntu18_runtime:2020.2","directives":{"postCopy":[{"kind":"RUN","value":"c url -O https://download.01.org/openvinotoolkit/models_contrib/cvat/dextr_model_v1.zip"},{"kind":"RUN","value ":"unzip dextr_model_v1.zip"},{"kind":"RUN","value":"pip3 install Pillow"}],"preCopy":[{"kind":"USER","value ":"root"},{"kind":"WORKDIR","value":"/opt/nuclio"},{"kind":"RUN","value":"ln -s /usr/bin/pip3 /usr/bin/pip"} ]},"codeEntryType":"image"},"platform":{"attributes":{"mountMode":"volume","restartPolicy":{"maximumRetryCou nt":3,"name":"always"}}},"readinessTimeoutSeconds":60,"securityContext":{},"eventTimeout":"30s"}}}} 21.02.25 09:02:26.239 nuctl.platform (I) Waiting for function to be ready {"timeout": 60} 21.02.25 09:02:27.542 nuctl (I) Function deploy complete {"functionName": "openvino-dext r", "httpPort": 53441} NAMESPACE | NAME | PROJECT | STATE | NODE PORT | REPLICAS nuclio | openvino-dextr | cvat | ready | 53441 | 1/1 nuclio | openvino-omz-public-yolo-v3-tf | cvat | building | 0 | 1/1
wow!! thank you!!!! openvino-dextr state ready!!!
Installation was successful.
However, if you do DEXTR in task task at localhost:8080, the following message appears.
How to fix this error? ??
I have same problem. I think the difference is in the requests tnat the CVAT send. On CVAT.org request for fbrs looks like:
But on localhost it is different: and i get 500 error Why does the CVAT send requests with another fields?
@AlexandrMoruk
Looks like your localhost wasn't updated. Send us a version: user dropdown at top right corner -> About
You can also try to update page with enabled checkbox "Disable cache". JS page you use, theoretically might be cached by a browser (with old version)
like the latest version
"Disable cache" doesn't work too
Yesterday the fbrs on cvat.org also did not work, maybe something was fixed there?
@AlexandrMoruk If you use develop branch you should build images with docker-compose -f docker-compose.yml -f docker-compose.dev.yml build
command. Only release images v1.2.0 are available on the Dockerhub that dont yet support this unreleased functionality.
@miseonkang , @AlexandrMoruk , I will close the issue. Please don't hesitate to reopen it, if you still can reproduce it on the latest develop branch.
P.S. I have checked and FBRS works on CVAT.org now.
nuctl deploy --project-name cvat \
--path serverless/openvino/dextr/nuclio \
--volume pwd
/serverless/common:/opt/nuclio/common \
--platform local
I am running the above command and getting the error which is shown below
Error - exec: "/opt/nuclio/common/openvino/python3": stat /opt/nuclio/common/openvino/python3: no such file or directory ...//nuclio/pkg/processor/runtime/rpc/abstract.go:239
Any soltuion
I am currently testing the work on the CVAT site(cvat.org), and I tried to find cars and people using the automatic detector function using Yolov3 of AI TOOL. However, the following message appears.
Is there no workaround?
_Error: Request failed with status code 500. "500 Server Error: Internal Server Error for url: http://nuclio:8070/api/function_invocations".**_**