question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AVX is required to run CVAT (should be optional)

See original GitHub issue

My 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:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zhiltsov-maxcommented, Apr 12, 2020

The only occurrence of the error with failing formats requests we met was related to AVX usage in tensorflow 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?

0reactions
NormanTUDcommented, Sep 22, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

opencv-cvat/public - Gitter
Hi, I have an older cvat version running in production (around v0.5, commit 59b7da7f4823dc2dd2fa4d9ef81e94ac937c547e to be precise). I want to upgrade to the ......
Read more >
CHANGELOG.md · openvinotoolkit-prc/cvat - Gitee.com
Tensorflow annotation now works without CUDA. It can use CPU only. OpenVINO and CUDA are supported optionally. Incremental saving of annotations ...
Read more >
Computer Vision Annotation Tool (CVAT) Files - SourceForge
Interactive video and image annotation tool for computer vision. This is an exact mirror of the Computer Vision Annotation Tool (CVAT) project, hosted...
Read more >
CVAT (computer vision annotation tool) export impossible ...
I have built the docker container on a virtual machine. Unfortunately, the machine has no avx support. All other machines, to which I...
Read more >
AI千集-AI智能创作平台-openoker/cvat: CVAT 是一个用于计算机视觉 ...
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found