-
Notifications
You must be signed in to change notification settings - Fork 41
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
Write notebooks that can be used for training #181
Comments
Why a notebook ? Because it's convenient to run ? |
Yes, many services offer running notebooks. |
I like the idea of writing a notebook which imports these scripts and make them to run easily on notebook servers because I think it is convenient to write a script and able to test it directly through terminal. |
Simply converting them into cells, that example looks good in terms of structure. |
I have one suggestion since our primary purpose is to have a notebook file for train.py and pretrain.py. We can generate them through Travis process as part of a push to separate branch. For eg, Commit -> Pushed to Master -> Travis Completes -> Post Travis Process Starts -> Create & Commit iPynb file and push it to separate branch say 'notebook' like 'gh-pages' concept For the generation process, we can use of certain type of comments to separate code into cells of the notebook. The header would be same which will load files from git after that files will be copied from train.py. We can have indicators to ignore the set of lines if required. |
Interesting idea! We just need to make Travis be able to push to the repo, maybe we can create a fake GitHub account and use a secret env variable on Travis to store its password. |
Either rewrite train.py and pretrain.py as notebooks, or create notebooks that import those scripts and run them.
The text was updated successfully, but these errors were encountered: