iver56 / audiomentations

A Python library for audio data augmentation. Inspired by albumentations. Useful for machine learning.
https://iver56.github.io/audiomentations/
MIT License
1.76k stars 183 forks source link

cannot use audiomentation in colab #266

Closed nurkhanlaiyk closed 1 year ago

nurkhanlaiyk commented 1 year ago

Hi, After installing audiomentations, I get the following error: "ImportError: cannot import name 'AddGaussianSNR' from 'audiomentations' (unknown location)"

Do you know what might be the reason?

atamazian commented 1 year ago

I just checked it in Colab, and I have no such error. I've installed audiomentations with !pip install audiomentations.

iver56 commented 1 year ago

Do you know what might be the reason?

The information you gave is limited, so I can't know for sure. I can only assume that the reason is that you haven't installed audiomentations properly in your colab environment. Try atamazian's suggestion