Skip to content

Commit

Permalink
remove unneeded prints
Browse files Browse the repository at this point in the history
  • Loading branch information
wasserth committed Oct 4, 2024
1 parent 7470a0f commit b33449b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions totalsegmentator/bin/totalseg_get_modality.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ def get_modality(img: nib.Nifti1Image):
for fold, clf in clfs.items():
preds.append(clf.predict([features])[0])
preds = np.array(preds)
print("Ensemble preds:")
print(preds)
preds = np.mean(preds)
prediction_str = "ct" if preds < 0.5 else "mr"
probability = 1 - preds if preds < 0.5 else preds
Expand Down

0 comments on commit b33449b

Please sign in to comment.