Open ChiFang opened 7 years ago
I find the root cause comes from
cv = Lambda(_getCostVolume_, arguments = {'max_d':d/2}, output_shape = (d/2, None, None, num_filters * 2))(unifeatures)
the d/2 will be float and it make getCostVolume crash at
right_tensor = K.spatial_2d_padding(right_tensor, padding=((0, 0), (max_d, 0)))
add max_d = int(max_d)
at the top of getCostVolume will fix it
Issue Description: createGCNetwork throws an TypeError
my clone version(the newest): 684ad7ff4697a641601f583f0f3f6bcae25f7506
my cmd: python3 test.py -data data/test_256 -pspath result (the 'test_256' is the folder where i put my test pictures in 'left' and 'right',such as"./data/test/left/left_0.png"and "./data/test/right/right_0.png")
note:
Error Output:
how can I solve it to finish the predict flow? thanks for any suggestion~~~