I want to use the DataBunch.create() method to create a DataBunch with custom PyTorch Datasets, like it is explained here. But the problem is, I can’t import DataBunch. I tried the following import statements:
from fastai import * from fastai.vision.all import *
Thanks for your reply! I found that the solution is to use DataLoaders rather than DataBunch using fastai2, right? So for example I can use the from_dsets method to load my custom PyTorch DataSet in fastai’s DataLoader, like so: