New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_cnn requires write access to data dir #1525

robmarkcole opened this Issue Jan 27, 2019 · 2 comments


None yet
2 participants
Copy link

robmarkcole commented Jan 27, 2019

fastai : 1.0.42
On Floydhub, create_cnn results in an exception as it requires write access to the directory where the source data resides, as shown in this thread. As pointed out by @ReDeiPirati best practice is to separate data from code, so my request is that this behaviour be changed.


This comment has been minimized.

Copy link

sgugger commented Jan 28, 2019

You can pass an argument called model_path to your Learner (and in create_cnn in particular) to indicate where you want your models saved. If you pass a Path object pointing to the exact directory you want to use, it will replace the default of learn.path/'models'.
I think that solves your problem.

@sgugger sgugger closed this Jan 28, 2019


This comment has been minimized.

Copy link

robmarkcole commented Jan 28, 2019

Many thanks @sgugger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment