kyab / MySpleeter

47 stars 24 forks source link

Doesn't work on M1 Mac #8

Open SlouchyErmine62 opened 2 years ago

SlouchyErmine62 commented 2 years ago

The GUI boots on an M1 Mac but gets an illegal Instruction 4 error when it splits the song. I've attached the crash log below. Looking around the internet it looks it's an error with TensorFlow. MySpleeter Crash Log.txt

kyab commented 1 year ago

Now I got M1 mac so I'm going to fix this.

NikoTumi commented 1 year ago

Now I got M1 mac so I'm going to fix this.

Thank you!

kyab commented 11 months ago

Hi readers

I have found that it is going to be difficult to complete the M1 mac support immediately on my own.

However, I was able to find a good alternative for music source separation, which I present here.

Ultimate Vocal Remover https://github.com/Anjok07/ultimatevocalremovergui

A functioning GUI app for M1 and Intel Macs has been released; it is not Spleeter, but it can use Demucs, a music source separation library developed by facebook. I have confirmed that this works. You can start using it today.

Demucs-GUI https://github.com/CarlGao4/Demucs-Gui

This is another GUI application that uses Demucs. Right now there is no package released for M1 Mac yet, but I am thinking about helping with that. This one can do batch process of multiple files.

I have not taken the time to properly compare the two, and I would say that the quality of the modern sound source separation, whether it is spleeter or demucs, is great enough for both.

kyab commented 10 months ago

Here Rosetta binary for Demucs-GUI is published. It can run on M1/M2/M3 mac and utilize GPU. It is still pre-release but final release seems to be published soon.

https://github.com/CarlGao4/Demucs-Gui/releases

asaah18 commented 5 months ago

I hope that you will support Mac M1 soon. Because even though there are other GUI tools that uses demucs and both demucs and spleeter are good, there're times where one is better than the other.

kyab commented 5 months ago

@asaah18

there're times where one is better than the other.

Have you ever experienced much that spleeter gives better separation results than demucs?

I have not done a comprehensive comparison myself, but I have the impression that when I was trying spleeter I was getting very good separation results, and while demucs is also very nice, there were times when I felt uncomfortable with demucs' separation results. But I wonder if that is simply a cognitive bias due to my initial favorable impression of spleeter....

asaah18 commented 5 months ago

context: I use stem separator models(spleeter and demucs so far) to remove music from videos so that I can watch them. So, I can't talk about how good they are at separating different Musical Instruments.

I have been using demucs for processing anime, cartoon and movie videos and the results are fantastic except one or two cases.

For instance, there's a case -which is Despicable Me (2010)- where spleeter produced a more desirable result than demucs by removing a noisy music while keeping the low volume vocal, whereas demucs removed the music alongside the low volume vocal. Another case is where neither spleeter nor demucs managed to separate a certain type of music

kyab commented 5 months ago

@asaah18 Okay, thanks for the very helpful information.