Skip to content
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

M1 macOS BigSur is supported? #18

Open
alex-khramov opened this issue Mar 5, 2022 · 3 comments
Open

M1 macOS BigSur is supported? #18

alex-khramov opened this issue Mar 5, 2022 · 3 comments

Comments

@alex-khramov
Copy link

After install image

sudo docker pull asjackson/vrn:latest

I run in terminal

MBP-Aleksej:vrn-docker root# docker run --platform linux/amd64 -v $PWD/data:/data:Z asjackson/vrn /runner/run.sh /data/turing.jpg

Then I see it

turing.jpg
turing.jpg.obj
Please wait. Your image is being processed.
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
/runner/run.sh: line 27:    43 Segmentation fault      th main.lua -model 2D-FAN-300W.t7 -input $TMPDIR/$INPUT -detectFaces true -mode generate -output $TMPDIR/$INPUT.txt -device cpu -outputFormat txt
The face detector failed to find your face.

My machine: M1 macOS BigSur

@sammcj
Copy link

sammcj commented Jan 19, 2023

Can confirm I get the same running it on ARM.

@AaronJackson
Copy link
Owner

Does the local file data/turing.jpg exist? the local folder data is being mapped to /data inside the container

I have an M1 mac for work now so I might take a look at this at some point

@AaronJackson
Copy link
Owner

Tried rebuilding the container under M1 mac with --platform linux/amd64 but no luck. I suspect ancient lua torch has some issues with emulated x86. Maybe it's lacking some intel math features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants