AVX is required to run CVAT (should be optional)
See original GitHub issueMy actions before raising this issue
- Read/searched the docs
- Searched past issues
Right after logging in a error message pops up saying: Could not get formats from the server. The network console shows that the api request https://mydomain.net/api/v1/server/dataset/formats fails with status code 500.
Dumping annotations only works in CVAT XML 1.1, LabelMe Zip 3.0 and MOT CSV 1.0 format. I guess this is due to the error mentioned above. For instance, trying to dump annotations in COCO Json 1.0 format showed the message: Can not dump annotations for the task. Code: 500. Message: “Work-horse process was terminated unexpectedly (waitpid returned 132)”
Expected Behaviour
No error message being displayed. Dumping annotations works.
Current Behaviour
The opposite of the expected behaviour.
Possible Solution
I thought the lines:
2020-04-10 17:52:43,603 DEBG 'runserver' stderr output:
[Fri Apr 10 17:52:43.602004 2020] [wsgi:error] [pid 159:tid 140124450965248] [client 172.31.0.6:47762] Truncated or oversized response headers received from daemon process 'localhost:8080': /tmp/mod_wsgi-localhost:8080:1000/htdocs/api, referer: https://mydomain.net/auth/login
in the logs were connected to the problem and found something about wsgi and numpy-like libraries not being able to handle requests from multiple threads. Since I am unfamiliar with wsgi, django and the whole project I just tried my best and added WSGIApplicationGroup %{GLOBAL}
in the mod_wsgi.conf
file and rebuilt and restarted the images which didn’t help of course.
Steps to Reproduce and Context
Unfortunately I don’t know how you could reproduce. I just installed everything as suggested in the installation guide and started up the containers. I did the same on my windows machine where everything works fine so far. The only difference is that my installation on my Ubuntu server is being served from a nginx reverse proxy with a simple single proxy_pass
statement.
Your Environment
- commit 39eb9c535bbc5f61d0ce2f8c8fa26509fa98a34d (HEAD -> master, origin/master, origin/HEAD)
- Docker 19.03.8
- Ubuntu Server 18.04 LTS
Logs
cvat-log-after-error-message.txt cvat_db-log-after-error-message.txt
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
The only occurrence of the error with failing
formats
requests we met was related to AVX usage intensorflow
initialization. Try to check if complete removal of this package helps.We’ve also experienced similar problem with dumping when the server has been running out of memory. Can it be the problem in your case?
For me, it didn’t ever work and I must sadly say that I abandoned CVAT because of that. It looked very nice and I’m sure works great when it works, but installing it never did for me. For anyone like me who’s just interested in a free and quick solution I created a very simple PHP page that allows many people to annotate datasets via mouse with groups of people and then get the results. It’s alpha still!, but for me it works better than something great that I cannot access for some technical reason.
https://github.com/NormanTUD/SimpleImageAnnotationTool
Maybe this helps someone someday.