I’ve been working on classifying a dataset on kaggle with x-rays that are either normal or show pneumonia. The dataset is read-only and so when trying learn.save(path, 'stage-1')
, I get the error set learn.model_dir attribute in Learner to a full libpath path that is writable
. I’ve tried googling this error with not much luck. I’m hoping someone on the forum here can suggest a solution.
Edit: I found the solution was to use learn.model_dir='/kaggle/working/'
which saves the model in the working directory.
Perhaps this Q&A is better fitted to the Kaggle discussion boards or maybe this can provide help to others on here? Please let me know if this should be removed or not.