Commit 040c19c5 authored by sjromuel's avatar sjromuel
Browse files

d

parent 1f1795a3
......@@ -18,7 +18,7 @@ from nets.Unet import dice_loss
def main():
mr = False
mr = True
if mr:
file_path = "data/npy_thresh/"
gt_types = ['ctseg', 'ctthresh', 'unetpred']
......@@ -190,10 +190,6 @@ def main():
all3dhdds.append(hdd3d)
except:
pass
dice_Score16.append(np.mean(patient_dsc))
print("Dice Score for patient", patientnumber, np.mean(patient_dsc))
print("All 3d-HDDs for", gt_type, ": ", all3dhdds)
#print("Dice-Score mean: ", np.mean(dice_Score16))
#print("Dice-Score std: ", np.std(dice_Score16))
......@@ -429,4 +425,4 @@ def show_loss_plot(slice, loss_list):
if __name__ == "__main__":
main()
main()
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment