Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 99f4dba

Browse files
ayush-raj8kaustubhgupta
andauthored
Update Malaria/main.py
Co-authored-by: Kaustubh Gupta <kaustubhgupta1828@gmail.com>
1 parent 996fa25 commit 99f4dba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Malaria/main.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
img = np.asarray(img)
1717
img = img.reshape((1, 36, 36, 3))
1818
img = img.astype(np.float64)
19-
model_path = "Models/malaria.h5"
19+
model_path = "./Malaria/Models/malaria.h5"
2020
model = tf.keras.models.load_model(model_path)
2121
pred = np.argmax(model.predict(img)[0])
2222
if pred == 1:
2323
print("Infected Cell")
2424
else:
25-
print("Healthy Cell")
25+
print("Healthy Cell")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /