fastaudio / fastai_audio

[DEPRECATED] 🔊️ Audio with fastaiv1
MIT License
160 stars 49 forks source link

'AudioItem' object has no attribute 'reconstruct' when calling `audio_predict` #17

Closed tbass134 closed 5 years ago

tbass134 commented 5 years ago

I'm running the Getting Started notebook and was looking into making predictions, however when calling audio_predict function preds = audio_predict(learn, data_folder.ls()[500]) preds I receive the error: AttributeError: 'AudioItem' object has no attribute 'reconstruct'

The notebook that shows the error is here: https://colab.research.google.com/drive/17PoFqEH90DNfVUiIMuOBQu0HO9bkN0jh

Any info on this would be appreciated

mogwai commented 5 years ago

Should be fixed by #20

tbass134 commented 5 years ago

Thanks, It looks like #22 fixed this issue.