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

problem with wide_n_deep_tutorial.py on Tensorflow 1.0 #9092

Closed
CBrauer opened this issue Apr 10, 2017 · 1 comment
Closed

problem with wide_n_deep_tutorial.py on Tensorflow 1.0 #9092

CBrauer opened this issue Apr 10, 2017 · 1 comment
Labels
stat:awaiting response Status - Awaiting response from author type:docs-bug Document issues

Comments

@CBrauer
Copy link

CBrauer commented Apr 10, 2017

Using Python 3.6.0 (Anaconda x64), Tensorflow 1.0, macOS Sierra version 10.12.4, I get the following error:

python wide_deep.py
Training data is downloaded to /var/folders/h2/727s56vx40s_6n2z9ldl6kx00000gs/T/tmp76m50o3h
Test data is downloaded to /var/folders/h2/727s56vx40s_6n2z9ldl6kx00000gs/T/tmpwzhof_zb
model directory = /var/folders/h2/727s56vx40s_6n2z9ldl6kx00000gs/T/tmpclbsc2wm
Traceback (most recent call last):
File "wide_deep.py", line 234, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/Users/CBrauer/anaconda/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "wide_deep.py", line 197, in main
FLAGS.train_data, FLAGS.test_data)
File "wide_deep.py", line 185, in train_and_eval
m = build_estimator(model_dir, model_type)
File "wide_deep.py", line 132, in build_estimator
fix_global_step_increment_bug=True)
TypeError: init() got an unexpected keyword argument 'fix_global_step_increment_bug'

Charles

@asimshankar
Copy link
Contributor

Thanks for pointing this out. It seems that the tutorial code on the website is linking to the latest version instead of the version compatible with release 1.0.

Could you try with the tutorial version from the 1.0 branch?
https://github.com/tensorflow/tensorflow/blob/r1.0/tensorflow/examples/learn/wide_n_deep_tutorial.py

I'll try to look into how to make sure that the links in the website point to the appropriate release branch.

@asimshankar asimshankar added stat:awaiting response Status - Awaiting response from author type:docs-bug Document issues labels Apr 10, 2017
@caisq caisq closed this as completed in 846a622 Apr 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response Status - Awaiting response from author type:docs-bug Document issues
Projects
None yet
Development

No branches or pull requests

2 participants