Skip to content

Conversation

pehpa
Copy link

@pehpa pehpa commented May 3, 2018

Hello,

I just added an example to the cs230 code for simple prediction of a set of images. For this, I added the following files according to the train/training and evaluate/evaluation split:

tensorflow/vision/predict.py
tensorflow/vision/prediction.py 

Additionally, I had to change the input_fn and model_fn functions to work not only for TRAIN and EVAL but also for the PREDICT case.

I think this change is quite helpful since I myself have searched a lot for examples on how to do the prediction with a saved TensorFlow model.

Best regards,
Alex

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.

1 participant