MIC-DKFZ / BraTS2017

Apache License 2.0
74 stars 16 forks source link

Why to get prediction this way #27

Closed yianzhongguo closed 5 years ago

yianzhongguo commented 5 years ago

@FabianIsensee Hi, sir. I am puzzled for the line231 to line 268 in the utils_validation.py. It looks like these lines of code are used to get the prediction. But why the lines like "data_for_net = data_for_net[:, :, :, ::-1, :]" and "p = p[:, :, :, ::-1, ::-1]" appear. What is the meaning? Thank you very much!

FabianIsensee commented 5 years ago

This is the test time data augmentation via mirroring that I was talking about earlier :-)

yianzhongguo commented 5 years ago

Thank you!