M1 macOS BigSur is supported?
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
Can confirm I get the same running it on ARM.
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
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.