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

Update to tensorflow 1.0.0 #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update to tensorflow 1.0.0 #45

wants to merge 2 commits into from

Conversation

nshmyrev
Copy link

Fixes issue #40, issue #41, issue #36

@vimalk78
Copy link

vimalk78 commented Jun 30, 2017

can this be merged?

udc_predict.py Outdated
print("Context: {}".format(INPUT_CONTEXT))
for r in POTENTIAL_RESPONSES:
prob = estimator.predict(input_fn=lambda: get_features(INPUT_CONTEXT, r))
print("{}: {:g}".format(r, prob[0,0]))
print("{}: {}".format(r, prob.next()[0]))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

print("{}: {}".format(r, prob.next()[0]))
should be changed to
print("{}: {}".format(r, prob.__next__()[0]))

python version 3.6.1
tensorflow version 1.2.0

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

Successfully merging this pull request may close these issues.

2 participants