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

an error occurred #23

Open
lzqcode opened this issue Nov 2, 2017 · 1 comment
Open

an error occurred #23

lzqcode opened this issue Nov 2, 2017 · 1 comment

Comments

@lzqcode
Copy link

lzqcode commented Nov 2, 2017

Hello,when I run gan_cifar10.py, an error occurred:
Traceback (most recent call last):
File "gan_cifar10.py", line 187, in
_data = gen.next()
File "gan_cifar10.py", line 170, in inf_train_gen
for images, target in train_gen():
ValueError: too many values to unpack, I don't know how this mistake happened

@js-fan
Copy link

js-fan commented Nov 22, 2017

Just change this line (170) into:
for images in train_gen():

Also, line 258,
for images, _ in dev_gen():
should be changed into:
for images in dev_gen():

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

2 participants