Closed saeedalahmari3 closed 6 years ago
Hi, This code is developed by @lantiga @dcorti , I am learning as you are.
check #21, function 'mask_Unet()' may can help. you can expand (30, 1, 160, 160) to (30, 2, 160, 160) then reshape and transpose to (30, 25600, 2).
hope this can help you.
I think, I too had seen a similar error, but changing backend to tensorflow got rid of it.
I'm new to deep learning, I have this error, it is clearly the target images needs to be in different shape. However, since I'm doing augmentation using (.flow_from_directory) for both the images and the masks. How can I reshape target (mask) to be as same as activation results? Notice I getting generator after augmentation. Any idea?
permute_1 (Permute) (None, 25600, 2) 0 reshape_1[0][0]
activation_1 (Activation) (None, 25600, 2) 0 permute_1[0][0]
your help is greatly appreciated. Thanks.