NeuromatchAcademy/course-content-dl

W2D3_Tutorial2: load IMDB dataset error

woodwm opened this issue · 1 comments

see also: https://deeplearning.neuromatch.io/tutorials/W2D3_ModernRecurrentNeuralNetworks/student/W2D3_Tutorial2.html#section-1-1-load-and-view-of-the-dataset

IndexError: list index out of range

!pip install torchtext==0.4.0 --quiet is a quite old version. Many functions are moved to torchtext.legacy.

Thank you @woodwm . I have updated the code respectively.