Is there any way to change default model path in Callbacks?

The and Learner.export() methods somehow can change the model saving path by changing the Learner.path and Learner.model_dir.

Does anyone knows how to change the default model saving path in SaveModelCallback and EarlyStoppingCallback? I am using colab and the model saved by callbacks usually located in /models, is there any way to change the default path to gdrive’s folder?


Usually, while creating the model you give it a path and everything is saved to the models path.

learn = synth_learner(n_trn=2, path="deedeldidoo/"), cbs=SaveModelCallback())

should create a folder called “deedeldidoo” and save your stuff in there