resemble-ai / Resemblyzer

A python package to analyze and compare voices with deep learning
Apache License 2.0
2.66k stars 419 forks source link

Mac M1 - Demo utils workaround #59

Open Ryojikn opened 3 years ago

Ryojikn commented 3 years ago

Using current repository with Mac M1 is currently a pain in the ass.

However, I've managed to do so while Mac M1 is at start and torch is not finest solution so far.

To install torch on Mac m1: https://naturale0.github.io/machine%20learning/setting-up-m1-mac-for-both-tensorflow-and-pytorch

To fix port audio issue on Mac m1 when running demo_utils.py

brew(x86) uninstall portaudio brew(x86) install portaudio --HEAD

And also, please remember to remove umap, it's there without any reason.