Skip to content

Commit 22c517c

Browse files
authored
Merge pull request #129 from ChEB-AI/evaluation_issuee
fix for evaluation issue
2 parents 1c629ff + ff07279 commit 22c517c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chebai/result/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def evaluate_model(
157157
test_labels = _concat_tuple(labels_list)
158158
return test_preds, test_labels
159159
return test_preds, None
160-
elif len(preds_list) < 0:
160+
elif len(preds_list) > 0:
161161
if len(preds_list) > 0 and preds_list[0] is not None:
162162
torch.save(
163163
_concat_tuple(preds_list),

0 commit comments

Comments
 (0)