Spaces:
Running
Running
Commit
·
755cb6b
1
Parent(s):
80192e4
Update app.py
Browse files
app.py
CHANGED
@@ -135,11 +135,7 @@ if len(file_upload) == 1:
|
|
135 |
'MCEBNfold3.pth', map_location='cpu'))
|
136 |
model.eval()
|
137 |
prediction = model(test_images.unsqueeze(1))
|
138 |
-
st.write("deeev")#re
|
139 |
-
st.write(prediction)#re
|
140 |
pred = prediction.argmax(dim=1).item()
|
141 |
-
st.write("gfhgfhdeev")#rem
|
142 |
-
st.write(pred)#rem
|
143 |
class_names = ["SMCI", "AD", "CN"]
|
144 |
predicted_label = class_names[pred]
|
145 |
|
|
|
135 |
'MCEBNfold3.pth', map_location='cpu'))
|
136 |
model.eval()
|
137 |
prediction = model(test_images.unsqueeze(1))
|
|
|
|
|
138 |
pred = prediction.argmax(dim=1).item()
|
|
|
|
|
139 |
class_names = ["SMCI", "AD", "CN"]
|
140 |
predicted_label = class_names[pred]
|
141 |
|