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

./train.py error #120

Open
n0di opened this issue Aug 16, 2019 · 0 comments
Open

./train.py error #120

n0di opened this issue Aug 16, 2019 · 0 comments

Comments

@n0di
Copy link

n0di commented Aug 16, 2019

hello everyone
I did not start long ago learning python and machine learning. I ask you not to judge strictly.
while training ./train.py I encountered this error

...
2019-08-16 17:12:41.510175: W tensorflow/core/framework/allocator.cc:107] Allocation of 268435456 exceeds 10% of system memory.
2019-08-16 17:12:42.468182: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
Traceback (most recent call last):
File "./train.py", line 266, in
initial_weights=initial_weights)
File "./train.py", line 239, in train
do_batch()
File "./train.py", line 222, in do_batch
feed_dict={x: batch_xs, y_: batch_ys})
File "/usr/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 950, in run
run_metadata_ptr)
File "/usr/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1149, in _run
str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (50, 289) for Tensor u'Placeholder_1:0', which has shape '(?, 253)'
...

Unfortunately, searches on the Internet did not help me. I ask you to explain the mistakes and the reason

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