質問編集履歴
1
個人情報
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
def prediction(img):
|
44
44
|
|
45
|
-
model =
|
45
|
+
model =keras.models.load_model('my_model.h5')
|
46
46
|
|
47
47
|
img= cv2.resize(img, (48, 48))/255.0
|
48
48
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
import cv2
|
76
76
|
|
77
|
-
from tensorflow import keras
|
77
|
+
from tensorflow import keras
|
78
78
|
|
79
79
|
|
80
80
|
|