Hi, thank you for posting the evaluation code.
In test_evaluate.py line 6-9:
def load_and_evaluate(ground_truth, prediction):
# Load synthetic data
prediction = nib.load(ground_truth).get_fdata()
ground_truth = nib.load(prediction).get_fdata()
Should it be :
ground_truth = nib.load(ground_truth).get_fdata()
prediction = nib.load(prediction).get_fdata()
Cheers
Created by Hang Min HollieMin19 yes, you're right, Thanks! I have fixed that. However, load_and_evaluate there is just for sanity-check only so it shouldn't affect the evaluation.