We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I am trying to deploy my own detector to CVAT and I would like to understand how "nuclio" specific is this process.
nuclio
I am looking at the example with SAM deployment on CVAT here: https://github.com/cvat-ai/cvat/blob/develop/serverless/pytorch/facebookresearch/sam/nuclio/function.yaml#L28-L54
And I realized that it's using a ubuntu base image and there are no nuclio specific installation in the following steps.
ubuntu
However, when I want to try another base image for my deployment, the build fails with nuclio_sdk module not found error.
nuclio_sdk
25.02.19 16:26:20.680 cessor.healthcheck.server (I) Listening {"listenAddress": ":8082"} 25.02.19 16:26:20.680 processor.http (D) Creating worker pool {"num": 1} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Creating listener socket {"path": "/tmp/nuclio-rpc-cuqvg751a89c73825qgg.sock"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Creating listener socket {"path": "/tmp/nuclio-rpc-cuqvg751a89c73825qh0.sock"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Using Python wrapper script path {"path": "/opt/nuclio/_nuclio_wrapper.py"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Using Python handler {"handler": "main:handler"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Using Python executable {"path": "/usr/bin/python3"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Setting PYTHONPATH {"value": "PYTHONPATH=/opt/nuclio:/opt/nuclio"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Running wrapper {"command": "/usr/bin/python3 -u /opt/nuclio/_nuclio_wrapper.py --handler main:handler --event-socket-path /tmp/nuclio-rpc-cuqvg751a89c73825qgg.sock --control-socket-path /tmp/nuclio-rpc-cuqvg751a89c73825qh0.sock --platform-kind local --namespace nuclio --worker-id 0 --trigger-kind http --trigger-name myHttpTrigger --decode-event-strings"} Traceback (most recent call last): File "/opt/nuclio/_nuclio_wrapper.py", line 26, in <module> import nuclio_sdk ModuleNotFoundError: No module named 'nuclio_sdk'
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered:
@ozangungor12 Hi,
I think this is defined by runtime https://docs.nuclio.io/en/stable/reference/runtimes/python/python-reference.html, but in any case it is better to ask this question in the nuclio repository.
Sorry, something went wrong.
No branches or pull requests
Hello, I am trying to deploy my own detector to CVAT and I would like to understand how "
nuclio
" specific is this process.I am looking at the example with SAM deployment on CVAT here: https://github.com/cvat-ai/cvat/blob/develop/serverless/pytorch/facebookresearch/sam/nuclio/function.yaml#L28-L54
And I realized that it's using a
ubuntu
base image and there are nonuclio
specific installation in the following steps.However, when I want to try another base image for my deployment, the build fails with
nuclio_sdk
module not found error.25.02.19 16:26:20.680 cessor.healthcheck.server (I) Listening {"listenAddress": ":8082"} 25.02.19 16:26:20.680 processor.http (D) Creating worker pool {"num": 1} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Creating listener socket {"path": "/tmp/nuclio-rpc-cuqvg751a89c73825qgg.sock"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Creating listener socket {"path": "/tmp/nuclio-rpc-cuqvg751a89c73825qh0.sock"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Using Python wrapper script path {"path": "/opt/nuclio/_nuclio_wrapper.py"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Using Python handler {"handler": "main:handler"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Using Python executable {"path": "/usr/bin/python3"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Setting PYTHONPATH {"value": "PYTHONPATH=/opt/nuclio:/opt/nuclio"} 25.02.19 16:26:20.680 sor.http.w0.python.logger (D) Running wrapper {"command": "/usr/bin/python3 -u /opt/nuclio/_nuclio_wrapper.py --handler main:handler --event-socket-path /tmp/nuclio-rpc-cuqvg751a89c73825qgg.sock --control-socket-path /tmp/nuclio-rpc-cuqvg751a89c73825qh0.sock --platform-kind local --namespace nuclio --worker-id 0 --trigger-kind http --trigger-name myHttpTrigger --decode-event-strings"} Traceback (most recent call last): File "/opt/nuclio/_nuclio_wrapper.py", line 26, in <module> import nuclio_sdk ModuleNotFoundError: No module named 'nuclio_sdk'
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: