from asteroid.models import BaseModel
import soundfile as sf
model = BaseModel.from_pretrained("mpariente/DPRNNTasNet-ks2_WHAM_sepclean")
model.separate("music.mp3",resample=True)
It worked (well worked as in just made 2 distorted versions of the source music without separating anything it seems) but it uses 100% CPU and seems to ignore the GPU.
How do I tell it to use the GPU?
Thanks.
Hello,
Trying the first example to separate an mp3. ie
It worked (well worked as in just made 2 distorted versions of the source music without separating anything it seems) but it uses 100% CPU and seems to ignore the GPU. How do I tell it to use the GPU? Thanks.