fastai / course-v3

The 3rd edition of course.fast.ai
https://course.fast.ai/
Apache License 2.0
4.91k stars 3.57k forks source link

RuntimeError: expected device cuda:0 but got device cpu in audio.ipynb #510

Open rraminen opened 4 years ago

rraminen commented 4 years ago

In https://github.com/fastai/course-v3/blob/master/nbs/dl2/audio.ipynb

This error occurs at show_spectro(ll.train[4][0])

If ll is on CPU instead of a CUDA device it works fine. Is it expected to run on CUDA device or is it fine to run it on CPU?