I have the exact same error from the following code in the 01_intro Notebook:
def is_cat(x): return x[0].isupper()
dls = ImageDataLoaders.from_name_func(
path , get_image_files(path ), valid_pct=0.2, seed=42, label_func=is_cat ,
item_tfms=Resize(224)
)
learn = cnn_learner(dls, resnet34, metrics=error_rate)
learn.fine_tune(1)
Everything else works fine, the packages are installed and loaded correctly.
I’m trying to run this on Databricks but the errors outlined above are 100% related to the fast.ai libraries, especially the callback one.
Any thoughts?
Thanks in advance.