-
Notifications
You must be signed in to change notification settings - Fork 666
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
cudnn_gru ValueError when forward_split= True #27
Comments
this issue occur for the reason that in the class Model init multi-times without variable scope control. |
@EduardBermejoScrm Hello, got the same error here, have you fixed it? I use tf 1.11.0, Is there a connection? |
It sets scope.reuse_variables() out of class Model ,which is between the 1st and 2nd init in function train, could you please explain why it doesn't work? |
it is my mistake i answer the question. |
Hey, yes, I fixed it. I wrote a stackoverflow general question about this issue: |
For more details go on this link: Arturus#27
First of all thank you for upgrading your code and having fixed all issues recently!
When I run train with --no_forward_split everything works ok, however when running train() to eval with forward_split=True I get a
ValueError: Variable cudnn_gru_1/opaque_kernel does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?
Any idea on how to fix this or what is causing this issue?
Could it be related to the fact that now we are instantiating two models?
train_model
andforward_eval_model
?Thank you
The text was updated successfully, but these errors were encountered: