⚠️ There was a bug in our provided algorithm template: https://github.com/CoWBenchmark/TopCoW_Algo_Submission/blob/68e0c6e1569f33f809d3f275e9e14337c8d7a82e/task-1-seg/inference.py#L86, in which we unnecessarily converted the input image array to np.uint8:

Bug of astype(np.uint8) before fix:

    # reorder from (z,y,x) to (x,y,z)
    img_array = img_array.transpose((2, 1, 0)).astype(np.uint8)

Now after fix https://github.com/CoWBenchmark/TopCoW_Algo_Submission/commit/b1ab3207442716c3aaf4d1457ec0cd29b97b757a:

img_array = img_array.transpose((2, 1, 0))

The latest commit of the TopCoW_Algo_Submission repo fixed the bug.

⚠️ Please git pull the latest repo from today if you are using our algorithm submissions template repo (https://github.com/CoWBenchmark/TopCoW_Algo_Submission) or remove the unnecessary .astype(np.uint8) in inference.py in your local repo.

🙏 Please email me kaiyuan.yang@uzh.ch if your final-test submissions were affected by our bug. We will replace your final-test submissions if you were affected by our inference.py.

We apologize for the troubles caused.