avatarify-python icon indicating copy to clipboard operation
avatarify-python copied to clipboard

Apple Silicon?

Open aleksandr-shevchenko-0 opened this issue 2 years ago • 3 comments

Is there any way to run avatarify on M1 Chip?

Now I receive this error on start:

[1691005353.409407] Loading Predictor
[1691005353.619822] Receiving from tcp://4.tcp.eu.ngrok.io:12260
2023-08-02 23:42:34.454 python[90195:8022461] Error loading /Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist:  dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist, 0x0106): tried: '/Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
2023-08-02 23:42:34.454 python[90195:8022461] Error loading /Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist:  dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist, 0x0106): tried: '/Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))


=== Control keys ===
1-9: Change avatar
1: einstein.jpg
2: eminem.jpg
3: jobs.jpg
4: mona.jpg
5: obama.jpg
6: potter.jpg
7: ronaldo.png
8: schwarzenegger.png
W: Zoom camera in
S: Zoom camera out
A: Previous avatar in folder
D: Next avatar in folder
Q: Get random avatar
X: Calibrate face pose
I: Show FPS
ESC: Quit

Full key list: https://github.com/alievk/avatarify#controls



[1691005357.398360] stopping camera
[1691005357.441735] stopping remote predictor
[1691005358.246894] recv_worker exit
[1691005358.275132] main: exit

aleksandr-shevchenko-0 avatar Aug 02 '23 19:08 aleksandr-shevchenko-0

Avatarify-python has not been actively developed in a long time afaik. It seems like newer versions of PyTorch might support M1 chip, so it shouldn't be impossible to implement if you want to try updating it.

JohanAR avatar Aug 02 '23 20:08 JohanAR

Avatarify-python has not been actively developed in a long time afaik. It seems like newer versions of PyTorch might support M1 chip, so it shouldn't be impossible to implement if you want to try updating it.

How do I fix for rtx 4070

SanPatrick01 avatar Aug 03 '23 07:08 SanPatrick01

Is there any way to run avatarify on M1 Chip?

Now I receive this error on start:

[1691005353.409407] Loading Predictor
[1691005353.619822] Receiving from tcp://4.tcp.eu.ngrok.io:12260
2023-08-02 23:42:34.454 python[90195:8022461] Error loading /Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist:  dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist, 0x0106): tried: '/Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
2023-08-02 23:42:34.454 python[90195:8022461] Error loading /Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist:  dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist, 0x0106): tried: '/Library/CoreMediaIO/Plug-Ins/DAL/CamTwist.plugin/Contents/MacOS/CamTwist' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))


=== Control keys ===
1-9: Change avatar
1: einstein.jpg
2: eminem.jpg
3: jobs.jpg
4: mona.jpg
5: obama.jpg
6: potter.jpg
7: ronaldo.png
8: schwarzenegger.png
W: Zoom camera in
S: Zoom camera out
A: Previous avatar in folder
D: Next avatar in folder
Q: Get random avatar
X: Calibrate face pose
I: Show FPS
ESC: Quit

Full key list: https://github.com/alievk/avatarify#controls



[1691005357.398360] stopping camera
[1691005357.441735] stopping remote predictor
[1691005358.246894] recv_worker exit
[1691005358.275132] main: exit

Message @Qxchan on Telegram for issue solve on AVATARIFY

Elektrobotcdp avatar Oct 20 '23 23:10 Elektrobotcdp