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

ValueError: Variable d_h0_conv/w/Adam/ does not exist #12

Open
chihyaoma opened this issue Dec 21, 2016 · 17 comments
Open

ValueError: Variable d_h0_conv/w/Adam/ does not exist #12

chihyaoma opened this issue Dec 21, 2016 · 17 comments

Comments

@chihyaoma
Copy link

When running on ImageNet, I got this error.

ValueError: Variable d_h0_conv/w/Adam/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope?

After searching online for a while, I found that this issue is introduced by using TensorFlow 0.12.

While using tf.variable_scope() solve the issue on DCGAN, I found it difficult to apply the same techniques on improved-gan.

If anyone faced the same issue, can you please share with me how you solve it?

@zhangqianhui
Copy link

I also got this error by running DCGAN.I think it is caused by tensorflow 0.12.
So , I wrote the DCGAN code by myself , it don't has this problem.

https://github.com/zhangqianhui/Conditional-Gans

hoping it can help you.

@chihyaoma
Copy link
Author

@zhangqianhui I followed the commit from your repository, but unfortunately, it didn't solve this problem for improved-gan. I believe it's because the logic and code structure in improved-gan is still different from DCGAN.

I will try again sometime soon and get back to you if I solve it.

@zhangqianhui
Copy link

@chihyaoma It's not caused by this commit. But in tensorflow 0.11 , the project is ok

@zhangqianhui
Copy link

@chihyaoma Have you solved it?

@chihyaoma
Copy link
Author

@zhangqianhui I haven't had the time to work on it. I will make sure to update this post if I have the time to fix the problem. Thanks for asking.

@zhangqianhui
Copy link

zhangqianhui commented Dec 30, 2016

@hans @jonasschneider @welinder @yaroslavvb @goodfeli
have you test the project in tensorflow 0.12?
thanks for your answer

@goodfeli
Copy link
Contributor

I haven't tested in in 0.12.

@zhangqianhui
Copy link

@goodfeli the error "d_h0_conv/w/Adam/" confused me.
And DCGAN also have this problem , but it have updated ans solved it.
Hope you test it and update.Thanks.

@goodfeli
Copy link
Contributor

goodfeli commented Dec 31, 2016 via email

@zhangqianhui
Copy link

@goodfeli ok , If I have solved it , I will make a PR

@zhangqianhui
Copy link

I have solved this problem , and I will test it , and make a PR @goodfeli @chihyaoma

@zhangqianhui
Copy link

@chihyaoma I have updated codes
https://github.com/zhangqianhui/improved-gan
You can test it.Maybe it's have some problems.

@goodfeli
Copy link
Contributor

goodfeli commented Jan 2, 2017 via email

@zhangqianhui
Copy link

@goodfeli ,Just supported tf0.12. the code need more changes , and I will test and updated to support 4 gpu.

@zhangqianhui
Copy link

@goodfeli I update the code again .

https://github.com/zhangqianhui/improved-gan

@brb-chen
Copy link

brb-chen commented Mar 7, 2017

@zhangqianhui
did u got any contact info, such as email ?
how can i contact with u ?

@goodfeli
Copy link
Contributor

I get the github notifications, so you can contact me that way.
I don't work at OpenAI anymore, so maybe we need to have @TimSalimans approve your PR when you're ready to make it. I can still review PRs that relate to the ImageNet code.

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

4 participants