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

Compile error train.py windows #110

Open
pendex900x opened this issue Apr 6, 2019 · 0 comments
Open

Compile error train.py windows #110

pendex900x opened this issue Apr 6, 2019 · 0 comments

Comments

@pendex900x
Copy link

pendex900x commented Apr 6, 2019

python train.py

Train start!  2019-04-06 18:41:36
WARNING:tensorflow:From D:\Python36\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From D:\Python36\lib\site-packages\tensorflow\python\ops\math_ops.py:3066: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
2019-04-06 18:41:36.417768: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Traceback (most recent call last):
  File "train.py", line 250, in <module>
    initial_weights=initial_weights)
  File "train.py", line 213, in train
    test_xs, test_ys = unzip(list(read_data("test/*.png"))[:batch_size])
  File "train.py", line 64, in unzip
    xs, ys = zip(*b)
ValueError: not enough values to unpack (expected 2, got 0)

Any solve?

@pendex900x pendex900x changed the title Compile error tran.py windows Compile error train.py windows Apr 6, 2019
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

1 participant