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

sample.py Error #20

Open
dajor opened this issue Oct 25, 2017 · 3 comments
Open

sample.py Error #20

dajor opened this issue Oct 25, 2017 · 3 comments

Comments

@dajor
Copy link

dajor commented Oct 25, 2017

python sample.py --checkpoint_dir="data/checkpoints/" --data_dir="data"
File "sample.py", line 88
decoder_mode=False, True)
SyntaxError: non-keyword arg after keyword arg

I am using tensorflow 1.3

@domerin0
Copy link
Owner

domerin0 commented Nov 2, 2017

The sample.py needs to be updated. Which I have been putting off for a while, but am currently working on.

I updated the whole project a while back for TensorFlow 1.2 with the exception of the sampling script.

@ButterscotchV
Copy link

I tried modifying the sample script to at least get it working, but I ran into issues with buckets and bucket_id

Are you planning on updating the script or not anytime soon?

@domerin0
Copy link
Owner

domerin0 commented Nov 6, 2017

I've removed bucketing for now to simplify it.
I've committed a few changes to the dev branch. Ultimately the hold up is setting up beam search. I haven't got it working for beam width > 1 yet (which makes me think it might not be correct for beam width =1 either). I may just use a greedy search decoder in the mean time while I figure it out.

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

3 participants