taigw / brats17

Brain tumor segmentation for MICCAI 2017 BraTS challenge
BSD 3-Clause "New" or "Revised" License
324 stars 130 forks source link

flip in __get_one_batch function #14

Open apopli opened 6 years ago

apopli commented 6 years ago

@taigw What is the use of flip in __get_one_batch function of data_loader.py?

if(flip):
    sub_data_moda = np.flip(sub_data_moda, -1)

I do see that its default value is set to False. But how would the data be affected by setting it to True?

taigw commented 5 years ago

@apopli You can do this by setting that value as True in the configure file.