auDeep / auDeep

GNU General Public License v3.0
151 stars 36 forks source link

AuDeep on Apple M1 #44

Open spagliarini opened 3 years ago

spagliarini commented 3 years ago

Hi,

I would like to use audeep, and I am trying to understand if I can make it on my Apple M1 mac. I have installed tensorflow (version 2.6) and, when installing audeep (pip install audeep), I get this error:

ERROR: Could not find a version that satisfies the requirement tensorflow-gpu<2,>=1.15.2 (from audeep) (from versions: none)
ERROR: No matching distribution found for tensorflow-gpu<2,>=1.15.2

I get that I should try to get a different version of tensorflow, but as far as I know, for Apple M1 I can only go as low as 2.4. Would you have any experience or suggestion?

Another option I thought of exploring is to use audeep on google colab. I haven't tried yet, have you? Just to avoid to go towards a dead end.

Thank you for your help, Silvia

Vini1424 commented 3 years ago

I had many version conflict at the installation process too. My final solution: create a new conda environment for that purpose. conda create -n audeepenv python=3.7 conda activate audeepenv python setup.py install

spagliarini commented 3 years ago

Thank you for your reply!! In the meanwhile, I actually found the same (or very similar solution) so now I could install audeep and see the version.

Still, I have some issues. When I try for example

audeep --inspect raw --basedir ESC-10

or any other command, I get the following error:

zsh: illegal hardware instruction audeep --inspect raw --basedir ESC-10

Did you face similar issues? Or was it straightforward after you figured out how to deal with the installation?