yizt / keras-ctpn

keras复现场景文本检测网络CPTN: 《Detecting Text in Natural Image with Connectionist Text Proposal Network》;欢迎试用,关注,并反馈问题...
Apache License 2.0
107 stars 38 forks source link

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). #12

Open hcnhatnam opened 5 years ago

hcnhatnam commented 5 years ago

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

yizt commented 5 years ago

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

Bobo-y commented 5 years ago

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