Zaktualizuj 'uczenie_kacper.py'

This commit is contained in:
Kacper Borkowski 2020-05-11 16:49:50 +00:00
parent 15b1a0bd3c
commit 56645627c8

View File

@ -82,7 +82,6 @@ def trainModel():
def przewidz(path): def przewidz(path):
model = stworzModel() model = stworzModel()
model.summary()
model.load_weights('wytrenowany.h5') model.load_weights('wytrenowany.h5')
img = load_img(path, target_size=(299, 299)) img = load_img(path, target_size=(299, 299))
img_array = img_to_array(img) img_array = img_to_array(img)