keras-ctpn icon indicating copy to clipboard operation
keras-ctpn copied to clipboard

I load pretrained model and met error: ValueError: Layer #142 (named "gru_forward"), weight <tf.Variable 'gru_forward_2/kernel:0' shape=(512, 192) dtype=float32_ref> has shape (512, 192), but the saved weight has shape (1024, 192).

Open hcnhatnam opened this issue 5 years ago • 2 comments

What model you trained?Do you training in image with 720*720?

hcnhatnam avatar May 03 '19 14:05 hcnhatnam

@hcnhatnam 训练输入图像resize到了720*720

yizt avatar May 04 '19 01:05 yizt

hello, i got the same error when i just use the pretrained model to predict, and i resized the test image shape to (1024,1024), thanks

Bobo-y avatar May 10 '19 09:05 Bobo-y