JackonYang/captcha-tensorflow

how should i adpat to a different image size?

xja opened this issue · 1 comments

xja commented

there are some errors indicates me that image size doesn't fit

Invalid argument: Input to reshape is a tensor with 832000 values, but the requested shape requires a multiple of 40000

original size generated from captcha was 100100, could you please tell me how to adpat to a new size, for example, my image size is 20050

So the architecture here using 2 max pulling in different layers. So your input dimensions over W and H should be divisible by 4