Data.classes in fastai 2

Did something change to data.classes ?

I ---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-43-ab3e7a89a225> in <module>
----> 1 classes = data.classes()

NameError: name 'data' is not defined

I am getting this error when I try to get the classes

I used dls.vocab it works

1 Like