Skip to content

Commit

Permalink
Update classify.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kylechard authored Oct 11, 2024
1 parent c1bcec1 commit 5d1aed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion part1/classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def load_image(path):
args = parser.parse_args()

print('Loading model from:', args.model_path)
model = tf.saved_model.load(args.model_path)
model = tf.keras.models.load_model(args.model_path)

print('Loading image from:', args.input)
img = load_image(args.input)
Expand Down

0 comments on commit 5d1aed6

Please sign in to comment.