Zaktualizuj 'uczenie_kacper.py'
This commit is contained in:
parent
15b1a0bd3c
commit
56645627c8
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user