Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue May 3, 2019 · 2 comments

Comments

@hcnhatnam
Copy link

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

@yizt
Copy link
Owner

yizt commented May 4, 2019

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

@Bobo-y
Copy link

Bobo-y commented May 10, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants