fastaudio / fastai2_audio

[DEPRECATED] Audio Module for fastai v2
Apache License 2.0
65 stars 15 forks source link

Fastprogress import in tutorial notebook is broken #23

Closed johanndiedrick closed 4 years ago

johanndiedrick commented 4 years ago

Right now, the import statement for fastprogress is broken:

from fastprogress import progress_bar as pb

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-10-383e3a70bf7e> in <module>
----> 1 from fastprogress import progress_bar as pb

ImportError: cannot import name 'progress_bar' from 'fastprogress' (/home/aquietlife/anaconda3/envs/fastai2/lib/python3.7/site-packages/fastprogress/__init__.py)

The fix is to update the statement to:

from fastprogress.fastprogress import progress_bar as pb

Easy fix, I'll attach a forked branch that will fix this.

johanndiedrick commented 4 years ago

Related to fix: https://github.com/huggingface/transformers/issues/2399

johanndiedrick commented 4 years ago

PR with fix: https://github.com/rbracco/fastai2_audio/pull/25