-
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
AVX is required to run CVAT (should be optional) #1393
Comments
Hi, could you please check that your cpu supports AVX instructions: search for "avx" in |
Well, it does not. If that is actually the problem than would it be nice if there was a requirements section in the installation guide of some kind. Tensorflow is the only package I know requiring AVX since 1.6, so I changed |
The only occurrence of the error with failing 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? |
Thank you very much. I removed I removed keras as well because I thought it might install tensorflow automatically and since I didn't see any other backends for it I thought it's not needed anyways. But I don't actually know if I had to remove keras, too. I'm going to close this issue since my problem and the cause of it have been solved. I'd still suggest adding a hint somewhere that AVX must be supported by the CPU. |
It seems that a lot of users have the problem. Need to workaround it somehow or have a clear message to avoid the confusion. |
@zhiltsov-max , is it visible to disable tfrecord format if AVX isn't supported? |
From what I see, the main dependency that requires AVX is TF==2.8.0. There are non-AVX-compiles availabe, e.g. may
in the Dockerfile to install it and re-build the container ( |
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. https://github.com/NormanTUD/SimpleImageAnnotationTool Maybe this helps someone someday. |
My actions before raising this issue
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:
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 themod_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
Logs
cvat-log-after-error-message.txt
cvat_db-log-after-error-message.txt
The text was updated successfully, but these errors were encountered: