Skip to content
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

Training on Colab, how to pass arguments to the .ipynb on colab #6

Closed
MounirB opened this issue Nov 12, 2018 · 1 comment
Closed

Training on Colab, how to pass arguments to the .ipynb on colab #6

MounirB opened this issue Nov 12, 2018 · 1 comment

Comments

@MounirB
Copy link

MounirB commented Nov 12, 2018

Hello,

Following your advices, I am going to train a model on Colab.
However, I am currently facing a small problem, I don't know how to pass arguments to my .ipynb.
Can you tell me how you did it ?

By the way, do I need to convert all the .py files called by the train script to .ipynb or is it enough to have only the main file with .ipynb extension (train.py, in this case) ?

Thank you for your help !

@MounirB
Copy link
Author

MounirB commented Nov 12, 2018

I added myself the arguments this way after the FLAGS definitions :

FLAGS.pipeline_config_path = './pipeline.config'
FLAGS.train_dir = './train'

Am I right ?

As It is training, I think that my problem is somehow solved. I'll close the issue when I'll get a trained model

@MounirB MounirB closed this as completed Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant