NameError: name 'ImageDataLoaders' is not defined

This sounds like an issue with the fastai installation, there is another thread with the same error. Check if the instructions for upgrade help.