-
Notifications
You must be signed in to change notification settings - Fork 813
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
Error during synchronization between servers: Unexpected end of file from server executing GET http://compreface-core:3000/status #583
Comments
Have noticed this in the docker compose logs:-
doesnt really give any details as to why? have checked and although my CPU is old, it is supposed to support avx |
InsightFace library requires AVX2 instructions... |
hmm thats a shame - had thought the majority of the work would be done by the GPU so it wouldnt matter so much. is there any way to reduce the requirement to avx only? unsupported of course, but would rather try that than give up entirely. the CPU isnt good enough to process the load by itself, so I need something that supports GPU without requiring avx2. |
I have two ideas:
|
first option worked - took a bit of messing around in docker renaming the container and getting it into the correct host network for the URL from within compreface-ui to resolve to compreface-core properly, but its running successfully and reporting available services so far. am running facenet with GPU support - insightface wouldnt run, not sure why but will try again later. thanks for your help! |
hi @kanemari! i am one of the designers for CompreFace. i am currently working on a ux survey - i'd love to chat quickly about your thoughts on where we could potentially improve CompreFace, if you are interested? if you are i can set up a skype or whatsapp chat :) |
hi @kanemari i'm encountering the same issue and was wondering if you could explain how you managed to get Compareface to work? I'm not particularly well versed in Docker, but perhaps if you would be able to share your compose file I might be able to figure it out. thanks :) |
Hi @milkplus27 - I cheated and installed portainer so I could do all the docker management through a UI. But basically, I dont have a compose file. the docker build commands in the compreface doco will create a new docker container for compreface-core (that is named embedding-calculator) that is detached from the other compreface components. I essentially removed the 'standard' existing compreface-core container, renamed the embedding-calculator container to compreface-core, and added that container into the existing compreface network bridge that all the other containers were a member of (which is set up as part of the standard install). there may be an easier way, but this worked for me. I was limited to the standard facenet and couldnt compile insightface because I am missing avx2 support. tried using the noavx version of mxnet, which then complained about other missing dependencies, and I gave up. if you can work that out please share :) |
@kanemari do you want to participate in hacktoberfest? :) |
@pospielov I'll bite. what task would that be? |
Here is the link: |
As info, I use Proxmox to virtualize my Docker instance. Here it is mandatory to set the CPU Type to Host, otherwise I get the same error message. https://forum.proxmox.com/threads/avx2-and-avx-flags-on-vm.87808/ |
From my understanding option 1 worked for @kanemari because he has AVX instructions, just not AVX2. I've been trying option 2 since my CPU doesn't have AVX or AVX2. I haven't have much success yet. But will keep trying. Just wanted to add to the discussion. |
Also tried to build with the mxnet-noavx, but no luck. I installed the pip dependency, and set the from src.services.facescan.plugins.dependencies import get_mxnet
requirements = get_mxnet() + ('mxnet-noavx==2.0.3',) Was this what I was supposed to do? EDIT: nevermind, I think I understood. Will make some tests here. |
Well, I built the containers with mxnet-noavx:
But I don't even know what facenet is or if I should be using it. I'm using because that's what Anyway, in my HA using the addon, configured to use my image, it didn't work (Intel J4125 Gemini Lake - no AVX or AVX2). But it still fails: In the container logs I see frequently:
For testing purpose, this was how I configured the deps: |
CompreFace could be built based on two face recognition libraries: FaceNet and InsightFace. |
That's interesting. Thanks a lot for the response. I think I lost a bit of the interest in trying to build it myself, but I will keep watching this and the other issue in case someone makes a finding. |
@pospielov is there any chance you can help to build a Dockerfile variant with mxnet-noavx with CompreFace configured with the correct libraries for such? It seems that it would help a lot of people... |
Sorry, we are now focused on adding support for new GPU generation. |
Got it. Thanks for the answer anyway. |
if i put the COMPREFACE on AMAZON (VIRTUAL PC), will i have problems ? |
There shouldn't be problems with ec2 instances. At least with x86_64 CPU |
Describe the bug
Getting this error message when logging in for the first time and trying to add a service to a new application in the UI
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect that a list of services would appear - e.g. face recognition, face detection, etc
Screenshots
![image](https://user-images.githubusercontent.com/2075198/129894686-f5d4d846-f818-47a3-8250-3ccd20664bc4.png)
Desktop (please complete the following information):
Additional context
the compreface-core docker image doesnt seem to be listening on port 3000. docker compose pulls and extracts all containers with no errors.
this is the SubCenter-ArcFace-r100-gpu custom-build
The text was updated successfully, but these errors were encountered: