auspicious3000 / SpeechSplit

Unsupervised Speech Decomposition Via Triple Information Bottleneck
http://arxiv.org/abs/2004.11284
MIT License
644 stars 92 forks source link

'pad_seq_to_2' from utils is not found #2

Closed sachaker closed 4 years ago

sachaker commented 4 years ago

Hi there,

I am getting the following error:

ImportError: cannot import name 'pad_seq_to_2'

No documentation online seems to support this function in the package 'utils'. I would be really grateful to have some clarity on this issue!

Thanks :)

auspicious3000 commented 4 years ago

There is a function called pad_seq_to_2 in utils. You should be able to import it from utils.

sachaker commented 4 years ago

Thanks for the quick response.

Just to be 100% sure:pip install utils ?

sachaker commented 4 years ago

pad_seq_to_2 isn't a function of the package I have installed

auspicious3000 commented 4 years ago

No need to use pip, utils is not a package. utils is a file in this repo. You can find pad_seq_to_2 in utils simply using your browser.

sachaker commented 4 years ago

Such a silly oversight on my part—sorry about that. I tried to run the notebook in isolation on Google Colab with only /assets.