tindetheus icon indicating copy to clipboard operation
tindetheus copied to clipboard

Any directions on how to port to Mac M1 arch arm64

Open alokc83 opened this issue 4 years ago • 1 comments

Hi there, it seem the docker image is only for x86_64. Any instruction or pointers how can I port it to arm64.

Thank you do much.

Best, Alok C

alokc83 avatar Sep 02 '21 07:09 alokc83

I haven't looked into this, but I suspect that building tensorflow<2.0.0 on M1 is going to be difficult. Tensorflow is the big dependency. The pretrained models themselves should work on different architectures.

Since docker is working on M1 now, I would look into going that route. Or perhaps some other virtualization of x86/x64 since these would leverage the tensorflow build system of that time.

There are now other more modern versions of facenet out there. The api's are substantially different, so it might take a couple days work to port this code to a newer version of facenet.

cjekel avatar Sep 03 '21 17:09 cjekel