Closed YifeiAI closed 7 years ago
For those who can't see the error images (I can only see them through email), here is the error:
ValueError: Filter must not be larger than the input: Filter: (3, 3) Input: (1, 32)
As for the solution, refer to this comment.
EDIT: Sorry I accidentally closed this issue. I reopened it just now. Let me know if that solution worked.
Thank you neil! I added those two lines but it shows new error again when I run:
from FI_unet import get_unet_2 model = get_unet2((6, 128, 384))
I solved this problem by change 124 line in conv10 = Convolution2D(int(input_shape[0]/2), 1, 1, activation='sigmoid')(bn9)
I think this error probably result in the difference between python2.x and python3.x
When only run two lines: from FI_unet import get_unet_2 model = get_unet_2((6, 128, 384))
it shows error of:
when run:
from FI_unet import get_unet_2 model = get_unet()
it shows error of:
Note that I use: Python 3.5 Tensorflow 0.10.0 Keras 1.1.2