Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -154,7 +154,7 @@ def evaluate(model, dset_loader, criterion, is_print=False):
|
|
154 |
# 'prediction': prediction,
|
155 |
# 'confidence': confidence
|
156 |
# })
|
157 |
-
open("/home/user/app/result/ho.txt", 'a')
|
158 |
f.writelines(prediction+'\n')
|
159 |
|
160 |
if is_print:
|
|
|
154 |
# 'prediction': prediction,
|
155 |
# 'confidence': confidence
|
156 |
# })
|
157 |
+
f = open("/home/user/app/result/ho.txt", 'a')
|
158 |
f.writelines(prediction+'\n')
|
159 |
|
160 |
if is_print:
|