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

Model Examples Need Saving and Evaluation Added #17

Open
nfmcclure opened this issue Feb 23, 2017 · 1 comment
Open

Model Examples Need Saving and Evaluation Added #17

nfmcclure opened this issue Feb 23, 2017 · 1 comment
Assignees

Comments

@nfmcclure
Copy link
Owner

Make sure that all significant models save the model space (graph, variables, and definitions) properly and have a script that allows for (1) loading of most recent model, and (2) evaluation of new input.

@nfmcclure nfmcclure added this to the Model Evaluation Added milestone Feb 23, 2017
@nfmcclure nfmcclure self-assigned this Feb 23, 2017
@jimthompson5802
Copy link
Contributor

jimthompson5802 commented May 21, 2017

@nfmcclure just checking to see if you want help with this. I have some examples of model save/restore in the context of transfer learning using the MNIST data set.

In my examples, I partition the MNIST digits into even and odd data sets. I train a CNN model to recognize even digits. The even digit model is saved to disk. The even digit model is restored from disk and trained on the odd digit data set with updating only the layers used for classification.

MNIST/transfer_learning_example_tf_keras performs all the steps described above.

MNIST/transfer_learning_example_tf_keras_restore_only performs only the model restore and retraining of odd digits only.

If you think the above examples are a reasonable approach, then let me know which one of your modules you'd like me to try first as test case.

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

No branches or pull requests

2 participants