removed model.keras
This commit is contained in:
parent
101990d7b9
commit
0d8d48b1aa
BIN
model.keras
BIN
model.keras
Binary file not shown.
3
test.py
3
test.py
|
|
@ -1,6 +1,7 @@
|
||||||
import io
|
import io
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import tensorflow as tf
|
import tensorflow as tf
|
||||||
|
import os
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -29,5 +30,7 @@ malignant_image = preprocess_image_bytes(malignant_image_bytes)
|
||||||
benign_prediction = model.predict(benign_image)
|
benign_prediction = model.predict(benign_image)
|
||||||
malignant_prediction = model.predict(malignant_image)
|
malignant_prediction = model.predict(malignant_image)
|
||||||
|
|
||||||
|
os.remove("model.keras")
|
||||||
|
|
||||||
print(f"Benign Prediction: {benign_prediction}")
|
print(f"Benign Prediction: {benign_prediction}")
|
||||||
print(f"Malignant Prediction: {malignant_prediction}")
|
print(f"Malignant Prediction: {malignant_prediction}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue