The path is the same path which I used for the first DataBunch which was from_folder. It works without issues there. The classes, transforms, size and normalization is the same as the original data.
Not sure what I’m doing wrong here.
This is the error:
/home/ubuntu/anaconda3/lib/python3.6/site-packages/fastai/data_block.py:388: UserWarning: Your training set is empty. Is this is by design, pass ignore_empty=True to remove this warning.
warn(“Your training set is empty. Is this is by design, pass ignore_empty=True to remove this warning.”)
/home/ubuntu/anaconda3/lib/python3.6/site-packages/fastai/data_block.py:391: UserWarning: Your validation set is empty. Is this is by design, use no_split()
or pass ignore_empty=True when labelling to remove this warning.
or pass ignore_empty=True when labelling to remove this warning.""")
However the new method you mentioned learn.export doesn’t work on my paperspace machine. I checked by doing git pull and everything seems to be updated.
It gives me this error:
AttributeError Traceback (most recent call last)
in
----> 1 learner.export()
AttributeError: ‘Learner’ object has no attribute ‘export’