-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue loading openvino models for semi-automatic and automatic annotation #1977
Comments
@creativesiva , could you please provide the full deployment log for functions? Something like I did below:
|
@nmanovic , Below is the deployment log. 20.08.03 22:26:11.277 nuctl.platform (I) Waiting for function to be ready {"timeout": 60} |
@creativesiva , I have updated the documentation. Could you please add For further investigation please add --verbose flag to a Also it looks like need more information about your system. Which OS do you use? Please provide as much details about your system as possible. For example, docker version. |
I have the same issue. I am using Ubuntu 18.04.1 and docker version 19.03.6. Adding --platform local command line argument does not solve the issue. |
@AJ-RR , could you please also publish your deployment log? |
I have tried with --platfom local, Hard Luck. |
deployment_log.txt Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack: Error - open /etc/nuclio/config/processor/processor.yaml: permission denied Call stack:
Failed to deploy function |
@creativesiva , we are investigating the issue. I cannot reproduce it on my Linux and Mac machines. But an internal team also reported the problem. I know that nuclio guys also are investigating the issue. I hope to find a solution soon. If you can help and investigate on your end, it will be perfect. |
@creativesiva , could you please try a workaround in PR #1996? |
@nmanovic , Please suggest how can i check this!!, I am not sure, what to do! |
I understand that you have removed "- kind: USER value: openvino" from function.yml and did the same in my local repository. Now it is showing different error.
|
@creativesiva , the mentioned deploy command isn't correct. The error message is clear here: Also you don't need to use |
@nmanovic, Thanks. The model deployment is successful now. (I have not made changes to text-detection function, that is why error, rest all functions are modified as per your suggestion) Thanks a lot.
|
@creativesiva , could you please help me to test a fix in nuclio? Below I have attached nuctl for linux with a fix which just adds necessary permissions to /tmp/processor-config-* file (liranbg/nuclio#22). Please revert all changes inside CVAT and try the binary to deploy functions. Does it work? I cannot check on my end unfortunately. |
@nmanovic , i have reverted function.yml changes and used nuctl-latest-linux-amd64 to run the deploy.sh. It is throwing error.
|
@creativesiva , thanks for the info. I have merged the PR. Now it should work. I hope nuclio team will be able to reproduce the issue and fix in future releases. |
@creativesiva , are you sure that you used the attached binary? At least Git commit |
@nmanovic Sorry i did not noticed your question. |
@nmanovic i have updated my code, but the error still persist. I'm running on Ubuntu 18.04, docker version : 19.03.11 , nuctl: 1.4.16. |
@thangvip4321 , indeed it is another issue: |
@thangvip4321 , let me check with nuctl 1.4.16 if I can reproduce the issue. |
@thangvip4321 , I cannot reproduce the problem. Need your help.
|
I am getting error while trying to deploy openvino and pytorch models to nuclio (serverless functions), I have used 'bash serverless/deploy.sh to deploy models. Below is the log error for semantic-segmentation-adas-0001
Error - Container wasn't healthy in time
/nuclio/pkg/dockerclient/shell.go:429
Call stack:
Container wasn't healthy in time
/nuclio/pkg/dockerclient/shell.go:429
Function wasn't ready in time. Logs:
Error - open /etc/nuclio/config/processor/processor.yaml: permission denied
/nuclio/cmd/processor/app/processor.go:265
Call stack:
Failed to open configuration file
/nuclio/cmd/processor/app/processor.go:265
Error - open /etc/nuclio/config/processor/processor.yaml: permission denied
/nuclio/cmd/processor/app/processor.go:265
Call stack:
Failed to open configuration file
/nuclio/cmd/processor/app/processor.go:265
Error - open /etc/nuclio/config/processor/processor.yaml: permission denied
/nuclio/cmd/processor/app/processor.go:265
Call stack:
Failed to open configuration file
/nuclio/cmd/processor/app/processor.go:265
Error - open /etc/nuclio/config/processor/processor.yaml: permission denied
/nuclio/cmd/processor/app/processor.go:265
Call stack:
Failed to open configuration file
/nuclio/cmd/processor/app/processor.go:265
Error - open /etc/nuclio/config/processor/processor.yaml: permission denied
/nuclio/cmd/processor/app/processor.go:265
Call stack:
Failed to open configuration file
/nuclio/cmd/processor/app/processor.go:265
Error - open /etc/nuclio/config/processor/processor.yaml: permission denied
/nuclio/cmd/processor/app/processor.go:265
Call stack:
Failed to open configuration file
/nuclio/cmd/processor/app/processor.go:265
Error - open /etc/nuclio/config/processor/processor.yaml: permission denied
/nuclio/cmd/processor/app/processor.go:265
Call stack:
Failed to open configuration file
/nuclio/cmd/processor/app/processor.go:265
Error - open /etc/nuclio/config/processor/processor.yaml: permission denied
/nuclio/cmd/processor/app/processor.go:265
Call stack:
Failed to open configuration file
/nuclio/cmd/processor/app/processor.go:265
Error - open /etc/nuclio/config/processor/processor.yaml: permission denied
/nuclio/cmd/processor/app/processor.go:265
Call stack:
Failed to open configuration file
/nuclio/cmd/processor/app/processor.go:265
As a end results, it is installing i am able to deploy tensorflow models, below is the error message for rest of the models.
NAMESPACE | NAME | PROJECT | STATE | NODE PORT | REPLICAS
nuclio | openvino.dextr | cvat | error | 0 | 1/1
nuclio | openvino.omz.intel.person-reidentification-retail-0300 | cvat | error | 0 | 1/1
nuclio | openvino.omz.intel.text-detection-0004 | cvat | error | 0 | 1/1
nuclio | openvino.omz.public.faster_rcnn_inception_v2_coco | cvat | error | 0 | 1/1
nuclio | openvino.omz.public.mask_rcnn_inception_resnet_v2_atrous_coco | cvat | error | 0 | 1/1
nuclio | openvino.omz.public.yolo-v3-tf | cvat | error | 0 | 1/1
nuclio | openvino.omz.semantic-segmentation-adas-0001 | cvat | error | 0 | 1/1
nuclio | tf.faster_rcnn_inception_v2_coco | cvat | ready | 39731 | 1/1
nuclio | tf.matterport.mask_rcnn | cvat | ready | 37237 | 1/1
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ce454f5ed371 cvat/tf.faster_rcnn_inception_v2_coco:latest "processor" 44 minutes ago Up 44 minutes (healthy) 0.0.0.0:39731->8080/tcp nuclio-nuclio-tf.faster_rcnn_inception_v2_coco
dde7ad667e3b cvat/tf.matterport.mask_rcnn:latest "processor" 45 minutes ago Up 45 minutes (healthy) 0.0.0.0:37237->8080/tcp nuclio-nuclio-tf.matterport.mask_rcnn
2a9b80907c35 cvat/openvino.dextr:latest "processor" 46 minutes ago Restarting (1) 44 seconds ago nuclio-nuclio-openvino.dextr
21170f4a7916 cvat/openvino.omz.intel.person-reidentification-retail-0300:latest "processor" 48 minutes ago Restarting (1) 3 seconds ago nuclio-nuclio-openvino.omz.intel.person-reidentification-retail-0300
13b9d8996523 cvat/openvino.omz.intel.semantic-segmentation-adas-0001:latest "processor" 49 minutes ago Restarting (1) 28 seconds ago nuclio-nuclio-openvino.omz.semantic-segmentation-adas-0001
81c6d6abd728 cvat/openvino.omz.intel.text-detection-0004:latest "processor" 50 minutes ago Restarting (1) 57 seconds ago nuclio-nuclio-openvino.omz.intel.text-detection-0004
13f30e51675d cvat/openvino.omz.public.yolo-v3-tf:latest "processor" 52 minutes ago Restarting (1) 20 seconds ago nuclio-nuclio-openvino.omz.public.yolo-v3-tf
4e454024a67b cvat/openvino.omz.public.mask_rcnn_inception_resnet_v2_atrous_coco:latest "processor" 53 minutes ago Restarting (1) 41 seconds ago nuclio-nuclio-openvino.omz.public.mask_rcnn_inception_resnet_v2_atrous_coco
86900a751357 cvat/openvino.omz.public.faster_rcnn_inception_v2_coco:latest "processor" 55 minutes ago Restarting (1) 6 seconds ago nuclio-nuclio-openvino.omz.public.faster_rcnn_inception_v2_coco
c096e1d34a9f alpine:3.11 "/bin/sh -c '/bin/sl…" 3 hours ago Up 3 hours nuclio-local-storage-reader
10761a37f44d nginx:stable-alpine "/docker-entrypoint.…" 9 hours ago Up 9 hours 0.0.0.0:8080->80/tcp cvat_proxy
888326330e63 cvat/server "/usr/bin/supervisord" 9 hours ago Up 9 hours 8080/tcp, 8443/tcp cvat
a82bd68fdccd cvat_logstash "/usr/local/bin/dock…" 9 hours ago Up 9 hours 5000/tcp, 5044/tcp, 9600/tcp cvat_logstash
a89ce4f4ad30 cvat_kibana "/usr/local/bin/kiba…" 9 hours ago Up 9 hours 5601/tcp cvat_kibana
1f55c7d21943 cvat_elasticsearch "/usr/local/bin/dock…" 9 hours ago Up 9 hours 9200/tcp, 9300/tcp cvat_elasticsearch
4117c788c958 cvat/ui "/docker-entrypoint.…" 9 hours ago Up 9 hours 80/tcp cvat_ui
0c50074a51c5 quay.io/nuclio/dashboard:1.4.8-amd64 "sh -c ./runner.sh" 9 hours ago Up 9 hours 80/tcp, 0.0.0.0:8070->8070/tcp nuclio
nuctl version
nuctl-1.4.14-linux-amd64
The text was updated successfully, but these errors were encountered: