Created
July 4, 2018 11:25
-
-
Save oem/9ea3aa3d8e1f929442ed5ffcd18379fc to your computer and use it in GitHub Desktop.
sanity checking our trained beer classifier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turicreate as tc | |
import os | |
current_dir = os.path.dirname(__file__) | |
model = tc.load_model(os.path.join( | |
current_dir, 'model/v1.model')) | |
images = tc.load_images(os.path.join(current_dir, 'data/test')) | |
images['predictions'] = model.predict(images) | |
images.print_rows(num_rows=10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment