cvat: Automatic annotation 500 ServerError
My actions before raising this issue
Expected Behaviour
Automatic annotation for the task
Current Behaviour
Failed.requests.exceptions.HTTPError: 500 Server Error: Internal server error for url: http://nuclio:8070/api/function_invocations for all openvino and tensorflow example models from deploy.sh (for example YOLO v3) when click to the automatic annotation button.
Possible Solution
Fix import models to the nuclio
Steps to Reproduce (for bugs)
- Installed Ubuntu 18.04 on Amazon (also I tried on Ubuntu 20.04 on new virtual machine);
- Installed CVAT by this instructions;
cd ~/cvat./deploy.sh
Context
Can’t use automatic annotation but I installed cvat and nuctl according to the instructions.
Your Environment
-
Git hash commit: 8f323cfd5c579473e24818e004708dfbdfed829b
-
Docker version
docker version: Docker 19.03.12 -
Are you using Docker Swarm or Kubernetes? Docker Swarm
-
Operating System and version: Ubuntu 18.04 on Amazon and Ubuntu 20.04 on ParallersDesktop
-
Output command
./nuctl get function:Screenshot: https://prnt.sc/uih1qq
-
Output command
docker logs cvat: Docker logs.txt -
Output of command
docker ps:Screenshot: https://prnt.sc/uih5x6
Next steps
Waiting for any help.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 56 (9 by maintainers)
here is my solution, see if it helps for you. Updating the function.yaml like below
Wrap solution up:
sudo ufw allow proto tcp from any to 172.17.0.1as @KiirkH mentioned above. Yes, a security issue could rise from this.These steps worked for me.
Thanks!
Faced same issue recently. After digging around investigated that
processorsare deployed not to thecvat_cvatnetwork (where main ‘staff’ is located) and UFW ‘kindly’ blocked all requests fromnucliocontainer to them. My dirty hotfix with room for security improvement is below:This is still an issue. Is there any way to use an older release in which automatic annotation is working?
Any solution for this yet?
@EldarKurbanov , I will look at the issue today. Sorry for the delay with my reply.
Another thing you can do is to change the function.yaml files to explicitely use the correct network. In this case
cvat_cvat:Change the following code:
to
After this i could invoke the function correctly from the dashboard. But from a cvat task I still got the same 500 error as before. That because using the nuclio like cvat does somehow still leads to the post request being send to 172.17.0.1.
I am not sure why. I will further debug this and add logs to this thread.
I’m experiencing the same problem. I’ve deployed some functions using
nuctlas described in the docs.nuctl get functionreports function status as ready:When I try auto annotating a task via CVAT dashboard, This error appears:
I get this log in
nucliocontainer:cvat container logs:
Also there is no log for
nuclio-nuclio-tf.faster_rcnn_inception_v2_cococontainer during the process.All three functions fail to be invoked and I get same error message.
My CVAT env details: