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

add --model_dir option to scripts #14

Merged
merged 1 commit into from Feb 23, 2017
Merged

Conversation

dribnet
Copy link
Contributor

@dribnet dribnet commented Feb 23, 2017

This adds an option --model_dir to train.py and sample.py allowing the model directory to be set explicitly. I find this useful so I can keep multiple models around with different hyperparameters, etc. Backwards compatible - if option is not given defaults to save/ as before. When training, the model_dir will be created if it does not already exist.

This has been tested and is working for me with tensorflow 0.12.1.

@hardmaru hardmaru merged commit 140c69b into hardmaru:master Feb 23, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants