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

TypeError: __init__() got an unexpected keyword argument 'shape' #4

Open
ryanguest opened this issue Apr 25, 2017 · 4 comments
Open

Comments

@ryanguest
Copy link

ryanguest commented Apr 25, 2017

When running the example I get:

TypeError: __init__() got an unexpected keyword argument 'shape'

Easily fixed by changing:

dense_shape=[df[k].size, 1])

to

shape=[df[k].size, 1])

@camrongodbout
Copy link
Owner

nice, what version of python and version of TF are you using?

@ryanguest
Copy link
Author

$ python -c "import sys; print(sys.version)"

2.7.6 (default, Oct 26 2016, 20:30:19) 
[GCC 4.8.4]

$ python -c 'import tensorflow as tf; print(tf.__version__)'

1.0.1

@Raycon983
Copy link

WARNING:tensorflow:From wide.py:64: calling init (from tensorflow.contrib.learn.python.learn.estimators.dnn_linear_combined) with fix_global_step_increment_bug=False is deprecated and will be removed after 2017-04-15.

@banshee1
Copy link

But in Python3.6, you should use dense_shape but not shape.

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