Getting error on Kaggle kernel when using cnn_learner function

@moein Thanks you, the issue has been resolved.

The path to learner which was been given by me was ../ouput/kaggle/working but it was picking up the rest of the path from image bunch. Below are my old code:

src = (ImageList.from_csv(‘…/input/humpback-whale-identification/’,
‘train.csv’, folder = ‘train’).split_by_rand_pct(0.2).label_from_df(label_delim=’ '))

learn.model_dir=“…/output/kaggle/working”

So, I just edited the path, and the new code is:

learn.model_dir=“…/kaggle/working”

1 Like