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

issue in training #71

Closed
Exception4U opened this issue Dec 20, 2016 · 2 comments
Closed

issue in training #71

Exception4U opened this issue Dec 20, 2016 · 2 comments

Comments

@Exception4U
Copy link

File "main.py", line 44, in main
dcgan.train(FLAGS)
File "/home/tushar/codes/python_codes/DCGAN-tensorflow/model.py", line 131, in train
init_op = tf.global_variables_initializer()
AttributeError: 'module' object has no attribute 'global_variables_initializer'

@MustafaMustafa
Copy link
Contributor

MustafaMustafa commented Dec 20, 2016

You are using an older version an older version of TF. I added a try/except block to address backward compatibility #72 . @carpedm20 can merge it when he wakes up.

@carpedm20
Copy link
Owner

carpedm20 commented Dec 21, 2016

I think this issue is solved. Thanks @MustafaMustafa

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