muellerzr / Practical-Deep-Learning-for-Coders-2.0

Notebooks for the "A walk with fastai2" Study Group and Lecture Series

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImageDataBunch error in lesson_1

matthewchung74 opened this issue · comments

getting a different error now on this line

data = ImageDataBunch.from_name_re(path, fnames, pat, batch_tfms=batch_tfms, 
                                   item_tfms=item_tfms, bs=bs)
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-7-9b8c3bc4b9b1> in <module>()
----> 1 data = ImageDataBunch.from_name_re(path, fnames, pat, batch_tfms=batch_tfms, 
      2                                    item_tfms=item_tfms, bs=bs)

NameError: name 'ImageDataBunch' is not defined

suggestions?

@foobar8675 I was hoping to get to this sooner but may be a bit. ImageDataBunch is now ImageDataLoaders. I’d recommend keeping an eye on the forum for these major API changes. I’ll fix this in the notebooks at some point today.